/* Pergo Office Furniture — shared styles */
:root {
  --navy: #12406a;
  --navy-dark: #0b2b49;
  --teal: #2b9aa0;
  --teal-dark: #1f7a80;
  --ink: #1d2733;
  --muted: #667180;
  --line: #e3e8ee;
  --bg: #f5f7f9;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 64, 106, 0.1);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", system-ui, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: "Poppins", "Inter", sans-serif; line-height: 1.2; color: var(--navy-dark); }
.wrap { width: min(var(--max), 92%); margin-inline: auto; }
.section { padding: 84px 0; }
.section.alt { background: var(--bg); }
.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 12px; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; border: 2px solid transparent; cursor: pointer; transition: transform 0.2s, background 0.2s, box-shadow 0.2s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(43, 154, 160, 0.35); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1fb858; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* Header */
.topbar { background: var(--navy-dark); color: #cfe0ee; font-size: 0.82rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a:hover { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand img { height: 46px; width: auto; }
.nav ul { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav ul a { font-weight: 500; font-size: 0.95rem; color: var(--ink); position: relative; padding: 6px 0; }
.nav ul a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--teal); transition: width 0.25s; }
.nav ul a:hover::after, .nav ul a.active::after { width: 100%; }
.nav ul a.btn { padding: 10px 22px; color: #fff; }
.nav ul a.btn::after { display: none; }
.menu-btn { display: none; background: none; border: 0; font-size: 1.7rem; color: var(--navy); cursor: pointer; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy-dark); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url("../images/feature-4.jpg") center/cover; opacity: 0.38; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--navy-dark) 30%, rgba(11, 43, 73, 0.35)); }
.hero .wrap { position: relative; z-index: 1; padding: 48px 0 44px; max-width: var(--max); }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 760px; margin-bottom: 12px; }
.hero h1 span { color: #7fd6da; }
.hero p { max-width: 560px; color: #d3e2ef; font-size: 1rem; margin-bottom: 20px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 26px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: "Poppins", sans-serif; font-size: 1.5rem; color: #fff; }
.hero-stats span { font-size: 0.85rem; color: #aac3d8; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg); border: 1px solid var(--line); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-card .img { position: relative; aspect-ratio: 4 / 3; background: #fff; }
.cat-card img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; transition: transform 0.4s; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card .body { padding: 18px 20px 22px; }
.cat-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.cat-card p { font-size: 0.88rem; color: var(--muted); }
.cat-card .more { margin-top: 10px; display: inline-block; color: var(--teal-dark); font-weight: 600; font-size: 0.88rem; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.p-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s; }
.p-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.p-card .img { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.p-card .img img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; transition: transform 0.4s; }
.p-card:hover .img img { transform: scale(1.05); }
.p-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: #e6f4f5; color: var(--teal-dark); }
.tag.series { background: #e8eef5; color: var(--navy); }
.p-card h3 { font-size: 1.08rem; }
.p-card ul { list-style: none; font-size: 0.84rem; color: var(--muted); display: grid; gap: 3px; }
.p-card li::before { content: "✓ "; color: var(--teal); font-weight: 700; }
.prices { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 0.86rem; }
.prices b { color: var(--navy); font-family: "Poppins", sans-serif; }
.prices span em { font-style: normal; color: var(--muted); font-size: 0.75rem; margin-right: 4px; }
.p-actions { display: flex; gap: 8px; margin-top: 10px; }
.p-actions .btn { flex: 1; justify-content: center; }
.price-note { font-size: 0.78rem; color: var(--muted); margin-top: 20px; }

/* Features */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.feature-list { display: grid; gap: 18px; margin-top: 24px; }
.feature-list div { display: flex; gap: 14px; }
.feature-list i { flex: none; width: 42px; height: 42px; border-radius: 12px; background: #e6f4f5; color: var(--teal-dark); display: grid; place-items: center; font-style: normal; font-size: 1.15rem; }
.feature-list h4 { font-size: 1rem; margin-bottom: 2px; }
.feature-list p { font-size: 0.9rem; color: var(--muted); }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.why { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.why .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 16px; }
.why h3 { font-size: 1.05rem; margin-bottom: 6px; }
.why p { font-size: 0.9rem; color: var(--muted); }

/* CTA band */
.cta { background: linear-gradient(120deg, var(--navy), var(--teal-dark)); color: #fff; border-radius: 22px; padding: 54px 48px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 520px; }
.cta p { color: #d3e8ea; margin-top: 8px; }

/* Page banner */
.sub-note { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.page-banner { background: linear-gradient(110deg, var(--navy-dark), var(--navy)); color: #fff; padding: 26px 0 24px; }
.page-banner h1 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); }
.page-banner p { color: #b9d0e3; margin-top: 4px; max-width: 760px; font-size: 0.95rem; }
.crumbs { font-size: 0.8rem; color: #8fb0cb; margin-bottom: 6px; }
.crumbs a:hover { color: #fff; }

/* Catalogue toolbar */
.toolbar { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 28px; position: sticky; top: 74px; z-index: 20; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); padding: 14px 0; border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 0.88rem "Inter", sans-serif; cursor: pointer; color: var(--ink); transition: all 0.2s; }
.chip:hover { border-color: var(--teal); }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.search { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font: 0.9rem "Inter", sans-serif; min-width: 240px; }
.search:focus { outline: 2px solid var(--teal); border-color: transparent; }
.result-count { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; display: none; }

/* Product detail */
.detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.gallery .main { position: relative; background: #fff; border-radius: var(--radius); aspect-ratio: 1 / 1; border: 1px solid var(--line); }
.gallery .main img { position: absolute; inset: 28px; width: calc(100% - 56px); height: calc(100% - 56px); object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs img { width: 84px; height: 84px; object-fit: contain; background: var(--bg); border: 2px solid var(--line); border-radius: 10px; padding: 6px; cursor: pointer; }
.thumbs img.on { border-color: var(--teal); }
.detail h1 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin: 6px 0 12px; }
.detail .lead { color: var(--muted); margin-bottom: 22px; }
.spec-list { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; }
.spec-list li { display: flex; gap: 10px; }
.spec-list li::before { content: "✓"; color: var(--teal); font-weight: 700; }
table.simple { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 0.92rem; }
table.simple th, table.simple td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
table.simple th { background: var(--bg); color: var(--navy); font-weight: 600; }
.mini-h { font-size: 1.05rem; margin: 26px 0 10px; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* Swatches */
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 16px; }
.swatch { text-align: center; font-size: 0.8rem; color: var(--muted); }
.swatch i { display: block; aspect-ratio: 1; border-radius: 14px; border: 1px solid rgba(0, 0, 0, 0.08); margin-bottom: 8px; box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.08); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: 14px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
.info-list { display: grid; gap: 20px; margin: 26px 0; }
.info-list div { display: flex; gap: 14px; }
.info-list i { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #e6f4f5; display: grid; place-items: center; font-style: normal; font-size: 1.15rem; }
.info-list h4 { font-size: 0.95rem; }
.info-list p, .info-list a { font-size: 0.92rem; color: var(--muted); display: block; }
.info-list a:hover { color: var(--teal-dark); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 260px; }
.map iframe { width: 100%; height: 100%; border: 0; }
form.enquiry { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); display: grid; gap: 16px; }
form.enquiry label { font-size: 0.85rem; font-weight: 600; color: var(--navy); display: grid; gap: 6px; }
form.enquiry input, form.enquiry select, form.enquiry textarea { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: 0.95rem "Inter", sans-serif; background: #fbfcfd; }
form.enquiry input:focus, form.enquiry select:focus, form.enquiry textarea:focus { outline: 2px solid var(--teal); border-color: transparent; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #aac3d8; padding: 64px 0 0; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.site-footer img { height: 44px; width: auto; background: #fff; border-radius: 10px; padding: 6px 12px; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 18px 0; font-size: 0.82rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25); transition: transform 0.2s; }
.wa-float:hover { transform: scale(1.08); }

/* Reveal on scroll */
.js .reveal { animation: rise 0.6s ease both; }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 920px) {
  .feature-split, .detail, .contact-grid, .two-col { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: block; }
  .nav ul { position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 4%; border-bottom: 1px solid var(--line); display: none; align-items: stretch; }
  .nav ul.open { display: flex; }
  .nav ul li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .toolbar { position: static; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .footer-grid, .row2 { grid-template-columns: 1fr; }
  .search { min-width: 100%; }
  .cta { padding: 36px 24px; }
  .topbar .wrap > :last-child { display: none; }
}

/* =========================================================
   v2: catalogue layout, richer cards, gallery, quick view, lightbox
   ========================================================= */
.p-card .img img.alt { opacity: 0; transition: opacity 0.35s; }
.p-card:hover .img img.alt { opacity: 1; }
.badge-photos, .badge-series { position: absolute; z-index: 2; font-size: 0.7rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.badge-photos { right: 10px; bottom: 10px; background: rgba(11, 43, 73, 0.82); color: #fff; }
.badge-series { left: 10px; top: 10px; background: #eef3f8; color: var(--navy); letter-spacing: 0.04em; }
.badge-series.s-premium { background: #fbf1e3; color: #9a5b12; }
.badge-series.s-r { background: #e6f4f5; color: var(--teal-dark); }
.cat-line { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
.cat-line span { color: var(--teal-dark); }
.p-card h3 { font-size: 1.12rem; }
.tagline { font-size: 0.86rem; color: var(--teal-dark); font-style: italic; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.tagline.big { font-size: 1.05rem; -webkit-line-clamp: unset; margin-bottom: 10px; }
.from { font-family: "Poppins", sans-serif; font-weight: 600; color: var(--navy); font-size: 1.15rem; margin-top: auto; padding-top: 8px; }
.from small { font: 500 0.75rem "Inter", sans-serif; color: var(--muted); margin-right: 2px; }
.from.big { font-size: 1.6rem; margin: 14px 0 10px; padding: 0; }
.mini-prices { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 0.78rem; color: var(--ink); }
.mini-prices em { font-style: normal; color: var(--muted); margin-right: 3px; }
.p-card .p-actions .btn { padding: 9px 10px; }
button.btn-outline { background: #fff; }

/* catalogue layout */
.cat-layout { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; }
.filters { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; padding-right: 6px; }
.f-group { border-bottom: 1px solid var(--line); padding: 14px 0; }
.f-group h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy); margin-bottom: 8px; }
.f-opt { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 0.9rem; cursor: pointer; }
.f-opt input { accent-color: var(--teal); width: 16px; height: 16px; }
.f-opt span { flex: 1; }
.f-opt em { font-style: normal; font-size: 0.75rem; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 1px 8px; }
.f-reset { margin-top: 16px; width: 100%; justify-content: center; }
.cat-top { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.cat-top .search { flex: 1; min-width: 200px; }
.cat-top select { padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); font: 0.9rem "Inter", sans-serif; background: #fff; }
#filter-toggle { display: none; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.active-filters .chip { padding: 5px 12px; font-size: 0.8rem; }
.cat-block { margin-bottom: 54px; scroll-margin-top: 90px; }
.cat-block-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 2px solid var(--navy); padding-bottom: 10px; margin-bottom: 22px; }
.cat-block-head h2 { font-size: 1.6rem; }
.cat-block-head span { font-size: 0.85rem; color: var(--muted); }
.cat-block-head p { flex-basis: 100%; font-size: 0.9rem; color: var(--muted); }
.cat-layout .product-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* gallery */
.gallery .main { overflow: hidden; }
.gallery .main img { cursor: zoom-in; }
.gallery .main img.small-src { inset: 16%; width: 68%; height: 68%; }
.g-nav, .g-zoom { position: absolute; z-index: 2; border: 0; background: rgba(255, 255, 255, 0.92); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); color: var(--navy); cursor: pointer; border-radius: 50%; display: grid; place-items: center; }
.g-nav { top: 50%; transform: translateY(-50%); width: 42px; height: 42px; font-size: 1.6rem; line-height: 1; }
.g-nav.prev { left: 12px; }
.g-nav.next { right: 12px; }
.g-zoom { right: 12px; top: 12px; width: 36px; height: 36px; font-size: 1rem; }
.g-count { position: absolute; left: 12px; bottom: 12px; font-size: 0.75rem; background: rgba(11, 43, 73, 0.8); color: #fff; border-radius: 999px; padding: 3px 10px; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; padding: 0; border: 2px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.thumbs button img { width: 72px; height: 72px; object-fit: contain; padding: 5px; border: 0; background: none; display: block; }
.thumbs button.on { border-color: var(--teal); }

/* product page */
.d-info .cat-line { margin-bottom: 4px; }
.highlights { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 6px; }
.highlights span { background: var(--navy); color: #fff; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; padding: 5px 12px; border-radius: 999px; }
.d-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 48px; }
.spec-table th { width: 38%; background: var(--bg); font-weight: 600; vertical-align: top; }
.prices-table td:first-child { font-weight: 500; }
.also { margin-top: 48px; }
.also h3 { margin-bottom: 18px; }

/* quick view modal */
.modal, .lightbox { position: fixed; inset: 0; z-index: 100; display: none; background: rgba(8, 22, 38, 0.7); backdrop-filter: blur(4px); }
.modal.open, .lightbox.open { display: grid; place-items: center; }
.modal-box { position: relative; background: #fff; border-radius: 18px; width: min(1000px, 94vw); max-height: 92vh; overflow: auto; padding: 28px; }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.modal-close, .lb-close { position: absolute; top: 10px; right: 14px; border: 0; background: none; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--navy); z-index: 3; }
.q-info h2 { font-size: 1.8rem; margin: 4px 0 6px; }
.q-info .desc { font-size: 0.92rem; color: var(--muted); margin: 8px 0 14px; }
.q-info .spec-list { font-size: 0.9rem; gap: 6px; margin-bottom: 14px; }

/* lightbox */
.lightbox figure { max-width: 92vw; max-height: 90vh; text-align: center; }
.lightbox img { max-width: 88vw; max-height: 82vh; object-fit: contain; background: #fff; border-radius: 12px; padding: 10px; }
.lightbox figcaption { color: #dce8f2; font-size: 0.85rem; margin-top: 8px; }
.lb-close { color: #fff; position: fixed; top: 16px; right: 24px; font-size: 2.6rem; }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.9); font-size: 1.9rem; cursor: pointer; color: var(--navy); }
.lb-nav.prev { left: 18px; }
.lb-nav.next { right: 18px; }

/* photo grids (home ergonomics, customise pages) */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; cursor: zoom-in; border: 1px solid var(--line); background: #fff; }
.figure-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.figure-card img { width: 100%; cursor: zoom-in; }
.figure-card .cap { padding: 16px 20px; }
.figure-card .cap h3 { font-size: 1.05rem; margin-bottom: 4px; }
.figure-card .cap p, .figure-card .cap li { font-size: 0.88rem; color: var(--muted); }
.figure-card .cap ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.figure-card .cap li { background: var(--bg); border-radius: 999px; padding: 3px 10px; }
.series-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.series-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; display: flex; flex-direction: column; gap: 8px; transition: transform 0.25s, box-shadow 0.25s; }
.series-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.series-card h3 { font-size: 1.2rem; }
.series-card p { color: var(--muted); font-size: 0.9rem; }
.series-card .count, .cat-card .count { font-weight: 600; color: var(--teal-dark); font-size: 0.82rem; display: block; margin-top: 4px; }

@media (max-width: 920px) {
  .cat-layout { grid-template-columns: 1fr; }
  .filters { display: none; position: static; max-height: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 16px 16px; }
  .cat-layout.filters-open .filters { display: block; }
  #filter-toggle { display: inline-flex; }
  .modal-body { grid-template-columns: 1fr; }
  .modal-box { padding: 20px 16px; }
}
@media (max-width: 560px) {
  .cat-layout .product-grid, .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .p-card .body { padding: 12px; }
  .p-card .p-actions { flex-direction: column; }
  .mini-prices { display: none; }
  .p-card h3 { font-size: 0.98rem; }
  .from { font-size: 1rem; }
  .thumbs button img { width: 58px; height: 58px; }
}
