/* ============================================================
   RSMeble – motyw ciemny premium, akcent czerwony
   ============================================================ */

:root {
  --bg:  #5a5a5a;
  --bg-2: #4d4d4d;
  --bg-3: #5b5b5c;
  --beige: #b39572;
  --surface: #2b2b2b;
  --text: #f5f5f5;
  --text-dim: #b3b3b8;
  --muted: #7d7d85;
  --border: #2a2a30;
  --red: #e11d2a;
  --red-hover: #c8121f;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 60px -20px rgba(0,0,0,.7);
  --shadow-red: 0 10px 30px -10px rgba(225,29,42,.5);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --easing: cubic-bezier(.22,.61,.36,1);
}

@font-face {
  font-family: 'Righteous';
  src: url('fonts/Righteous-Regular.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+0052, U+0053;
}
@font-face {
  font-family: 'Sarabun';
  src: url('fonts/Sarabun-Bold.woff2') format('woff2');
  font-weight: 200, 600;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/PlayfairDisplay-VariableFont_wght.woff2') format('woff2');
  font-display: swap;
}

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

html {
  scroll-padding-top: 120px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, .pd-main-img img, .pd-thumb img { max-width: 100%; display: block; width: 100%; height: auto; object-fit: cover; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .01em; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .25em; font-size: .75rem;
  color: var(--red); font-weight: 600; margin-bottom: 12px;
}
.accent { color: var(--red); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  transition: all .3s var(--easing);
  cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--red); color: var(--white); box-shadow: var(--shadow-red); }
.btn-primary:hover { background: var(--red-hover); color: var(--white); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.25); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.06); }


/* ================= HEADER ================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(14,14,16,.7); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.site-header.scrolled { background: rgba(14,14,16,.92); border-bottom-color: var(--border); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6% 2.3%; width: 80%; max-width: none; margin: 0 auto;
  transition: width .3s var(--easing);
}
.site-header.use-hamburger .header-inner {
  width: 95%;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-header .btn-call-header {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.site-header .btn-call-header .phone-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}
@media (max-width: 576px) {
  .header-right {
    gap: 10px;
  }
  .site-header .btn-call-header {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
}
@media (max-width: 375px) {
  .site-header .btn-call-header .btn-call-text {
    display: none;
  }
  .site-header .btn-call-header {
    padding: 0;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    justify-content: center;
  }
}
.logo {
  display: inline-flex; align-items: baseline; gap: 2px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .02em;
}

/* Klasa dla linku będącego kontenerem logo */
.logo {
    display: inline-block;
    text-decoration: none;
    /* Maksymalna szerokość logotypu w pasku menu (dostosuj do potrzeb, np. od 250px do 400px) */
    width: 350px; 
}

.banner {
    display: flex;
    width: 100%;             
    aspect-ratio: 1100 / 300;
    background-color: #0d0d0d;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); 
    border: 1px solid #333;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    
    font-size: 0.95cqi; /* Używamy Container Queries, ale jako fallback dajemy po prostu em/px poniżej */
}

/* Bezpieczny fallback dla starszych przeglądarek - blokujemy skalowanie na bazie sztywnego piksela, 
   ponieważ .logo ma już stałą szerokość (350px) */
.banner {
    font-size: 3.2px; /* Wszystkie 'em' wewnątrz przemnożą się przez tę wartość */
}

.logo-section {
    width: 34.5%;            
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    
    background: linear-gradient(
        135deg, 
        #000000 0%, 
        #cc0000 40%, 
        #ff0000 60%, 
        #000000 100%
    );
    
    clip-path: polygon(0 0, 100% 0, 93% 100%, 0 100%);
    padding-right: 2.2em; 
    box-sizing: border-box;
}

.logo-text {
    font-family: 'Righteous', sans-serif;
    font-size: 21em;         
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    padding-right: 0.16em;
    padding-left: 0.01em;
    padding-top: 0.09em;
    padding-bottom: 0.07em;
    letter-spacing: -0.02em; 
    user-select: none;
    line-height: 1;
    
    background: linear-gradient(
        to bottom, 
        #ffffff 0%, 
        #ffffff 40%, 
        #b5b5b5 80%, 
        #737373 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    filter: drop-shadow(1px 2px 3px rgba(0,0,0,0.4));
}

.info-section {
    flex: 1;
    height: 100%;
    font-size: 1.6em;
    padding-left: 4.5em;    
    padding-right: 2.5em;
    padding-top: 0.5em; 
    padding-bottom: 0.5em;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
    margin-left: -2.7em;     
            
    background: 
        linear-gradient(to bottom, 
            rgba(255, 255, 255, 0) 0%, 
            rgba(255, 255, 255, 0.06) 25%, 
            rgba(255, 255, 255, 0.14) 50%,
            rgba(255, 255, 255, 0.06) 75%, 
            rgba(255, 255, 255, 0) 100%
        ),
        
        linear-gradient(27deg, #151515 5px, transparent 5px) 0 5px,
        linear-gradient(207deg, #151515 5px, transparent 5px) 10px 0,
        linear-gradient(27deg, #222 5px, transparent 5px) 0 10px,
        linear-gradient(207deg, #222 5px, transparent 5px) 10px 5px,
        linear-gradient(90deg, #1b1b1b 10px, transparent 10px),
        linear-gradient(#1c1c1c 25%, #1a1a1a 25%, #1a1a1a 50%, transparent 50%, transparent 75%, #242424 75%, #242424);

    background-size: auto, 20px 20px, 20px 20px, 20px 20px, 20px 20px, 20px 20px, 20px 20px;
}

.subtitle {
    font-family: 'Sarabun', sans-serif;
    color: #ffffff;
    font-size: 5.1em;        
    font-weight: 600;
    margin-bottom: 0;
    letter-spacing: 0.05em;
    word-spacing: 0.08em;
    padding-left: 0.1em;
    height: auto;
}

.name {
    font-family: 'Sarabun', sans-serif;
    color: #ffffff;
    font-size: 5.1em;        
    font-weight: 250;
    margin: 0;
    letter-spacing: 0.02em;
    line-height: 1.2; 
    padding-bottom: 0.4em;
    white-space: nowrap;
    height: auto;
}

.name span {
    font-weight: 600; 
    color: #f0f0f0;
    display:inline-block;
}

.banner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1.36em;           
    height: 100%;
    background: linear-gradient(to bottom, #555, #222, #aaa, #333);
    clip-path: polygon(70% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 3;
    opacity: 0.8;
}

/* RESPONSYWNOŚĆ: Na telefonach możesz zmniejszyć logo, żeby zmieściło się obok hamburgera */
@media (max-width: 768px) {
    .logo {
        width: 240px; /* Całe logo się zmniejszy, ale zachowa idealne proporcje tekstu */
    }
    .banner {
        font-size: 2.2px; /* Proporcjonalne zmniejszenie bazy czcionki dla mniejszego logo */
    }
}
.logo-rs { color: var(--red); }
.logo-meble { color: var(--white); }

.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a {
  font-size: .9rem; font-weight: 500; color: var(--text-dim);
  padding: 6px 0; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--red); transform: scaleX(0);
  transform-origin: left; transition: transform .3s var(--easing);
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav .nav-cta {
  padding: 8px 18px; border: 1px solid var(--red); border-radius: 999px; color: var(--white);
}
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: var(--red); }

.hamburger { display: none; width: 40px; height: 40px; flex-direction: column; gap: 5px; justify-content: center; align-items: center; }
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--white);
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= HERO ================= */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 60px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(14,14,16,.45) 0%, rgba(14,14,16,.58) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 780px; }
.hero-content h1 { margin-bottom: 24px; }
.hero-lead { font-size: 1.15rem; color: var(--text-dim); margin-bottom: 36px; max-width: 560px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ================= SECTIONS ================= */
.section {
  background: var(--beige);
  padding: 20px 0;
}

.section-dark{
    padding: 20px 0; 
  --s: 0.3em; /* control the size*/

  --c:#0000,var(--bg-3) .5deg 119.5deg,#0000 120deg;
  --g1:conic-gradient(from  60deg at 56.25% calc(425%/6),var(--c));
  --g2:conic-gradient(from 180deg at 43.75% calc(425%/6),var(--c));
  --g3:conic-gradient(from -60deg at 50%   calc(175%/12),var(--c));
  background:
    var(--g1),var(--g1) var(--s) calc(1.73*var(--s)),
    var(--g2),var(--g2) var(--s) calc(1.73*var(--s)),
    var(--g3) var(--s) 0,var(--g3) 0 calc(1.73*var(--s)) 
    var(--bg-2);
  background-size: calc(2*var(--s)) calc(3.46*var(--s));
}
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { margin-bottom: 12px; }
.section-sub { color: var(--red-); }

/* ================= KATEGORIE ================= */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  position: relative; aspect-ratio: 5/3; border-radius: var(--radius);
  overflow: hidden; display: block;
  transition: transform .5s var(--easing);
}
.cat-card picture {
  position: absolute; inset: 0;
  display: block;
}
.cat-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  display: block; z-index: 0;
}
.cat-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.85) 100%);
  transition: background .4s;
}
.cat-card:hover { transform: translateY(-6px); }
.cat-card:hover::before { background: linear-gradient(180deg, rgba(225,29,42,.15) 0%, rgba(0,0,0,.9) 100%); }
.cat-card-inner {
  position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2;
  display: flex; justify-content: space-between; align-items: baseline; 
}

.cat-card-button {   
  display: inline-flex; align-items: center; gap: 8px;
  padding: 2px 4px; border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-red);
 }

.cat-card-inner span { white-space: nowrap; align-self: flex-end; }
.cat-card h3 { font-family: var(--font-display); font-size: 1.6rem; color: var(--white); -webkit-text-stroke: 0.2Frem #9c9c9c; paint-order: stroke; }
.cat-card span { color: var(--red); font-weight: 600; font-size: .9rem; }

/* ================= PRODUCT GRID ================= */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px;
}
.product-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: all .3s var(--easing);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px); border-color: var(--red);
  box-shadow: var(--shadow);
}
.product-card .thumb {
  aspect-ratio: 5/3; background: var(--bg-3); position: relative; overflow: hidden;
}
.product-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.product-card .badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--red); color: var(--white); font-size: .7rem;
  padding: 4px 10px; border-radius: 999px; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase;
}
.product-card .body { padding: 20px; }
.product-card h3 { margin-bottom: 6px; }
.product-card p { font-size: .88rem; color: var(--text-dim); }
.product-card .cat { font-size: .95rem; color: var(--red); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }

/* ================= INSTAGRAM GRID ================= */
.insta-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.insta-tile {
  aspect-ratio: 1/1; background-size: cover; background-position: center;
  border-radius: 4px; cursor: pointer; position: relative;
  transition: transform .4s var(--easing), filter .4s;
}
.insta-tile:hover { transform: scale(1.03); filter: brightness(1.15); z-index: 2; }
.insta-tile::after {
  content: "\2921"; position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--white); font-size: 1.5rem; opacity: 0;
  background: rgba(225,29,42,.35); transition: opacity .3s;
}
.insta-tile:hover::after { opacity: 1; }

/* ================= TESTIMONIALS ================= */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonials blockquote {
  padding: 32px; background: var(--surface); border-radius: var(--radius);
  border-left: 3px solid var(--red);
}
.testimonials p { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.5; margin-bottom: 16px; }
.testimonials footer { color: var(--text-dim); font-size: .85rem; }

/* ================= CONTACT ================= */
.contact-wrap {
  min-width: 0;
}
.contact-copy h2 { margin-bottom: 16px; }
.contact-info { list-style: none; margin-top: 24px; }
.contact-info li { padding: 8px 0; color: var(--red); border-bottom: 1px solid var(--border); overflow-wrap: break-word; }
.contact-info strong { color: var(--white); margin-right: 8px; }
.contact-call {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 600;  
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  justify-content: center;
}

.contact-map {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  line-height: 0;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.contact-map iframe {
  width: 100%;
  max-width: 100%;
  height: 320px;
  display: block;
  border: 0;
}

.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  background: var(--surface); padding: 32px; border-radius: var(--radius);
  border: 1px solid var(--border);
}
.contact-form label { display: flex; flex-direction: column; font-size: .8rem; color: var(--text-dim); gap: 6px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); padding: 12px 14px; font-family: inherit; font-size: .95rem;
  transition: border-color .2s, background .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--red); background: var(--bg-3);
}

.contact-box {   display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  transition: all .3s var(--easing);
  cursor: pointer; border: 1px solid transparent;
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
 }

.contact-form textarea { resize: vertical; }
.contact-form button { grid-column: 1 / -1; justify-self: start; }
.form-msg { grid-column: 1 / -1; font-size: .9rem; }
.form-msg.success { color: #4ade80; }
.form-msg.error { color: var(--red); }

/* ================= FOOTER ================= */
.site-footer { background: #08080a; padding: 60px 0 20px; margin-top: 80px; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.footer-inner h4 { margin-bottom: 14px; font-size: .85rem; text-transform: uppercase; letter-spacing: .15em; color: var(--text-dim); }
.footer-inner ul { list-style: none; }
.footer-inner li { padding: 4px 0; }
.footer-inner a { color: var(--text-dim); font-size: .9rem; }
.footer-inner p { color: var(--text-dim); font-size: .9rem; margin-top: 12px; }
.footer-bottom {
  border-top: 1px solid var(--border); margin-top: 40px; padding-top: 20px;
  text-align: center; color: var(--muted); font-size: .8rem;
}

/* ================= LIGHTBOX ================= */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.95); display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; animation: fadeIn .25s var(--easing); }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 4px; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; color: var(--white); font-size: 2.5rem; line-height: 1;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(225,29,42,.4); transform: scale(1.05); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.05); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ================= PRODUCT DETAIL ================= */
.product-detail { padding-top: 160px; padding-bottom: 80px; }
.product-detail-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; }
.pd-main-img { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); background-color: var(--bg-3); overflow: hidden; }
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: rgba(0,0,0,.7); color: var(--white);
  font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.pd-nav:hover { background: rgba(225,29,42,.85); transform: translateY(-50%) scale(1.05); }
.pd-nav-prev { left: 12px; }
.pd-nav-next { right: 12px; }
.pd-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
.pd-thumb { aspect-ratio: 1/1; border-radius: 6px; cursor: pointer; opacity: .6; transition: opacity .2s; border: 2px solid transparent; overflow: hidden; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb.active, .pd-thumb:hover { opacity: 1; border-color: var(--red); }
.pd-info h1 { font-size: 2.5rem; margin-bottom: 12px; }
.pd-cat { color: var(--red); text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; font-weight: 600; margin-bottom: 12px; }
.pd-desc { color: var(--text-dim); margin: 20px 0; }
.pd-specs { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin-top: 24px; }
.pd-specs dt { color: var(--muted); font-size: .85rem; }
.pd-specs dd { color: var(--white); font-size: .9rem; }

.comparison-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.comparison-frame {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--bg-3);
  --split: 50%;
}
.comparison-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.comparison-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.comparison-layer-before {  width: 100%; clip-path: inset(0 calc(100% - var(--split)) 0 0);}
.comparison-layer-before img {   width: 100%;   height: 100%;   display: block; }
.comparison-layer-after img { filter: brightness(1.02); }
.comparison-handle {
  position: absolute; top: 0; bottom: 0; width: 3px; background: var(--white); left: var(--split); transform: translateX(-50%);
  box-shadow: 0 0 0 2px rgba(255,255,255,.25);
}
.comparison-label {
  position: absolute; bottom: 16px; padding: 8px 12px; border-radius: 999px; background: rgba(0,0,0,.7); color: var(--white); font-size: .8rem; font-weight: 600; letter-spacing: .06em;
}
.comparison-label.before { left: 16px; }
.comparison-label.after { right: 16px; }
.comparison-range {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: col-resize;
}

/* ================= FILTERS BAR ================= */
.filters-bar {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  padding: 20px; background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--border); margin-bottom: 40px;
}
.filters-bar input, .filters-bar select {
  background: var(--bg); color: var(--text); border: 1px solid var(--border);
  padding: 10px 14px; border-radius: var(--radius-sm); font: inherit;
}
.filters-bar input { flex: 1 1 240px; }
.filters-bar input:focus, .filters-bar select:focus { outline: none; border-color: var(--red); }

.empty {
  padding: 60px 20px; text-align: center; color: var(--text-dim);
  border: 1px dashed var(--border); border-radius: var(--radius);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1900px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Hamburgermenu styles when header is set to hamburger mode dynamically */
.site-header.use-hamburger .hamburger { display: flex; }
.site-header.use-hamburger .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 20px 20px 60px 20px;
    background: rgba(14,14,16,.98); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%); transition: transform .4s var(--easing), visibility .4s var(--easing);
    z-index: -1;
    visibility: hidden;
    pointer-events: none;
    max-height: calc(100vh - 100%);
    overflow-y: auto;
   -webkit-overflow-scrolling: touch;
}
.site-header.use-hamburger .main-nav.open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}
.site-header.use-hamburger .main-nav a:not(.nav-cta) { padding: 14px 0; border-bottom: 1px solid var(--border); width: 100%; }
.site-header.use-hamburger .main-nav .nav-cta {
  text-align: center;
  margin-top: 16px;
  margin-bottom: 8px;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

@media (max-height: 520px) {
  .site-header.use-hamburger .main-nav {
    padding: 12px 20px 50px 20px;
  }
  .site-header.use-hamburger .main-nav a:not(.nav-cta) {
    padding: 10px 0;
  }
  .site-header.use-hamburger .main-nav .nav-cta {
    margin-top: 12px;
    margin-bottom: 4px;
  }
}

@media (max-width: 1200px) {

  .section { padding: 70px 0; }
  .cat-grid { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form { grid-template-columns: 1fr; padding: 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero { min-height: 90vh; }
  .lb-prev, .lb-next { width: 44px; height: 44px; font-size: 2rem; }
  .lb-close { top: 12px; right: 12px; }
}

/* Fade-in on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: all .8s var(--easing); }
.reveal.in { opacity: 1; transform: none; }


/* ============================================================
   Cookie Consent Banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  z-index: 10000;
  transform: translateY(120%) scale(0.95);
  opacity: 0;
  transition: transform 0.5s var(--easing), opacity 0.5s var(--easing);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-banner-icon {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--beige);
}

.cookie-banner-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}

.cookie-banner-text {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.cookie-banner-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  border: none;
}

.cookie-banner-btn-accept {
  background: var(--red);
  color: var(--white);
}

.cookie-banner-btn-accept:hover {
  background: var(--red-hover);
}

.cookie-banner-btn-reject {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner-btn-reject:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 576px) {
  .cookie-banner {
    bottom: 16px;
    left: 16px;
    right: 16px;
    max-width: none;
    padding: 18px;
    gap: 12px;
  }
  .cookie-banner-buttons {
    flex-direction: column;
    gap: 8px;
  }
}


