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

:root {
  --input-bg:  #5a5a5a;
  --bg: #b6b6b6;
  --bg-2: #4d4d4d;
  --bg-3: #5b5b5c;
  --surface: #2b2b2b;
  --text: #f5f5f5;
  --text-dim: #b8b8b0;
  --muted: #7d7d85;
  --border: #2a2a30;
  --red: #c51420;
  --red-text: #8f1018;
  --red-hover: #c8121f;
  --white: #ffffff;
  --black: #000000;
  --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-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Sarabun';
  src: url('fonts/Sarabun-Bold.woff2') format('woff2');
  font-weight: 700;
  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 4px; }

/* 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: 1.4rem;
  color: var(--red-text); font-weight: 600; margin-bottom: 12px;
}
.eyebrow-dark-bg {
  text-transform: uppercase; letter-spacing: .25em; font-size: 1.4rem;
  color: var(--red); font-weight: 600; margin-bottom: 12px;
}
.accent { color: var(--red); }
.light-bg-text { color:var(--black); }

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

/* Language Selector */
.lang-selector {
  position: relative;
  display: inline-block;
  user-select: none;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.lang-btn:hover,
.lang-btn.open,
.lang-btn[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--red);
  color: var(--white);
}

.lang-btn .flag {
  font-size: 1.05rem;
  line-height: 1;
}

.lang-btn .arrow-icon {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
  stroke: currentColor;
}

.lang-btn.open .arrow-icon,
.lang-btn[aria-expanded="true"] .arrow-icon {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1b1b20;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 145px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  background: transparent;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.lang-option:hover,
.lang-option.active {
  background: var(--red);
  color: var(--white);
}

.lang-option .flag {
  font-size: 1.1rem;
}
.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: 450px) {
  .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;
  }
}
.site-header.use-hamburger .header-inner {
  width: 95%;
}

.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-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    /* Maksymalna szerokość logotypu w pasku menu (dostosuj do potrzeb, np. od 250px do 400px) */
    width: 350px;
}
.logo-location {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    margin-top: 4px;
    text-align: center;
    width: 100%;
}

.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; 
    }
    .logo-location {
        font-size: 0.55rem;
        letter-spacing: 0.14em;
        margin-top: 2px;
    }
    .banner {
        font-size: 2.2px; 
    }
    .hero {
        padding: 60px 0 60px;
    }
    

}

.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: flex;
    width: 40px;
    height: 40px;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: transparent;
    border: none; padding: 0;
 }
 /*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(--white); margin-bottom: 36px; max-width: 560px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ================= SECTIONS ================= */
.section {
  background: var(--bg);
  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-dark-bg { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { margin-bottom: 12px; color:var(--black)}
.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-inner-text {
  background-color: rgba(209, 209, 209, 0.7);
  box-decoration-break: clone;
  padding: 0.1em 0.1em;
  display: inline;
  box-shadow: 1em 0 0 rgba(209, 209, 209, 0.7), -1em 0 0 rgba(209, 209, 209, 0.7);
}
.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.1rem #777777; 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: 4px;
}
.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: 6px; }
.product-card h3 { margin-bottom: 6px;  font-size: 1.5rem; letter-spacing: 0.1rem;}
.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; color:var(--black); }
.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(--black); 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;
   position: relative;
  min-height: 320px;
  background: var(--surface);
}

.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(45, 45, 52, 0.95) 0%, rgba(20, 20, 24, 0.98) 100%);
  z-index: 1;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  padding: 24px;
  text-align: center;
}

.map-placeholder.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.map-placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.map-pin-icon {
  width: 36px;
  height: 36px;
  color: var(--red);
  margin-bottom: 4px;
}

.map-placeholder-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.map-placeholder-sub {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.map-load-btn {
  font-size: 0.82rem;
  padding: 8px 18px;
  margin-top: 4px;
  border-color: rgba(255, 255, 255, 0.2);
}

.map-load-btn:hover {
  border-color: var(--white);
}

.contact-map iframe {
  width: 100%;
  max-width: 100%;
  height: 320px;
  display: block;
  border: 0;
  position: relative;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.contact-map iframe.map-loaded {
  opacity: 1;
}


.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(--input-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:clamp(160px, 180px, 190px) }
.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(--surface); 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(--input-bg); color: var(--text); border: 1px solid var(--border);
  padding: 10px 14px; border-radius: var(--radius-sm); font: inherit; font-size: 1.3rem;
}
.filters-bar input::placeholder{
  font-size: 1.3rem; color: var(--text-dim);
}
.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 .hamburger,
.site-header.use-hamburger .hamburger { display: flex; }
.site-header .main-nav,
.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 .main-nav.open,
.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 .main-nav,
  .site-header.use-hamburger .main-nav {
    padding: 12px 20px 50px 20px;
  }
  .site-header .main-nav a:not(.nav-cta),
  .site-header.use-hamburger .main-nav a:not(.nav-cta) {
    padding: 10px 0;
  }
  .site-header .main-nav .nav-cta,
  .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(--bg);
}

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

/* ============================================================
   Blog Sections & Components
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.blog-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s var(--easing);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-card-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 60%; /* 5:3 ratio */
  overflow: hidden;
  background: #111;
}

.blog-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--easing);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  color: var(--black);
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.blog-card-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bg);
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card-more {
  color: var(--white);
}

/* Single Blog Page styling */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
}

.blog-post-header {
  margin-bottom: 32px;
  text-align: center;
}

.blog-post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-post-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .blog-post-title {
    font-size: 2rem;
  }
}

.blog-post-banner {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-post-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-post-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}

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

.blog-post-gallery-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--black);
  margin-top: 56px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.blog-post-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

@media (max-width: 480px) {
  .blog-post-gallery {
    grid-template-columns: 1fr;
  }
}

.blog-gallery-item {
  position: relative;
  padding-top: 66%; /* 3:2 aspect */
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #111;
}

.blog-gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-gallery-item:hover img {
  transform: scale(1.03);
}

.blog-post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 24px;
  transition: color 0.2s ease;
}

.blog-post-back:hover {
  color: var(--white);
}
/* ============================================================
   Contact Area Notice
   ============================================================ */
.area-notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-top: 24px;
  box-shadow: var(--shadow-sm);
}

.area-notice-icon {
  width: 24px;
  height: 24px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

.area-notice-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

.area-notice-content h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.area-notice-content p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}

.area-notice-content strong {
  color: var(--text);
  word-spacing: 0.2rem;
}

.area-notice-content span{
  padding-left: 0.8rem;
  color: var(--red);
  font-weight: 900;
  font-size: 1.2rem;
}

/* ============================================================
   O Firmie (About Page) Styles
   ============================================================ */
.about-hero {
  padding-bottom: 60px;
  text-align: center;
  padding-top:clamp(160px, 180px, 190px) 
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
  margin-bottom: 64px;
}

@media (max-width: 900px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.about-intro-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 4/3;
}

.about-intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-intro-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}

.about-intro-text p {
  margin-bottom: 20px;
}

.about-quote {
  border-left: 3px solid var(--red);
  padding-left: 20px;
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--black);
  margin: 28px 0;
  line-height: 1.5;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .about-values-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.about-value-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s var(--easing), border-color 0.3s ease;
}

.about-value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.15);
}

.about-value-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 12px;
}

.about-value-card h1 {
  color: var(--black);
}

.about-value-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 12px;
}

.about-value-card p {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   Custom Error Pages Styling (404, 403, 500, error.html)
   ============================================================ */

.error-page-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.error-page-body #sharedHeader {
  width: 100%;
}

.error-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 100px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(225, 29, 42, 0.12) 0%, rgba(43, 43, 43, 0) 65%);
}

.error-bg-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(225, 29, 42, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.error-container {
  position: relative;
  z-index: 1;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.error-badge-glow {
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 15vw, 10rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #ffffff 30%, var(--red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 40px rgba(225, 29, 42, 0.35);
  margin-bottom: 20px;
  animation: pulseBadge 3s ease-in-out infinite alternate;
}

@keyframes pulseBadge {
  0% { transform: scale(1); filter: drop-shadow(0 10px 30px rgba(225, 29, 42, 0.3)); }
  100% { transform: scale(1.03); filter: drop-shadow(0 15px 45px rgba(225, 29, 42, 0.6)); }
}

.error-icon-wrapper {
  margin: 0 auto 24px;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(225, 29, 42, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(225, 29, 42, 0.15);
  animation: floatErrorIcon 4s ease-in-out infinite;
}

.error-icon-wrapper svg {
  width: 54px;
  height: 54px;
  fill: var(--red);
}

@keyframes floatErrorIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.error-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 12px;
}

.error-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
}

.error-desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

/* Error Search Box */
.error-search-box {
  max-width: 520px;
  margin: 0 auto 44px;
  display: flex;
  gap: 10px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.error-search-box:focus-within {
  border-color: var(--red);
  box-shadow: 0 12px 40px rgba(225, 29, 42, 0.25);
}

.error-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-body);
}

.error-search-box input::placeholder {
  color: var(--muted);
}

.error-search-box button {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.error-search-box button:hover {
  background: var(--red-hover);
  transform: scale(1.02);
}

/* Category Shortcuts Grid */
.error-shortcuts-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 20px;
}

.error-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 44px;
}

.error-shortcut-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 20px 14px;
  text-align: center;
  transition: all 0.3s var(--easing);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white);
}

.error-shortcut-card:hover {
  transform: translateY(-5px);
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.04);
  color: var(--red);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.error-shortcut-card .icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(225, 29, 42, 0.1);
  border-radius: 50%;
  color: var(--red);
  transition: background 0.3s ease;
}

.error-shortcut-card:hover .icon {
  background: var(--red);
  color: var(--white);
}

.error-shortcut-card span {
  font-size: 0.88rem;
  font-weight: 600;
}

/* Error Actions */
.error-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .error-shortcuts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .error-search-box {
    flex-direction: column;
    border-radius: var(--radius);
    padding: 12px;
  }
  
  .error-search-box button {
    justify-content: center;
    width: 100%;
  }
  
  .error-actions {
    flex-direction: column;
    width: 100%;
  }

  .error-actions .btn {
    width: 100%;
    justify-content: center;
  }
}


