/* ==========================================================================
   Samgo Instruments — modern B2B catalog design system
   Public front-end only (admin ships its own stylesheet).
   ========================================================================== */

:root {
  --ink: #14232e;
  --ink-2: #263a47;
  --muted: #5d6f7c;
  --muted-2: #8a9aa6;

  --brand: #0b5b8a;
  --brand-2: #0e4f7a;
  --brand-dark: #08334f;
  --brand-deep: #05263c;
  --teal: #0f7c7b;
  --accent: #c22d35;
  --accent-dark: #9c1f27;

  --bg: #ffffff;
  --bg-soft: #f4f7f9;
  --bg-tint: #eaf1f6;
  --line: #e2e8ee;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(8, 51, 79, 0.06);
  --shadow-md: 0 12px 32px rgba(8, 51, 79, 0.10);
  --shadow-lg: 0 24px 60px rgba(8, 51, 79, 0.16);

  --maxw: 1240px;
  --font: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(11, 91, 138, 0.16); }

img { max-width: 100%; height: auto; border: 0; }

a { color: var(--brand); text-decoration: none; transition: color .14s ease; }
a:hover { color: var(--teal); }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

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

/* ============================= Typography ================================ */

h1, h2, h3, h4 { line-height: 1.2; color: var(--brand-dark); font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: var(--teal);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--teal); }

.section-head { max-width: 720px; margin: 0 0 28px; }
.section-head h2 { font-size: 30px; margin: 8px 0 10px; }
.section-lead { color: var(--muted); font-size: 16px; }

p { margin: 8px 0; }
ul, ol { margin: 8px 0 8px 22px; }
li { margin: 4px 0; }

/* ============================== Buttons ================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px;
  font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center;
  cursor: pointer; border: 1px solid transparent; text-decoration: none;
  transition: background .16s ease, border-color .16s ease, color .16s ease,
              box-shadow .16s ease, transform .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); color: #fff; box-shadow: var(--shadow-md); }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; box-shadow: var(--shadow-md); }

.btn-wa { background: #1faa57; color: #fff; }
.btn-wa:hover { background: #177d40; color: #fff; box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent; color: var(--brand); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--bg-tint); }

.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--bg-tint); color: var(--brand-dark); box-shadow: var(--shadow-md); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }

.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }

button, input[type="submit"], input[type="button"] {
  display: inline-block; font-family: inherit;
  background: var(--brand); color: #fff; border: 0;
  border-radius: 10px; padding: 12px 22px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background .16s ease, box-shadow .16s ease;
}
button:hover, input[type="submit"]:hover { background: var(--brand-2); }
button:disabled, input[type="submit"]:disabled { opacity: .5; cursor: not-allowed; }
button[type="button"] { background: var(--bg-tint); color: var(--brand-dark); }
button[type="button"]:hover { background: #dbe7f0; color: var(--brand); }

/* ============================== Forms ==================================== */

input, select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 11px 13px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff;
  transition: border-color .14s ease, box-shadow .14s ease;
}
input::placeholder, textarea::placeholder { color: var(--muted-2); }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11, 91, 138, 0.14);
}
label { display: block; margin-bottom: 14px; font-weight: 600; color: var(--ink-2); }
label input, label select, label textarea { margin-top: 6px; font-weight: 400; color: var(--ink); }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.form-note { font-size: 13px; color: var(--muted); }

.success, .error { font-weight: 600; border-radius: 10px; padding: 12px 16px; margin: 0 0 20px; }
.success { color: #14652b; background: #e7f6ec; border: 1px solid #c3e8cd; }
.error { color: var(--accent-dark); background: #fdecee; border: 1px solid #f5c6cb; }

/* =============================== Header ================================== */

.topbar {
  background: var(--brand-deep);
  color: #b9cedd; font-size: 13px;
}
.topbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 22px; padding-top: 7px; padding-bottom: 7px; }
.topbar-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.topbar-links a, .topbar-links span { display: inline-flex; align-items: center; gap: 6px; color: #cfdee9; }
.topbar-links a:hover { color: #fff; }
.topbar-links svg { color: var(--teal); flex: none; }
.topbar-tag { color: #90a7b8; }

.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-img { display: block; max-height: 46px; width: auto; }
.logo-mark {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-deep), var(--teal));
  color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .02em;
}
.logo-mark img { display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-size: 19px; font-weight: 800; color: var(--brand-dark); }
.logo-sub { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-top: 2px; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 9px 13px; border-radius: 9px; color: var(--ink-2);
  font-size: 15px; font-weight: 500; text-decoration: none;
}
.site-nav a:hover { background: var(--bg-soft); color: var(--brand); }
.site-nav a.active { background: var(--bg-tint); color: var(--brand); font-weight: 600; }

.nav-cta { background: var(--brand); color: #fff !important; }
.nav-cta:hover { background: var(--brand-2); }
.nav-cart { display: inline-flex; align-items: center; gap: 8px; }
.cart-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
}

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: var(--bg-soft);
  border-radius: 10px; margin-left: auto;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--brand-dark); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================== Layout =================================== */

main {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 48px 24px;
}
main.catalog-page { max-width: var(--maxw); }
section { margin-bottom: 56px; }
.section section, section > section:last-child { margin-bottom: 0; }

.section > h1 { font-size: 34px; color: var(--brand-dark); margin-bottom: 12px; }
.section > h2 { font-size: 26px; margin-bottom: 10px; color: var(--brand-dark); }
.section > h3 { font-size: 18px; margin-bottom: 6px; }

/* =========================== Hero (home) ================================= */

.hero {
  position: relative; overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(16, 130, 129, 0.35), transparent 60%),
    radial-gradient(900px 460px at 0% 110%, rgba(30, 133, 190, 0.3), transparent 60%),
    linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-dark) 55%, var(--brand) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero .container { position: relative; z-index: 1; padding-top: 100px; padding-bottom: 96px; }
.hero .eyebrow { color: #7fd4c9; margin-bottom: 18px; }
.hero .eyebrow::before { background: #7fd4c9; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 54px); font-weight: 800; margin: 22px 0 0; max-width: 760px; }
.hero-lead { color: #cfe0ec; font-size: clamp(16px, 2vw, 18px); max-width: 620px; margin: 24px 0 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; margin-bottom: 60px; }
.hero-visual { position: relative; }
.hero-image-card {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3;
  border-radius: var(--r-lg); border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(5, 38, 60, 0.4); box-shadow: var(--shadow-lg);
}
.hero-image-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-chip {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(5, 38, 60, 0.82); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  backdrop-filter: blur(4px);
}
.hero-chip svg { width: 14px; height: 14px; fill: none; stroke: #7fd4c9; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Hero slide carousel (admin Sliders) */
.hero-slider { position: relative; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease, visibility .7s;
  pointer-events: none;
}
.hero-slide.active {
  position: relative; z-index: 1;
  opacity: 1; visibility: visible; transform: translateY(0);
  pointer-events: auto;
}
.hero-slide .slide-title { color: #fff; font-size: clamp(34px, 5vw, 54px); font-weight: 800; margin: 22px 0 0; max-width: 760px; }
.hero-arrow {
  position: absolute; bottom: -26px; z-index: 3;
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(9, 30, 43, 0.55);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-arrow:hover { background: rgba(11, 91, 138, 0.9); border-color: #fff; transform: translateY(-1px); }
.hero-arrow svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-arrow-prev { right: 82px; }
.hero-arrow-next-wrap { position: absolute; right: 24px; bottom: -26px; z-index: 3; width: 44px; height: 44px; }
.hero-arrow-next { position: static; right: auto; bottom: auto; }
.hero-arrow-ring { position: absolute; inset: -4px; width: 52px; height: 52px; transform: rotate(-90deg); pointer-events: none; }
.hero-arrow-ring circle { fill: rgba(9, 30, 43, 0.45); stroke: rgba(255, 255, 255, 0.85); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.hero-dots {
  position: absolute; left: 0; bottom: -26px; z-index: 3;
  display: flex; gap: 8px;
}
.hero-dots button {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, 0.35); cursor: pointer;
  transition: background .2s ease, width .2s ease;
}
.hero-dots button.active, .hero-dots button:hover { background: #fff; }
.hero-dots button.active { width: 26px; }
@media (max-width: 640px) {
  .hero-arrow-prev, .hero-arrow-next-wrap { display: none; }
  .hero-dots { left: 0; bottom: -18px; }
}

/* Hero trust cards + audience ribbon */
.hero-trust {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px; margin-top: 44px;
}
.trust-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; border-radius: var(--r-md);
  background: rgba(5, 38, 60, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.trust-card svg {
  flex: none; width: 26px; height: 26px;
  fill: none; stroke: #7fd4c9; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.trust-card strong { display: block; color: #fff; font-size: 14.5px; line-height: 1.25; }
.trust-card span { display: block; color: #9ec1d6; font-size: 12.5px; margin-top: 2px; }
.hero-audiences {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 38px;
}
.hero-audiences span {
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #dbe9f2; font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
}
/* ========================== Page banner ================================== */

.page-banner {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 380px at 90% -20%, rgba(16, 130, 129, 0.35), transparent 60%),
    linear-gradient(120deg, var(--brand-deep) 0%, var(--brand-dark) 60%, var(--brand) 100%);
  border-bottom: 1px solid var(--brand);
}
.page-banner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.page-banner .container { position: relative; z-index: 1; padding-top: 46px; padding-bottom: 46px; }
.page-banner h1 { color: #fff; font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin: 10px 0 0; }
.page-banner .eyebrow { color: #7fd4c9; }
.page-banner .eyebrow::before { background: #7fd4c9; }
.banner-lead { color: #cfe0ec; max-width: 640px; margin: 14px 0 0; font-size: 16px; }

/* ============================== Panels =================================== */

.panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px;
  box-shadow: var(--shadow-sm);
}
.panel h2 { margin: 0 0 6px; }
.panel > p:first-of-type { margin-top: 0; }

.layout-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: start; }

.about-hero-split {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 30px; align-items: start;
}
.about-hero-split .panel.prose { display: flex; flex-direction: column; justify-content: center; min-height: 100%; }
.about-hero-split .panel.prose h2 { margin-top: 10px; }
.about-photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.about-photo-grid figure { margin: 0; }
.about-photo-grid img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); display: block; background: #fff;
}
@media (max-width: 760px) {
  .about-hero-split { grid-template-columns: 1fr; gap: 18px; }
}

.home-split {
  display: grid; grid-template-columns: 380px 1fr; gap: 30px; align-items: stretch;
}
.home-split .features-grid { margin: 0; }
.home-split-media { margin: 0; }
.home-split-media img {
  width: 100%; height: 100%; min-height: 220px; object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: 0 18px 40px rgba(9, 30, 43, 0.16);
}

.home-split .panel { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.home-about-panel .eyebrow { margin-bottom: 8px; }
.home-about-panel h2 { margin: 0 0 14px; }
.about-points {
  list-style: none; margin: 4px 0 20px; padding: 14px 16px;
  background: #eef4f8; border-radius: var(--r-md);
  display: grid; gap: 9px; width: 100%;
}
.about-points li {
  display: flex; gap: 9px; align-items: flex-start;
  font-weight: 600; color: var(--brand-dark); font-size: 14.5px;
}
.about-tick { color: #0a9f7a; font-weight: 800; line-height: 1.2; }
.home-about-cta { margin: 0; }
.home-media-video img { min-height: 340px; }

.home-media-video { position: relative; }
.home-play {
  position: absolute; inset: 0; margin: auto;
  width: 72px; height: 72px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-dark);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(9, 30, 43, 0.35);
  transition: transform .2s ease, background .2s ease;
}
.home-play svg { width: 30px; height: 30px; margin-left: 3px; }
.home-play:hover { transform: scale(1.08); background: #fff; }
.home-play::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  animation: home-play-pulse 2.2s ease-out infinite;
}
@keyframes home-play-pulse {
  0% { transform: scale(0.92); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

.video-modal {
  position: fixed; inset: 0; z-index: 400; display: none;
  place-items: center; padding: 24px;
}
.video-modal.open { display: grid; }
.video-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 12, 20, 0.82);
  backdrop-filter: blur(3px);
}
.video-modal-box {
  position: relative; z-index: 1;
  width: min(960px, 100%);
  background: #000; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.video-modal-box video { display: block; width: 100%; max-height: 80vh; }
.video-modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16); color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer;
  transition: background .2s ease;
}
.video-modal-close:hover { background: rgba(255, 255, 255, 0.32); }
@media (max-width: 760px) {
  .home-split { grid-template-columns: 1fr; gap: 18px; }
  .home-split-media { order: -1; }
  .home-split-media img { height: 240px; min-height: 0; }
}

.section-partners { background: transparent; overflow: hidden; }
.partner-logos { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.partner-track { display: flex; align-items: center; gap: 24px; padding: 8px 0; flex: 0 0 auto; }
.partner-logo {
  display: flex; align-items: center; justify-content: center;
  min-width: 240px; height: 112px; padding: 20px 28px;
  background: #fff; border: none; border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.partner-logo img {
  max-height: 66px; max-width: 230px; object-fit: contain;
  opacity: .75; filter: grayscale(100%);
  transition: opacity .25s ease, filter .25s ease;
}
.partner-logo:hover img { opacity: 1; filter: grayscale(0); }
.partner-logos.marquee-active { justify-content: flex-start; }
.partner-logos.marquee-active .track-clone { display: flex; }
.partner-logos.marquee-active .partner-track { animation: partner-slide 30s linear infinite; }
.partner-logos.marquee-active .partner-track:hover { animation-play-state: paused; }
.track-clone { display: none; }
@keyframes partner-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 760px) {
  .partner-logo { min-width: 200px; height: 96px; padding: 16px 22px; }
  .partner-logo img { max-height: 56px; max-width: 190px; }
}

/* ========================== CTA band ===================================== */

.cta-band { margin-bottom: 0; }
.cta-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  color: #fff; border-radius: var(--r-lg); padding: 40px;
  background:
    radial-gradient(700px 300px at 90% -30%, rgba(16, 130, 129, 0.4), transparent 60%),
    linear-gradient(120deg, var(--brand-dark), var(--brand));
  box-shadow: var(--shadow-md);
}
.cta-inner .eyebrow { color: #7fd4c9; }
.cta-inner .eyebrow::before { background: #7fd4c9; }
.cta-inner h2 { color: #fff; font-size: 28px; margin: 8px 0 6px; }
.cta-inner p { color: #cfe0ec; max-width: 560px; }
.cta-inner .btn { flex: none; }

/* =============================== Cards =================================== */

.browse-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.browse-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.browse-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #c9d7e2;
}
.browse-card h3 {
  font-size: 15px; font-weight: 700; color: var(--brand-dark);
  margin: 0 0 10px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.browse-card h3 a { color: var(--brand-dark); }
.browse-card h3 a:hover { color: var(--teal); }
.browse-card ul { list-style: none; margin: 0; padding: 0; }
.browse-card li { margin: 1px 0; }
.browse-card li a { display: block; font-size: 13.5px; padding: 4px 0; color: var(--ink-2); border-radius: 6px; }
.browse-card li a:hover { color: var(--brand); background: var(--bg-soft); padding-left: 6px; }
.browse-card .cat-count { color: var(--muted-2); font-size: 12px; margin-left: 4px; }
.browse-card .browse-more { font-weight: 600; color: var(--brand); }

/* Homepage category cards */
.home-cat-card { display: block; color: inherit; text-decoration: none; }
.home-cat-card h3 { margin-bottom: 4px; }
.home-cat-card h3 a { color: var(--brand-dark); }
.home-cat-card .home-cat-link { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 13px; color: var(--brand); }
.home-cat-card:hover .home-cat-link { color: var(--teal); }

/* Values / features / step cards */
.values-grid, .features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px;
}
.value-card, .feature-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease;
}
.value-card:hover, .feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.value-card h3, .feature-card h3 { font-size: 16px; margin: 0 0 8px; }
.value-card p, .feature-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

.step-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 20px;
  list-style: none; margin: 0; padding: 0; counter-reset: step;
}
.step-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 24px 22px 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease;
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.step-num {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; width: 46px; height: 54px; border-radius: 13px; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--brand-deep), var(--teal));
  color: #fff;
}
.step-num svg { width: 20px; height: 20px; }
.step-num small { font-size: 10px; font-weight: 800; letter-spacing: .04em; opacity: .9; }
.step-card h3 { font-size: 16px; margin: 0 0 6px; }
.step-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* Icon badge used on value / feature / step cards */
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--brand-deep), var(--teal));
  color: #fff;
  box-shadow: 0 6px 16px rgba(11, 91, 138, 0.28);
}
.card-icon svg { width: 25px; height: 25px; }
.value-card .card-icon, .feature-card .card-icon { margin-bottom: 15px; }

/* Prose block used on About */
.prose { font-size: 16px; color: var(--ink-2); }
.prose p { margin: 0 0 14px; }

/* =============================== Footer ================================== */

.site-footer {
  background: var(--brand-deep);
  color: #a9bdcc; font-size: 14.5px;
  margin-top: 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px;
  padding-top: 56px; padding-bottom: 48px;
}
.footer-col h4 {
  color: #fff; font-size: 14px; text-transform: uppercase;
  letter-spacing: .12em; margin: 0 0 16px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo-img { display: block; max-height: 40px; width: auto; }
.footer-brand .logo-mark { width: 40px; height: 40px; border-radius: 10px; }
.footer-brand .logo-name { color: #fff; font-size: 17px; }
.site-footer a { color: #a9bdcc; }
.site-footer a:hover { color: #fff; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 9px; }
.footer-about p { margin: 0 0 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: none; color: #7fd4c9; margin-top: 3px; }
.footer-contact .f-label { color: #90a7b8; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; display: block; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  padding-top: 20px; padding-bottom: 20px; font-size: 13px; color: #8ba2b3;
}

/* =========================== Inquiry cart ================================= */

.inquiry-item, .enquiry-item {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 12px 14px; margin: 8px 0; background: #fff;
  box-shadow: var(--shadow-sm);
}
.inquiry-item strong { color: var(--ink-2); font-size: 15px; }
.inquiry-item > span, .inquiry-item button + span { color: var(--muted); font-size: 14px; }
.inquiry-item button { padding: 4px 10px; min-width: 30px; border-radius: 8px; font-size: 14px; font-weight: 700; }

.toast {
  position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%);
  background: var(--brand-deep); color: #fff; padding: 13px 20px;
  border-radius: 10px; z-index: 200; font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg);
}

/* ============ Add to Enquiry modal (options + quantity + MOQ) ============ */
.inq-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(5, 30, 48, 0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; backdrop-filter: blur(3px);
}
.inq-modal {
  position: relative; background: #fff; border-radius: var(--r-lg);
  max-width: 430px; width: 100%; padding: 26px;
  box-shadow: var(--shadow-lg); animation: inq-pop .18s ease;
}
@keyframes inq-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.inq-modal h3 { font-size: 19px; color: var(--brand-dark); margin: 0 0 6px; }
.inq-name { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.inq-opt-label, .inq-qty-label { display: block; margin: 12px 0; font-weight: 600; }
.inq-opt-none { font-size: 14px; color: var(--muted); background: var(--bg-soft); border-radius: 10px; padding: 10px 12px; margin: 12px 0; }
.inq-qty { width: 140px; }
.inq-moq { font-size: 13px; color: var(--accent); font-weight: 600; margin: 4px 0 0; }
.inq-err { color: var(--accent-dark); font-size: 13px; font-weight: 600; margin: 10px 0 0; }
.inq-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.inq-cancel { background: var(--bg-tint); color: var(--brand-dark); }
.inq-cancel:hover { background: #dbe7f0; color: var(--brand); }
.inq-close {
  position: absolute; top: 10px; right: 10px;
  background: transparent !important; color: var(--muted-2);
  font-size: 24px; line-height: 1; padding: 6px 12px;
}
.inq-close:hover { color: var(--accent); background: var(--bg-soft) !important; }

.badge-soon {
  display: inline-block; font-size: 11px; font-weight: 600; color: var(--muted);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 2px 9px; margin-left: 6px; vertical-align: middle;
}

/* ===================== Catalog: sidebar + grid ============================ */

.breadcrumb { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.breadcrumb a { color: var(--brand); }

.catalog-layout { display: grid; grid-template-columns: 284px minmax(0, 1fr); gap: 34px; align-items: start; }
.catalog-sidebar {
  position: sticky; top: 92px; align-self: start;
  max-height: calc(100vh - 110px); overflow-y: auto; overscroll-behavior: contain;
  padding: 4px 8px 6px 4px; scrollbar-width: thin; scroll-padding-top: 8px;
}
.catalog-sidebar::-webkit-scrollbar { width: 8px; }
.catalog-sidebar::-webkit-scrollbar-track { background: transparent; }
.catalog-sidebar::-webkit-scrollbar-thumb { background: #d4dfe7; border-radius: 8px; border: 2px solid #fff; }

.catalog-nav {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 20px;
  margin: 0 0 18px; box-shadow: var(--shadow-sm);
}
.catalog-nav h3 {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--brand); font-weight: 700;
  margin: 0 0 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.catalog-nav h3::before {
  content: ""; width: 3px; height: 12px; border-radius: 2px; background: var(--accent);
}

.catalog-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px 16px; margin: 0 0 22px; box-shadow: var(--shadow-sm);
}
.catalog-search { display: flex; flex: 1 1 260px; min-width: 200px; }
.catalog-search input {
  flex: 1; width: auto; margin: 0; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 10px 0 0 10px;
  background: var(--bg-soft); font-size: 14px;
}
.catalog-search input:focus {
  background: #fff; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11, 91, 138, 0.14);
}
.catalog-search .btn { border-radius: 0 10px 10px 0; margin: 0; padding: 10px 18px; font-weight: 600; border: 0; }
.catalog-sort { display: flex; align-items: center; gap: 8px; margin: 0; }
.catalog-sort span {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}
.catalog-sort select {
  width: auto; max-width: none; margin: 0; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg-soft); font-size: 14px;
}
.catalog-sort select:focus {
  background: #fff; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11, 91, 138, 0.14);
}
.catalog-reset { font-size: 13px; white-space: nowrap; }

.catalog-nav ul { list-style: none; margin: 0; padding: 0; }
.cat-count { color: var(--muted-2); font-size: 12px; margin-left: 5px; }

.catalog-nav .cat-item { margin: 0; }
.catalog-nav > ul > li + li { margin-top: 1px; }
.catalog-nav .cat-link {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 9px; color: #33434f;
  font-size: 14px; line-height: 1.3;
  transition: background .14s ease, color .14s ease;
}
.catalog-nav .cat-link:hover { background: var(--bg-soft); color: var(--brand); text-decoration: none; }
.catalog-nav .cat-link.active { background: rgba(11, 91, 138, 0.08); color: var(--brand-dark); font-weight: 600; }
.catalog-nav .cat-link .cat-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catalog-nav .cat-link:focus-visible, .catalog-nav summary:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px;
}
.catalog-nav .cat-count {
  flex: none; margin-left: auto; min-width: 26px; text-align: center;
  color: #8a98a3; font-size: 11px; font-weight: 600; line-height: 1;
  padding: 4px 8px; border-radius: 999px; background: transparent;
  transition: background .14s ease, color .14s ease;
}
.catalog-nav .cat-link:hover .cat-count { background: #e8eef2; color: var(--brand); }
.catalog-nav .cat-link.active .cat-count { background: rgba(11, 91, 138, 0.12); color: var(--brand-dark); }

.catalog-nav > ul > .cat-group { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
.catalog-nav summary {
  cursor: pointer; user-select: none; list-style: none; position: relative;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px 8px 28px; border-radius: 9px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  transition: background .14s ease, color .14s ease;
}
.catalog-nav summary:hover { background: var(--bg-soft); }
.catalog-nav summary::-webkit-details-marker { display: none; }
.catalog-nav summary::before {
  content: ""; position: absolute; left: 11px; top: 50%; width: 5px; height: 5px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  color: #9aa7b1;
  transform: translateY(-50%) rotate(-45deg);
  transition: transform .2s ease, color .14s ease;
}
.catalog-nav summary:hover::before { color: var(--brand); }
.catalog-nav details[open] > summary::before { transform: translateY(-45%) rotate(45deg); }
.catalog-nav summary a { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; }
.catalog-nav summary a:hover { color: var(--brand); text-decoration: none; }
.catalog-nav summary.active { background: rgba(11, 91, 138, 0.08); }
.catalog-nav summary.active a { color: var(--brand-dark); }
.catalog-nav summary.active::before { color: var(--accent); }

.cat-children { margin: 2px 0 8px 8px; padding-left: 12px; border-left: 1px solid var(--line); }
.cat-children .cat-link { padding: 7px 10px; font-size: 13px; border-radius: 8px; color: #46555f; }
.cat-children .cat-group { border: 0; margin: 0; padding: 0; }
.cat-children .cat-group summary {
  padding: 7px 10px 7px 26px; font-size: 13px; font-weight: 500; color: #46555f;
}
.cat-children .cat-group summary::before { left: 10px; width: 4px; height: 4px; }
.cat-children .cat-children { margin-left: 6px; padding-left: 12px; }

.archive-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 8px; margin-bottom: 22px;
}
.archive-head h1 {
  font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--brand-dark); margin: 0;
}
.archive-count { color: var(--muted); font-size: 14px; }

.subcat-strip {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 22px; padding: 0;
}
.subcat-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  transition: border-color .14s ease, color .14s ease, background .14s ease, transform .14s ease;
}
.subcat-chip:hover {
  border-color: var(--brand); color: var(--brand);
  background: var(--bg-tint); transform: translateY(-1px); text-decoration: none;
}
.subcat-chip.active {
  background: var(--brand); border-color: var(--brand); color: #fff;
}
.subcat-chip .cat-count { margin-left: 2px; }

.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 20px; list-style: none; margin: 0; padding: 0;
}
.product-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #c9d7e2; }
.product-card-img {
  display: block; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-ph {
  display: flex; align-items: center; justify-content: center; height: 100%;
  color: var(--muted-2); font-size: 13px;
  background: repeating-linear-gradient(45deg, #f6f8fa, #f6f8fa 10px, #edf1f4 10px, #edf1f4 20px);
}
.product-card-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 16px 16px; }
.product-card-title { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.product-card-title:hover { color: var(--teal); text-decoration: none; }
.product-card-sku { font-size: 12px; color: var(--muted-2); font-family: ui-monospace, Consolas, monospace; }
.product-card-cat { font-size: 12px; color: var(--brand); }
.product-card-price { font-size: 14px; font-weight: 600; color: var(--brand-dark); }
.product-card-add { margin-top: auto; }
.product-card-add .btn { padding: 9px 16px; font-size: 14px; border-radius: 9px; }

.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 28px; }
.pagination a, .pagination strong {
  display: inline-block; min-width: 38px; text-align: center;
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; color: var(--ink);
}
.pagination strong { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.pagination .gap { color: var(--muted); padding: 0 2px; }
.pagination a.muted { color: var(--muted-2); }

/* ========================== Product page ================================= */

.product-breadcrumb { font-size: 13px; color: var(--muted); margin: 0 0 22px; }
.product-breadcrumb a { color: var(--brand); }

.product-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 38px; align-items: start; }
.product-gallery { position: sticky; top: 100px; }
.product-gallery-main {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--bg-soft); box-shadow: var(--shadow-sm);
}
.product-gallery-ph {
  width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  color: var(--muted-2); font-size: 14px;
  border: 1px dashed var(--line); border-radius: var(--r-lg); background: var(--bg-soft);
}
.product-gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.product-gallery-thumbs img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; cursor: pointer;
  border: 2px solid transparent; border-radius: 10px; background: var(--bg-soft);
  transition: border-color .14s ease;
}
.product-gallery-thumbs img.active { border-color: var(--brand); }

.product-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin: 0 0 6px; }
.product-sku { color: var(--muted); font-size: 14px; margin: 0; }
.product-sku strong { color: var(--ink-2); font-weight: 600; }
.product-price { font-size: 23px; font-weight: 800; color: var(--brand-dark); margin: 16px 0 0; }
.product-price s { color: var(--muted-2); font-weight: 500; font-size: 16px; margin-left: 10px; }
.product-summary { color: var(--ink-2); margin-top: 6px; font-size: 16px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.product-quote-help {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 16px; padding: 14px 16px;
  background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--r-md);
  font-size: 13.5px; color: var(--muted);
}
.product-quote-help strong { color: var(--brand-dark); font-size: 14.5px; }
.product-quote-help a { color: var(--teal); font-weight: 700; text-decoration: none; }
.product-quote-help a:hover { color: var(--brand); }

.product-spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.product-spec-grid .panel h3 { font-size: 15px; margin: 0 0 12px; }
.browse-chip-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.browse-chip-group .panel h3 { font-size: 15px; margin: 0 0 10px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list .subcat-chip { font-weight: 600; }

.spec-list { list-style: none; margin: 0; padding: 0; }
.spec-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.spec-list li:last-child { border-bottom: 0; }
.spec-list span { color: var(--muted); }
.spec-list strong { color: var(--ink-2); font-weight: 600; text-align: right; }

.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.mini-card {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 16px; text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .16s ease, transform .16s ease, border-color .16s ease;
}
.mini-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #c9d7e2; text-decoration: none; }
.mini-card strong { display: block; color: var(--ink); font-size: 14.5px; line-height: 1.3; }
.mini-card span { display: block; margin-top: 5px; color: var(--muted-2); font-size: 12px; font-family: ui-monospace, Consolas, monospace; }

@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; gap: 26px; }
  .product-gallery { position: static; }
}

/* ========================== Responsive =================================== */

@media (max-width: 980px) {
  .catalog-layout { grid-template-columns: 1fr; gap: 20px; }
  .catalog-sidebar { position: static; max-height: none; overflow: visible; padding: 0; }

  .layout-split { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); padding: 12px 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .header-inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  main { padding: 36px 18px; }
  .container { padding: 0 18px; }
  .hero .container { padding-top: 52px; padding-bottom: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 36px; }
  .page-banner .container { padding-top: 36px; padding-bottom: 36px; }
  .cta-inner { padding: 28px 24px; }
  .panel { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 36px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* Mobile-first tuning (small phones and below) */
@media (max-width: 560px) {
  .topbar-tag { display: none; }
  .topbar { font-size: 12.5px; }
  .topbar-links { gap: 10px; }

  main { padding: 28px 14px; }
  .container { padding: 0 14px; }

  .hero .container { padding-top: 40px; padding-bottom: 38px; }
  .hero h1, .hero-slide .slide-title { font-size: 28px; }
  .hero-lead { font-size: 15.5px; margin-bottom: 22px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-chip { left: 10px; bottom: 10px; padding: 6px 11px; font-size: 12px; }

  .archive-head h1 { font-size: 26px; }
  .section-head h2 { font-size: 24px; margin-bottom: 6px; }
  .section-lead { font-size: 15px; }
  .page-banner h1 { font-size: 25px; }
  .banner-lead { font-size: 15px; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card-title { font-size: 13.5px; }
  .product-card-body { padding: 10px 11px 12px; gap: 4px; }
  .product-card-sku { font-size: 11px; }
  .product-card-add .btn { padding: 8px 10px; font-size: 13px; width: 100%; }

  .features-grid, .values-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .feature-card, .value-card { padding: 16px 14px; }
  .feature-card h3, .value-card h3 { font-size: 14.5px; }
  .feature-card p, .value-card p { font-size: 13px; }
  .card-icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 10px; }
  .card-icon svg { width: 21px; height: 21px; }

  .catalog-layout { gap: 14px; }
  .catalog-sidebar .catalog-nav { padding: 14px; }
  .catalog-search { flex-basis: 100%; min-width: 0; }
  .catalog-search input { min-width: 0; }
  .catalog-sort { width: 100%; justify-content: space-between; }
  .catalog-sort select { flex: 1; }

  .product-title { font-size: 24px; }
  .product-gallery-thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .product-spec-grid { gap: 12px; }
  .panel { padding: 18px 14px; border-radius: 14px; }

  .cta-inner { padding: 22px 16px; }
  .cta-inner h2 { font-size: 22px; }

  .browse-chip-group { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { gap: 26px; }

  .inq-overlay { padding: 12px; align-items: flex-end; }
  .inq-modal { border-radius: 18px; padding: 22px 16px 16px; }
  .inq-modal h3 { font-size: 17px; }
  .inq-actions { flex-direction: column-reverse; }
  .inq-actions .btn { width: 100%; }
}

@media (max-width: 360px) {
  .features-grid, .values-grid { grid-template-columns: 1fr; }
  .logo-img { max-height: 38px; }
  .product-grid { column-gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ===================== Catalogue (printable) ============================= */

.catalogue-link {
  display: inline-block; margin-left: auto;
  padding: 8px 14px; border-radius: 9px;
  background: #fff; border: 1px solid var(--line);
  color: var(--brand); font-size: 13px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
}
.catalogue-link:hover { border-color: var(--brand); background: #f1f7fb; }
.archive-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.archive-head h1 { margin: 0; }
.archive-count { margin-left: 2px; }

.catalogue-actions { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.catalogue-head {
  display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  align-items: flex-start; padding: 22px 0 20px;
  border-top: 4px solid var(--brand);
  border-bottom: 1px solid var(--line); margin-bottom: 26px;
}
.catalogue-brand { display: flex; gap: 14px; align-items: center; }
.catalogue-brand .logo-mark { background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; }
.catalogue-brand > div { display: flex; flex-direction: column; gap: 1px; }
.catalogue-brand strong { font-size: 16px; color: var(--ink); }
.catalogue-brand span { font-size: 12.5px; color: var(--muted); }
.catalogue-title { text-align: right; }
.catalogue-title h1 { font-size: 26px; margin: 4px 0 0; }
.catalogue-meta { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.cat-section { margin-bottom: 22px; }
.cat-section-title {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 17px; color: var(--brand); margin: 0 0 8px;
  padding-bottom: 4px; border-bottom: 1.5px solid var(--brand);
}
.cat-section-title span { font-size: 12px; color: var(--muted); font-weight: 600; }
.cat-section.depth-1 .cat-section-title { font-size: 16px; color: var(--ink); border-bottom-color: var(--line); }
.cat-section.depth-2 .cat-section-title { font-size: 14.5px; color: var(--ink-2); border-bottom: none; }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 4px 0; font-size: 13.5px; color: var(--ink-2);
}
.cat-item-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cat-item-sku { font-size: 12px; color: var(--muted); white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  padding-left: 12px; border-left: 2px solid var(--line); }
.catalogue-foot { margin-top: 26px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }

@media print {
  .site-header, .site-footer, .breadcrumb, .no-print, .catalogue-actions, .catalogue-foot { display: none !important; }
  body { background: #fff; color: #000; }
  main { padding: 0; }
  .container { max-width: none; padding: 0; }
  .catalogue-head { border-top-width: 3px; margin-bottom: 18px; }
  a { color: inherit; text-decoration: none; }
  .cat-section { break-inside: avoid-page; }
  .cat-section-title { break-after: avoid; }
  .cat-list li { break-inside: avoid-page; }
  @page { margin: 14mm; }
}