@charset "UTF-8";

/* ==========================================================================
   Panda Lighting — main stylesheet
   Palette: deep night green / warm lamp gold / festive red
   ========================================================================== */

:root {
  --ink: #0e1a18;
  --ink-2: #14231f;
  --ink-3: #1d322c;
  --gold: #ffb43a;
  --gold-soft: #ffe0a3;
  --red: #e8402a;
  --cream: #fff8ef;
  --grey: #6b7c77;
  --line: rgba(14, 26, 24, .12);
  --line-dark: rgba(255, 255, 255, .14);
  --radius: 14px;
  --shadow: 0 12px 34px rgba(14, 26, 24, .10);
  --shadow-lg: 0 22px 60px rgba(14, 26, 24, .16);
  --wrap: 1220px;
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { line-height: 1.22; margin: 0 0 .55em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2.9vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.15em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 900px; }
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-cream { background: var(--cream); }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-dark .eyebrow { color: var(--gold); }
.section-title { max-width: 720px; }
.center .section-title { margin-left: auto; margin-right: auto; }
.section-sub { color: var(--grey); max-width: 720px; }
.center .section-sub { margin-left: auto; margin-right: auto; }
.section-dark .section-sub { color: rgba(255, 255, 255, .72); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .22s ease;
  line-height: 1.2;
}
.btn-primary { background: var(--gold); color: #24170a; box-shadow: 0 8px 22px rgba(255, 180, 58, .32); }
.btn-primary:hover { background: #ffa413; transform: translateY(-2px); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { border-color: var(--line-dark); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #d3351f; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink-2); color: rgba(255, 255, 255, .78); font-size: .82rem; }
.topbar-inner { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; padding: 9px 24px; max-width: var(--wrap); margin: 0 auto; }
.topbar a:hover { color: var(--gold); }
.topbar-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: var(--wrap); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; }
.brand img { max-height: 42px; width: auto; }
.brand span b { display: block; line-height: 1.1; font-weight: 800; }
.brand span small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; align-items: center; }
.primary-nav li { position: relative; }
.primary-nav a { font-size: .93rem; font-weight: 600; padding: 6px 0; position: relative; }
.primary-nav > ul > li > a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold); transition: .22s;
}
.primary-nav > ul > li:hover > a::after,
.primary-nav > ul > li.current-menu-item > a::after { width: 100%; }
.primary-nav .sub-menu {
  display: none; position: absolute; top: 100%; left: -14px; background: #fff; min-width: 224px;
  list-style: none; margin: 8px 0 0; padding: 10px; border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.primary-nav li:hover > .sub-menu { display: block; }
.primary-nav .sub-menu a { display: block; padding: 7px 10px; font-weight: 500; border-radius: 7px; }
.primary-nav .sub-menu a:hover { background: var(--cream); color: var(--red); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; cursor: pointer; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: #07120f; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7, 18, 15, .92) 0%, rgba(7, 18, 15, .74) 45%, rgba(7, 18, 15, .35) 100%);
}
.hero-glow { position: absolute; width: 620px; height: 620px; right: -160px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 180, 58, .35), transparent 62%); filter: blur(10px); }
.hero-inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 118px 24px 96px; }
.hero h1 { color: #fff; max-width: 760px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead { font-size: 1.12rem; max-width: 620px; color: rgba(255, 255, 255, .82); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 40px; }
.hero-stats { display: flex; gap: 42px; flex-wrap: wrap; border-top: 1px solid var(--line-dark); padding-top: 26px; }
.hero-stat b { display: block; font-size: 1.9rem; color: var(--gold); line-height: 1; }
.hero-stat span { font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }

/* ---------- Marquee strip ---------- */
.strip { background: var(--gold); color: #24170a; }
.strip-inner { max-width: var(--wrap); margin: 0 auto; padding: 14px 24px; display: flex; gap: 26px; flex-wrap: wrap; justify-content: space-between; font-weight: 600; font-size: .9rem; }

/* ---------- Product cards ---------- */
.prod-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); }
.prod-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: .25s ease; position: relative;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.prod-thumb { position: relative; background: var(--cream); aspect-ratio: 4 / 3; overflow: hidden; }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; transition: .5s ease; }
.prod-card:hover .prod-thumb img { transform: scale(1.06); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; font-size: .68rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--red); color: #fff;
}
.badge-new { background: var(--red); }
.badge-hot { background: var(--gold); color: #24170a; }
.badge-eco { background: #2e9e6b; }
.prod-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod-cat { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); font-weight: 700; }
.prod-title { font-size: 1.02rem; font-weight: 700; margin: 0; }
.prod-title a:hover { color: var(--red); }
.prod-meta { font-size: .86rem; color: var(--grey); display: flex; gap: 12px; flex-wrap: wrap; }
.prod-meta span::before { content: "•"; margin-right: 6px; color: var(--gold); }
.prod-meta span:first-child::before { content: none; }
.prod-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: .72rem; padding: 3px 9px; border-radius: 6px; background: var(--cream); color: var(--ink-3); border: 1px solid var(--line); font-weight: 600; }
.prod-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 28px 0 34px; }
.tab {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 20px;
  font-size: .88rem; font-weight: 600; cursor: pointer; color: var(--grey); transition: .2s;
}
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); }
.cat-tile {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); color: #fff; min-height: 148px;
  display: flex; align-items: flex-end; padding: 18px; transition: .25s;
}
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7, 18, 15, .82)); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; transition: .4s; }
.cat-tile:hover img { opacity: .82; transform: scale(1.05); }
.cat-tile span { position: relative; z-index: 2; font-weight: 700; font-size: 1rem; }
.cat-tile small { display: block; font-weight: 600; font-size: .74rem; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; }
.cat-tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

/* ---------- Feature / value blocks ---------- */
.feat-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feat {
  padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: .25s;
}
.feat:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.feat .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 14px; }
.section-dark .feat { background: rgba(255, 255, 255, .05); border-color: var(--line-dark); }
.section-dark .feat .ico { background: rgba(255, 180, 58, .16); }
.feat h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feat p { font-size: .92rem; color: var(--grey); margin: 0; }
.section-dark .feat p { color: rgba(255, 255, 255, .7); }

/* ---------- Scene / application ---------- */
/* auto-fit keeps 2 columns on a phone and 5 on a wide screen, so the block
   looks right whether 6 or 10 scenes are filled in. */
.scene-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.scene {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 210px; display: flex; align-items: flex-end;
  background: var(--ink-3); color: #fff; padding: 20px;
}
.scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .58; transition: .5s; }
.scene:hover img { opacity: .75; transform: scale(1.06); }
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(7, 18, 15, .85)); }
.scene-content { position: relative; z-index: 2; }
/* These gradients are painted on top of the picture, so they used to swallow
   the click and the browser just followed the link instead of letting the
   front-end editor reach the image. Purely decorative — let clicks pass. */
.scene::after, .cat-tile::after { pointer-events: none; }
.scene b { display: block; font-size: 1.05rem; }
.scene span { font-size: .84rem; color: rgba(255, 255, 255, .72); }

/* ---------- Process ---------- */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); counter-reset: step; }
.step { position: relative; padding: 24px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-weight: 800; font-size: 1.5rem; color: var(--gold); display: block; margin-bottom: 8px;
}
.step h4 { margin: 0 0 4px; font-size: 1rem; }
.step p { font-size: .87rem; color: var(--grey); margin: 0; }

/* ---------- About / factory ---------- */
.about-grid { display: grid; gap: 46px; grid-template-columns: 1.05fr .95fr; align-items: center; }
.about-media { position: relative; border-radius: 18px; overflow: hidden; }
.about-media img { width: 100%; }
.about-badge {
  position: absolute; left: 18px; bottom: 18px; background: #fff; color: var(--ink); border-radius: 14px;
  padding: 14px 18px; box-shadow: var(--shadow-lg); max-width: 220px;
}
.about-badge b { font-size: 1.5rem; color: var(--red); display: block; line-height: 1; }
.about-badge span { font-size: .78rem; color: var(--grey); }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.check-list li { padding-left: 30px; position: relative; font-size: .95rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: -1px; width: 21px; height: 21px; border-radius: 50%;
  background: var(--gold); color: #24170a; font-size: .74rem; font-weight: 800; display: grid; place-items: center;
}

/* ---------- Stats band ---------- */
.stat-band { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); text-align: center; }
.stat-band div b { display: block; font-size: 2.2rem; color: var(--gold); line-height: 1.1; }
.stat-band div span { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 17px 52px 17px 20px; font-size: 1rem; font-weight: 600; cursor: pointer; position: relative; font-family: inherit; color: inherit; }
.faq-q::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--gold); }
.faq-item.is-open .faq-q::after { content: "–"; }
.faq-a { display: none; padding: 0 20px 18px; color: var(--grey); font-size: .94rem; }
.faq-item.is-open .faq-a { display: block; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--grey); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: .95rem; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(255, 180, 58, .5); border-color: var(--gold); }
textarea { min-height: 118px; resize: vertical; }
.rfq-note { font-size: .78rem; color: var(--grey); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-3) 60%, #123a2f 100%);
  color: #fff; border-radius: 22px; padding: 54px 46px; display: flex; gap: 30px; flex-wrap: wrap; align-items: center; justify-content: space-between;
  position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 180, 58, .28), transparent 65%); }
.cta-band h2 { margin: 0 0 6px; color: #fff; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .74); }
.cta-band > div:first-child { position: relative; z-index: 2; }

/* ---------- Single product ---------- */
.crumbs { font-size: .82rem; color: var(--grey); padding: 16px 0; }
.crumbs a:hover { color: var(--red); }
.pd-layout { display: grid; gap: 44px; grid-template-columns: 1fr 1fr; align-items: start; padding-bottom: 70px; }
.pd-gallery { position: sticky; top: 100px; }
.pd-main-img { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--cream); }
.pd-thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.pd-thumbs button { width: 82px; height: 82px; border-radius: 10px; border: 1px solid var(--line); overflow: hidden; background: #fff; cursor: pointer; padding: 0; }
.pd-thumbs button.is-active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(255, 180, 58, .35); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.pd-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 18px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: .93rem; }
.spec-table th, .spec-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table th { width: 40%; color: var(--grey); font-weight: 600; background: var(--cream); }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pd-box { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 26px; }

/* ---------- Blog / posts ---------- */
.post-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: .25s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.post-card .prod-thumb { aspect-ratio: 16 / 10; }
.post-card .prod-body { padding: 20px; }
.post-meta { font-size: .78rem; color: var(--grey); letter-spacing: .06em; text-transform: uppercase; }
.entry p { margin-bottom: 1.1em; }
.entry h2 { margin-top: 1.6em; }
/* paginate_links() with 'type' => 'list' emits:
     <ul class="page-numbers"><li><a class="page-numbers">…</a></li></ul>
   Note the <ul> carries the SAME class as the buttons inside it, so the
   button rules must be scoped to the <li> — otherwise "display:block" lands
   on the <ul> itself (higher specificity than "ul") and the row stacks
   vertically again. */
.pagination { padding: 34px 0 0; }

.pagination ul.page-numbers {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  list-style: none; margin: 0; padding: 0;
}
.pagination ul.page-numbers > li {
  list-style: none; margin: 0; padding: 0; display: block;
}
.pagination ul.page-numbers > li > .page-numbers {
  display: block; min-width: 42px; text-align: center;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-size: .9rem; font-weight: 600; line-height: 1.4;
  color: var(--ink); text-decoration: none; transition: .18s;
}
/* These three MUST carry the same "> li >" chain as the rule above, or they
   lose on specificity: ".pagination ul.page-numbers .current" is (0,3,1) while
   the button rule is (0,3,2), so the dark text colour won and the active page
   rendered as dark-on-dark — invisible. */
.pagination ul.page-numbers > li > a.page-numbers:hover {
  background: #f2f0eb; border-color: var(--ink);
}
.pagination ul.page-numbers > li > .page-numbers.current {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.pagination ul.page-numbers > li > .page-numbers.prev,
.pagination ul.page-numbers > li > .page-numbers.next { padding: 8px 16px; }

/* Fallback: if paging is ever rendered without the <ul> ('type' => 'plain'),
   keep the links on one row too. */
.pagination > a.page-numbers,
.pagination > span.page-numbers {
  display: inline-block; min-width: 42px; text-align: center;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-size: .9rem; font-weight: 600; color: var(--ink); text-decoration: none;
}
.pagination > span.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 66px 0 0; font-size: .92rem; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
.footer-grid h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-grid a:hover { color: var(--gold); }
.footer-logo { color: #fff; font-weight: 800; font-size: 1.2rem; }
.footer-contact { display: grid; gap: 10px; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 46px; padding: 18px 0 26px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; font-size: .82rem; color: rgba(255, 255, 255, .5); }
.socials { display: flex; gap: 10px; }
.socials a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; font-size: .8rem; }
.socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ---------- Floating contact ---------- */
.floating { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: grid; gap: 10px; }
.floating a {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.1rem; box-shadow: var(--shadow-lg);
}

/* ---------- Admin notice / import screen ---------- */
.pl-setup-card { background: #fff; border: 1px solid #dcdcde; border-radius: 10px; padding: 24px; max-width: 760px; margin-top: 20px; }
.pl-setup-card h2 { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-grid, .pd-layout { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .primary-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 24px 20px; box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav .sub-menu { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; margin: 0; }
  .header-cta .btn { display: none; }
  .section { padding: 60px 0; }
  .hero-inner { padding: 84px 24px 70px; }
  .hero-stats { gap: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 26px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; text-align: center; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Shortcode / Elementor helpers
   ========================================================================== */

/* Fixed column counts for [pl_products cols=""] and [pl_categories cols=""].
   The default grids stay auto-filling; these only apply when requested. */
.prod-grid-2 { grid-template-columns: repeat(2, 1fr); }
.prod-grid-3 { grid-template-columns: repeat(3, 1fr); }
.prod-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cat-grid-2  { grid-template-columns: repeat(2, 1fr); }
.cat-grid-3  { grid-template-columns: repeat(3, 1fr); }
.cat-grid-4  { grid-template-columns: repeat(4, 1fr); }
.cat-grid-6  { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 900px) {
  .prod-grid-3, .prod-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cat-grid-4, .cat-grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .prod-grid-2, .prod-grid-3, .prod-grid-4 { grid-template-columns: 1fr; }
  .cat-grid-3, .cat-grid-4, .cat-grid-6 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Product pages: left browse menu ---------- */
.prod-layout { display: grid; grid-template-columns: 232px 1fr; gap: 34px; align-items: start; margin-top: 6px; }
.prod-main { min-width: 0; }

.prod-side { position: sticky; top: 22px; }
.side-group { margin-bottom: 26px; }
.side-title {
  margin: 0 0 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--grey); font-weight: 800;
}
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { margin: 0; }
.side-link {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 8px 13px; border-radius: 9px; font-size: .9rem; font-weight: 600;
  color: var(--ink); text-decoration: none; transition: .18s;
}
.side-link:hover { background: #f2f0eb; }
.side-link.is-active { background: var(--ink); color: #fff; }
.side-link small { font-size: .74rem; font-weight: 600; color: var(--grey); }
.side-link.is-active small { color: var(--gold); }
.side-empty { padding: 8px 13px; font-size: .82rem; color: var(--grey); line-height: 1.5; }
.side-cta { display: block; text-align: center; }

@media (max-width: 900px) {
  .prod-layout { grid-template-columns: 1fr; gap: 22px; }
  .prod-side { position: static; }
  .side-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .side-link { border: 1px solid var(--line); }
  .side-title { margin-bottom: 8px; }
}
