/* ============================================================
   LIGHTBOX (product detail overlay)
   ============================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open {
  display: flex;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 22, 16, 0.72);
  backdrop-filter: blur(2px);
}
.lightbox-trigger {
  display: block;
  cursor: zoom-in;
  border-radius: 8px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.lightbox-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(61, 47, 36, 0.18);
}
.lightbox-trigger .mat-gallery,
.lightbox-trigger .product-single-img {
  display: block;
}

.lightbox-panel {
  position: relative;
  width: min(1040px, 94vw);
  max-height: 92vh;
  background: var(--bg, #fdfaf5);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  animation: lbIn .24s ease;
}
@keyframes lbIn {
  from { opacity: 0; transform: scale(.96) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--ink, #3d2f24);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
.lightbox-close:hover {
  background: #fff;
  color: var(--accent, #c3512f);
}

.lightbox-body {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  max-height: 92vh;
  overflow: auto;
}
.lightbox-media {
  padding: 28px;
  background: #f6efe4;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lightbox-media > img {
  width: 100%;
  height: auto;
  max-height: 56vh;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}
.lightbox-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.lightbox-thumbs img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .15s ease;
}
.lightbox-thumbs img.active {
  border-color: var(--accent, #c3512f);
}
.lightbox-info {
  padding: 32px 34px;
  overflow-y: auto;
}
.lightbox-info .lead {
  margin-bottom: 24px;
}
.lightbox-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

@media (max-width: 720px) {
  .lightbox-body {
    grid-template-columns: 1fr;
  }
  .lightbox-media {
    padding: 20px;
  }
  .lightbox-info {
    padding: 24px 20px;
  }
}

/* ============================================================
   CAMPING B2B — Warm minimal stylesheet
   ============================================================ */

:root {
  --bg: #fdfaf5;      /* warm off-white background */
  --surface: #f6efe4; /* warm sand surface */
  --ink: #3d2f24;     /* warm brown-charcoal text */
  --muted: #8a7565;   /* warm gray-brown secondary */
  --border: #e6d9c8;  /* warm beige border */
  --accent: #c3512f;  /* terracotta orange primary */
  --accent-2: #e08a3c; /* warm orange secondary */
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

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

section { padding: 80px 0; }
.section-tight { padding: 48px 0; }

/* ---------- Catalog hero (Camping Products banner) ---------- */
.catalog-hero {
  position: relative;
  padding: 96px 0;
  background-image:
    linear-gradient(180deg, rgba(20, 14, 9, 0.55) 0%, rgba(20, 14, 9, 0.30) 45%, rgba(20, 14, 9, 0.42) 100%),
    url("../img/hero-campsite.jpg");
  background-size: cover;
  background-position: center 48%;
  border-bottom: 1px solid var(--border);
}
.catalog-hero .container {
  position: relative;
  z-index: 1;
}
.catalog-hero .eyebrow {
  color: var(--accent-2);
}
.catalog-hero h1 {
  color: #fff;
  font-size: 44px;
  margin-bottom: 12px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}
.catalog-hero .lead {
  color: #f3ece0;
  max-width: 620px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: #e8ddcc;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: #e8ddcc; }
.topbar a:hover { color: #fff; }
.topbar .lang-switch a { margin-left: 12px; padding: 2px 8px; border: 1px solid #5a4a3a; border-radius: 3px; }
.topbar .lang-switch a.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky; top: 0; z-index: 50;
}
.site-header .container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 26px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.logo span { color: var(--accent); }
.logo-mark { width: 36px; height: 36px; flex-shrink: 0; }
.main-nav { display: flex; gap: 36px; align-items: center; }
.main-nav a { font-size: 17px; font-weight: 500; }
.main-nav a.active { color: var(--accent); }
.main-nav .btn-quote { padding: 11px 22px; background: var(--accent); color: #fff; border-radius: 4px; display: inline-block; font-size: 16px; font-weight: 600; }
.main-nav .btn-quote:hover { background: #a8422a; color: #fff; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #a8422a; color: #fff; }
.btn-outline { border-color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-accent { background: var(--accent-2); color: #fff; }
.btn-accent:hover { background: #b26f30; color: #fff; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 16px;
}
.lead { color: var(--muted); font-size: 18px; max-width: 720px; }

/* ---------- Sections / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}
.card h3 { margin-bottom: 10px; font-size: 18px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- Stats / spec list ---------- */
.spec-list { list-style: none; }
.spec-list li {
  display: flex; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.spec-list li:last-child { border-bottom: none; }
.spec-list dt { color: var(--muted); }
.spec-list dd { font-weight: 600; text-align: right; }

/* ---------- Cert / badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fae9dc;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 3px;
  margin: 4px 4px 4px 0;
}

/* ---------- Table ---------- */
table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td {
  text-align: left; padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.data-table th { background: var(--surface); font-weight: 600; }
.data-table td:last-child, .data-table th:last-child { text-align: right; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 600;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--accent);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 4px; }

.contact-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
}
.contact-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-item .icon { flex-shrink: 0; width: 40px; height: 40px; background: #fae9dc; color: var(--accent); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; }
.contact-item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 15px; color: var(--muted); }
.contact-item a:hover { color: var(--accent); }

/* WhatsApp button */
.wa-link { color: #25D366; font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band .btn { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #e8ddcc; padding: 56px 0 32px; }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 15px; }
.site-footer a { color: #e8ddcc; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-bottom {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid #5a4a3a;
  font-size: 13px; color: #c4b39c;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ---------- Hero ---------- */
.hero { background: var(--surface); border-bottom: 1px solid var(--border); }
.hero .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 44px; margin: 0 0 20px; }
.hero .lead { margin-bottom: 28px; }
.hero .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-img-wrap { position: relative; }
.hero-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: block;
}

/* ---------- Product gallery ---------- */
.mat-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.mat-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}
@media (max-width: 768px) {
  .mat-gallery img { height: 160px; }
}

/* Single product image (lantern, etc.) */
.product-single-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute; top: 80px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 16px 24px 24px; gap: 16px;
  }
  .main-nav.open { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
