/* =====================================================================
   FastenPro Industrial — Global Stylesheet
   Static front-end (no build step). Sections:
   1. Tokens & reset  2. Typography & utilities  3. Buttons & forms
   4. Header  5. Hero  6. Sections  7. Cards & grids  8. Banners
   9. Catalog (filters/list)  10. Product detail  11. Content pages
   12. Footer  13. Responsive
   ===================================================================== */

/* ---------- 1. Tokens & reset ---------- */
:root {
  --navy: #383f51;
  --navy-2: #232833;
  --blue: #1b5fa8;
  --blue-d: #164e8b;
  --accent: #ff6a13;
  --accent-d: #df5609;
  --ink: #16202e;
  --muted: #6c7788;
  --muted-2: #93a0b3;
  --line: #e3e8ef;
  --line-2: #eef1f6;
  --bg: #f4f6fa;
  --white: #fff;
  --green: #16a34a;
  --red: #e11d48;
  --amber: #ffb020;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 54, .05), 0 3px 10px rgba(16, 32, 54, .05);
  --shadow: 0 10px 30px rgba(16, 32, 54, .11);
  --shadow-lg: 0 22px 55px rgba(10, 26, 46, .18);
  --container: 1280px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; line-height: 1.22; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- 2. Typography & utilities ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 22px; }

.text-accent { color: var(--accent); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.hide { display: none !important; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section { padding: 72px 0; }
.section--tight { padding: 52px 0; }
.section--alt { background: var(--bg); }
.section--navy { background: var(--navy); color: #dbe4f0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.section-head h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 620px; }
.section-head .link-more {
  white-space: nowrap;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.section-head .link-more:hover { color: var(--accent); }
.section-head .link-more::after { content: "→"; transition: transform .2s; }
.section-head .link-more:hover::after { transform: translateX(4px); }

/* ---------- 3. Buttons & forms ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-d); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }

.btn-dark { --btn-bg: var(--navy); }
.btn-dark:hover { background: var(--navy-2); }
.btn-blue { --btn-bg: var(--blue); }
.btn-blue:hover { background: var(--blue-d); }
.btn-outline {
  --btn-bg: transparent; --btn-fg: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { --btn-bg: var(--navy); --btn-fg: #fff; border-color: var(--navy); }
.btn-ghost-light { --btn-bg: rgba(255,255,255,.14); --btn-fg: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-lg { padding: 16px 32px; font-size: 16.5px; }
.btn-block { width: 100%; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field .req { color: var(--accent); }
.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27, 95, 168, .13);
}
.textarea { min-height: 132px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236c7788' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-note { font-size: 13px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

/* ---------- 4. Header ---------- */
.site-header { position: sticky; top: 0; z-index: 90; background: var(--white); }

.topbar {
  background: var(--navy);
  color: #b9c7da;
  font-size: 13.5px;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar a:hover { color: #fff; }
.topbar-list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-list li { display: flex; align-items: center; gap: 7px; }
.topbar-list svg { width: 15px; height: 15px; opacity: .8; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-right .lang { color: #fff; font-weight: 700; letter-spacing: .04em; }
.topbar-right .lang span { color: #7d8ea6; font-weight: 500; }
.topbar-right .lang .sep-dim { color: #4f6280; font-weight: 400; margin: 0 4px; }
.topbar-right .top-lang-sel { color: #fff; position: relative; padding-bottom: 10px; }
.topbar-right .top-lang-sel em {
  position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

.mainbar { border-bottom: 1px solid var(--line-2); }
.mainbar .container {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark {
  width: 42px; height: 42px;
  border-radius: 11px;
  /* background: linear-gradient(135deg, var(--navy), var(--blue)); */
  display: grid; place-items: center;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.logo-mark svg { width: 24px; height: 24px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b { font-size: 20px; letter-spacing: -.02em; }
.logo-text span { font-size: 11.5px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.search { flex: 1; display: flex; position: relative; max-width: 640px; }
.search input {
  width: 100%;
  padding: 13px 130px 13px 18px;
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
}
.search input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(27,95,168,.13); }
.search .btn {
  position: absolute; right: 5px; top: 5px; bottom: 5px;
  padding: 0 22px;
  border-radius: 7px;
}

.mainbar-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  color: var(--muted);
  background: transparent; border: 0;
  transition: background .2s, color .2s;
  position: relative;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--bg); color: var(--navy); }
.icon-btn .badge {
  position: absolute; top: 3px; right: 4px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid #fff;
}

.hamburger { display: none; }

.navbar { background: var(--bg); border-bottom: 1px solid var(--line-2); }
.navbar .container { display: flex; align-items: center; gap: 18px; min-height: 50px; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 14.5px;
  border: 0; border-radius: var(--radius-sm);
}
.nav-toggle:hover { background: var(--accent-d); }
.nav-toggle svg { width: 18px; height: 18px; }
.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  padding: 8px 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 7px;
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: #fff; color: var(--blue); }
.main-nav a.active { color: var(--accent); }
.navbar .nav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.navbar .nav-right a:hover { color: var(--accent); }

/* Mobile drawer nav */
.mobile-nav {
  position: fixed; inset: 0 auto 0 0;
  width: 300px; max-width: 86vw;
  background: var(--white);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform .28s ease;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { transform: none; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.mobile-nav-head b { font-size: 16px; }
.mobile-nav a { display: block; padding: 14px 18px; border-bottom: 1px solid var(--line-2); font-weight: 600; }
.mobile-nav a:hover { background: var(--bg); color: var(--blue); }
.mobile-nav .mn-sub { padding-left: 16px; font-weight: 500; font-size: 14.5px; color: var(--muted); }
.overlay {
  position: fixed; inset: 0;
  background: rgba(9, 20, 35, .5);
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
  z-index: 190;
}
.overlay.open { opacity: 1; visibility: visible; }

/* ---------- 4b. Categories mega menu (All Categories popup) ---------- */
.navbar .container { position: relative; }
.cat-menu {
  /* markup now lives at the bottom of the page, so anchor it to the viewport;
     initCatMenu() writes --cat-top / --cat-left / --cat-width when it opens */
  position: fixed;
  top: var(--cat-top, 164px);
  left: var(--cat-left, 22px);
  width: var(--cat-width, calc(100vw - 44px));
  --cat-maxh: min(470px, calc(100vh - var(--cat-top, 164px) - 24px));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 130;
}

.cat-menu.open { opacity: 1; visibility: visible; transform: none; }

/* left rail: top-level categories */
.cat-rail {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 10px;
  border-right: 1px solid var(--line-2);
  max-height: var(--cat-maxh); overflow-y: auto;
}
.cat-rail button {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 9px 10px;
  border: 0; background: none;
  border-radius: 8px;
  font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--ink);
  text-align: left;
  transition: background .15s, color .15s;
}
.cat-rail button svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--muted); transition: color .15s; }
.cat-rail button:hover { background: var(--bg); }
.cat-rail button.active { background: #f1f3f7; }
.cat-rail button.active svg { color: var(--blue); }

/* right panel: title + sub-groups (one .cat-panel per category) */
.cat-main { padding: 26px 28px 30px; max-height: var(--cat-maxh); overflow-y: auto; }
.cat-panel { display: none; }
.cat-panel.active { display: block; }
.cat-title {
  display: block;
  font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.015em; line-height: 1.2;
  color: var(--ink); margin: 0 0 22px;
  transition: color .15s;
}
.cat-title:hover { color: var(--blue); }
.cat-groups { width: 100%;height: auto; gap: 26px 30px; }
.cat-group h4 { font-size: 15px; font-weight: 700; margin: 0 0 9px; }
.cat-group h4 a { transition: color .15s; }
.cat-group h4 a:hover { color: var(--blue); }
.cat-group ul {
  list-style:none;
  padding:0; width: 100%;}
.cat-group ul li{display: inline-block;padding-right: 10px;}
.cat-group li a {
  font-size: 13.5px; color: var(--muted); line-height: 1.35;
  transition: color .15s;
  
}
.cat-group li a:hover { color: var(--accent); }

.nav-toggle .caret { width: 15px; height: 15px; margin-left: 2px; transition: transform .2s; }
.nav-toggle.open .caret { transform: rotate(180deg); }

@media (max-width: 1080px) {
  .cat-menu { grid-template-columns: 190px minmax(0, 1fr); }
  .cat-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .cat-main { padding: 20px; }
}
@media (max-width: 720px) {
  .cat-menu { grid-template-columns: minmax(0, 1fr); }
  .cat-rail {
    flex-direction: row; gap: 6px;
    max-height: none; overflow-y: hidden; overflow-x: auto;
    border-right: 0; border-bottom: 1px solid var(--line-2);
    padding: 10px;
  }
  .cat-rail button { width: auto; white-space: nowrap; }
  .cat-groups { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cat-title { margin-bottom: 16px; }
}


/* ---------- 4c. Language switcher dropdown (replaces Account + Cart) ---------- */
.lang-switch {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  background: transparent; border: 0;
  color: var(--muted);
  font-size: 13px; font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s;
  position: relative;
}
.lang-switch:hover { background: var(--bg); color: var(--navy); }
.lang-switch.open { background: var(--bg); color: var(--navy); }
.lang-switch .lang-ic svg { width: 20px; height: 20px; }
.lang-switch .lang-flag { font-size: 16px; line-height: 1; }
.lang-switch .lang-code { letter-spacing: .04em; }
.lang-switch .caret { width: 14px; height: 14px; margin-left: -2px; transition: transform .2s; }
.lang-switch.open .caret { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 140;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.lang-dropdown.open { opacity: 1; visibility: visible; transform: none; }
.lang-dropdown::before, .lang-dropdown::after {
  content: ""; position: absolute;
  right: 18px;
  width: 0; height: 0;
  border-style: solid;
}
.lang-dropdown::before { top: -7px; border-width: 0 7px 7px; border-color: transparent transparent var(--line) transparent; }
.lang-dropdown::after  { top: -6px; border-width: 0 6px 6px; border-color: transparent transparent #fff transparent; }

.lang-dropdown button {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 0; border-radius: 8px;
  background: transparent;
  font-size: 14px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background .15s;
}
.lang-dropdown button:hover { background: var(--bg); }
.lang-dropdown button.active {
  background: rgba(27, 95, 168, .06);
  color: var(--blue);
  font-weight: 700;
}
.lang-dropdown .ld-flag { font-size: 18px; line-height: 1; }
.lang-dropdown .ld-code {
  flex: 0 0 34px; font-weight: 700; font-size: 13px; letter-spacing: .04em; color: var(--muted);
}
.lang-dropdown button.active .ld-code { color: var(--blue); }
.lang-dropdown .ld-label { flex: 1; }
.lang-dropdown .ld-check {
  width: 16px; height: 16px; color: var(--accent); flex-shrink: 0;
}

@media (max-width: 720px) {
  .lang-switch .lang-code { display: none; }
  .lang-switch .caret { display: none; }
  .lang-dropdown { right: 0; left: auto; }
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  background: var(--white);
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.hero-viewport { overflow: hidden; touch-action: pan-y; }
.hero-track {
  display: flex;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.hero-slide { flex: 0 0 100%; width: 100%; }
.hero.dragging { cursor: grabbing; }
.hero.dragging .hero-track { transition: none; }
.hero-inner {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero-inner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 22, 40, .92) 0%, rgba(8, 22, 40, .78) 42%, rgba(8, 22, 40, .28) 100%);
  z-index: 1;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.hero-content { position: relative; z-index: 2; max-width: 640px; color: #fff; padding: 60px 0; }
.hero-content .eyebrow { color: var(--amber); }
.hero-content h1 { font-size: clamp(30px, 4.4vw, 52px); color: #fff; margin-bottom: 16px; }
.hero-content p { font-size: clamp(16px, 1.5vw, 19px); color: #cfd9e7; max-width: 520px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-dots button {
  width: 42px; height: 4px; border: 0; border-radius: 4px;
  background: rgba(255, 255, 255, .35);
  transition: background .2s;
}
.hero-dots button.active { background: var(--accent); }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(10, 24, 42, .35);
  color: #fff; display: grid; place-items: center;
  transition: background .2s;
}
.hero-arrow:hover { background: var(--accent); border-color: var(--accent); }
.hero-arrow svg { width: 20px; height: 20px; }
.hero-arrow.prev { left: 22px; }
.hero-arrow.next { right: 22px; }

/* ---------- 6. Sections: feature strip / stats ---------- */
.feature-strip { background: var(--white); border-bottom: 1px solid var(--line-2); }
.feature-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 30px; padding-bottom: 30px; }
.feature {
  display: flex; gap: 14px; align-items: flex-start;
}
.feature-ic {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px;
  background: rgba(27, 95, 168, .1); color: var(--blue);
  display: grid; place-items: center;
}
.feature-ic i {color: #16202e;font-size: xx-large;}
.feature b { display: block; font-size: 15px; }
.feature span { font-size: 13.5px; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat b { display: block; font-size: clamp(30px, 3.6vw, 46px); color: var(--accent); font-weight: 800; letter-spacing: -.02em; }
.stat span { font-size: 14.5px; color: #a9b8cd; }
.section--navy .stat span { color: #a9b8cd; }
.stat--light b { color: var(--blue); }
.stat--light span { color: var(--muted); }

/* ---------- 7. Cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-products { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-cats { grid-template-columns: repeat(5, 1fr); }

/* Category tile */
.cat-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  height: 100%;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card img {
  width: 100%; aspect-ratio: 4/3; object-fit: contain;
  margin-bottom: 12px;
  mix-blend-mode: multiply;
}
.cat-card b { font-size: 15px; }
.cat-card span { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* Product card */
.product-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s, box-shadow .22s, border-color .18s;
  height: 100%;
  position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pc-media { position: relative; background: #fff; border-bottom: 1px solid var(--line-2); }
.pc-media img { width: 100%; aspect-ratio: 1/1; object-fit: contain; padding: 16px; }
.pc-tags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.tag {
  font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 5px; color: #fff; background: var(--accent);
}
.tag--sale { background: var(--red); }
.tag--new { background: var(--green); }
.tag--hit { background: var(--blue); }
.pc-body { padding: 15px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pc-art { font-size: 12px; color: var(--muted-2); margin-bottom: 6px; }
.pc-title { font-size: 15px; font-weight: 600; line-height: 1.35; margin-bottom: 9px; min-height: 40px; }
.pc-title:hover { color: var(--blue); }
.pc-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.pc-meta a { color: var(--blue); font-weight: 600; }
.pc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pc-price { display: flex; flex-direction: column; line-height: 1.15; }
.pc-price .now { font-size: 20px; font-weight: 800; color: var(--ink); }
.pc-price .old { font-size: 13px; color: var(--muted-2); text-decoration: line-through; }
.pc-price .now--sale { color: var(--red); }
.pc-add {
  flex: 0 0 auto;
  width: 44px; height: 44px; border-radius: 11px;
  border: 0; background: var(--navy); color: #fff;
  display: grid; place-items: center;
  transition: background .2s, transform .15s;
}
.pc-add:hover { background: var(--accent); transform: translateY(-1px); }
.pc-add svg { width: 21px; height: 21px; }
.pc-stock { font-size: 12px; font-weight: 600; color: var(--green); display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.pc-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pc-stock.out { color: var(--muted-2); }

/* Product grid — list view */
.grid-products.list-view { grid-template-columns: 1fr; gap: 16px; }
.grid-products.list-view .product-card { flex-direction: row; align-items: stretch; }
.grid-products.list-view .pc-media { width: 210px; flex-shrink: 0; border-bottom: 0; border-right: 1px solid var(--line-2); }
.grid-products.list-view .pc-media img { height: 100%; aspect-ratio: auto; min-height: 180px; }
.grid-products.list-view .pc-body { padding: 20px 24px; }
.grid-products.list-view .pc-title { font-size: 18px; min-height: 0; }

/* Collapsible filter group (mobile) */
.filter-box.collapsed .filter-body { display: none; }
.filter-box h4 { cursor: default; }
@media (max-width: 900px) { .filter-box h4 { cursor: pointer; } }

/* ---------- 8. Banners / promos ---------- */
.banner-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; }
.promo {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  min-height: 260px;
  display: flex; align-items: center;
  color: #fff;
}
.promo--tall { min-height: 100%; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9, 24, 43, .9), rgba(9, 24, 43, .35));
}
.promo-content { position: relative; z-index: 1; padding: 34px; max-width: 460px; }
.promo-content .discount {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  background: var(--accent); color: #fff; padding: 5px 11px; border-radius: 6px; margin-bottom: 14px;
}
.promo-content h3 { font-size: clamp(20px, 2.3vw, 30px); color: #fff; }
.promo-content p { color: #cbd7e6; margin-bottom: 20px; }

.loyalty {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue) 100%);
  border-radius: var(--radius);
  padding: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 34px;
  color: #fff;
  position: relative; overflow: hidden;
}
.loyalty::before {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,106,19,.35), transparent 68%);
}
.loyalty > * { position: relative; z-index: 1; }
.loyalty h3 { font-size: clamp(22px, 2.6vw, 32px); color: #fff; }
.loyalty p { color: #c6d3e5; max-width: 560px; margin: 0; }
.loyalty-steps { display: flex; gap: 26px; margin-top: 20px; flex-wrap: wrap; }
.loyalty-steps div { font-size: 14px; color: #dbe4f0; }
.loyalty-steps b { display: block; color: var(--amber); font-size: 22px; }

/* News / case cards */
.media-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  height: 100%;
}
.media-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.media-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.media-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.media-kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; color: var(--muted); margin-bottom: 10px;
}
.media-kicker .chip {
  background: rgba(27,95,168,.1); color: var(--blue);
  font-weight: 700; padding: 3px 9px; border-radius: 5px; font-size: 12px;
}
.media-card h3 { font-size: 18px; margin-bottom: 9px; }
.media-card h3:hover { color: var(--blue); }
.media-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.media-card .readmore { margin-top: auto; font-weight: 700; color: var(--blue); font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.media-card:hover .readmore { color: var(--accent); }

.case-card img { aspect-ratio: 4/3; }
.case-card .case-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.case-card .case-facts span {
  font-size: 12.5px; background: var(--bg); border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 20px; color: var(--muted);
}

/* Featured / big list card */
.feature-card { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; }
.feature-card img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.feature-card .fc-body { padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; }
.feature-card h3 { font-size: clamp(20px, 2.2vw, 27px); }
.feature-card p { color: var(--muted); }
.check-list { display: grid; gap: 11px; margin: 6px 0 22px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; }
.check-list svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--green); margin-top: 2px; }

/* ---------- 9. Catalog page ---------- */
.page-head { padding: 30px 0 8px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span.sep { color: var(--muted-2); }
.breadcrumbs span.cur { color: var(--ink); font-weight: 600; }

.page-title { font-size: clamp(26px, 3.2vw, 40px); margin: 0 0 10px; }
.page-lead { color: var(--muted); max-width: 780px; }

.catalog-layout { display: grid; grid-template-columns: 276px 1fr; gap: 30px; align-items: start; padding: 26px 0 72px; }

.filters { position: sticky; top: 132px; }
.filter-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.filter-box + .filter-box { margin-top: 18px; }
.filter-box h4 { font-size: 15px; margin: 0; padding: 15px 18px; border-bottom: 1px solid var(--line-2); }
.filter-body { padding: 14px 18px 18px; }
.filter-list li { margin-bottom: 9px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; color: var(--ink); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .t1{font-weight: bold;}
.check .active{ color: #e11d48;}
.check .box {
  flex: 0 0 19px; width: 19px; height: 19px; border: 1.5px solid var(--line); border-radius: 5px;
  display: grid; place-items: center; transition: all .15s; background: #fff;
}
.check .box2 {
  flex: 0 0 19px; width: 19px; height: 19px; margin-left: 10px; border: 1.5px solid var(--line); border-radius: 5px;
  display: grid; place-items: center; transition: all .15s; background: #fff;
}
.check .box svg { width: 12px; height: 12px; color: #fff; opacity: 0; }
.check input:checked + .box { background: var(--blue); border-color: var(--blue); }
.check input:checked + .box svg { opacity: 1; }
.check .cnt { margin-left: auto; font-size: 12.5px; color: var(--muted-2); }
.check:hover .box { border-color: var(--blue); }

.range-row { display: flex; align-items: center; gap: 10px; }
.range-row input { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; font-size: 14px; }
.range-row span { color: var(--muted-2); }

.catalog-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 18px; margin-bottom: 22px;
  flex-wrap: wrap;
}
.catalog-toolbar .count { font-size: 14px; color: var(--muted); }
.catalog-toolbar .count b { color: var(--ink); }
.toolbar-right { display: flex; align-items: center; gap: 14px; }
.sort-wrap { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); }
.sort-wrap .select { padding: 8px 34px 8px 12px; font-size: 14px; width: auto; }
.view-switch { display: flex; gap: 4px; }
.view-switch button { width: 36px; height: 36px; border: 1px solid var(--line); background: #fff; border-radius: 8px; color: var(--muted); display: grid; place-items: center; }
.view-switch button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.view-switch svg { width: 17px; height: 17px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 12px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 9px;
  font-weight: 600; color: var(--ink); background: #fff;
}
.pagination a:hover { border-color: var(--navy); color: var(--navy); }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .disabled { color: var(--muted-2); }


.pages{padding: 20px 0;width:100%;text-align: center;clear: both;}
.pages a,.pages span{color: #666;padding: 0 15px;margin: 0 3px;display: inline-block;vertical-align: middle;line-height: 34px;background: #f9f9f9;border: 1px solid #f2f2f2;}
.pages a:hover{display:inline-block;color: #fff;background: #383f51;border-color: #383f51;box-shadow: 0 0 14px rgba(0, 0, 0, .2);}
.pages span{display:inline-block;color: #666;}
.pages a.page-num-current{display:inline-block;color: #fff;background: #383f51;border-color: #383f51;box-shadow: 0 0 14px rgba(0, 0, 0, .2);}
.text-secondary{text-align: center; padding:10px 0}



.cat-hero { background: var(--bg); border-bottom: 1px solid var(--line); padding: 30px 0; }
.cat-hero .container { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.cat-hero img { width: 96px; height: 96px; object-fit: contain; }
.cat-hero h1 { margin: 0 0 6px; }
.cat-hero p { margin: 0; color: var(--muted); max-width: 700px; }

/* ---------- 10. Product detail ---------- */
.product-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; padding: 26px 0 12px; }
.gallery { display: flex; gap: 16px; }
.gallery-thumbs { display: flex; flex-direction: column; gap: 12px; width: 84px; flex-shrink: 0;justify-content: center;}
.gallery-thumbs button { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 6px; transition: border-color .2s; }
.gallery-thumbs button.active { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,95,168,.13); }
.gallery-thumbs img { aspect-ratio: 1/1; object-fit: contain; }
.gallery-main { flex: 1; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; position: relative; overflow: hidden; }
.gallery-main img { width: 100%; aspect-ratio: 1/1; object-fit: contain; padding: 26px; }
.gallery-main .zoom-hint { position: absolute; bottom: 14px; right: 16px; font-size: 12.5px; color: var(--muted); background: rgba(255,255,255,.9); padding: 5px 10px; border-radius: 20px; }

.pd-info .pd-art { font-size: 13px; color: var(--muted-2); margin-bottom: 8px; }
.pd-info h1 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 14px; }
.pd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pd-badges .tag { position: static; }
.pd-price-box { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.pd-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.pd-price .now { font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.pd-price .old { font-size: 18px; color: var(--muted-2); text-decoration: line-through; }
.pd-price .save { font-size: 13px; font-weight: 700; color: #fff; background: var(--red); padding: 4px 9px; border-radius: 5px; }
.pd-avail { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--green); font-weight: 600; }
.pd-avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pd-buy { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.qty button { width: 44px; height: 48px; border: 0; background: #fff; font-size: 20px; color: var(--muted); }
.qty button:hover { background: var(--bg); color: var(--accent); }
.qty input { width: 52px; height: 48px; border: 0; text-align: center; font-size: 16px; font-weight: 700; }

.pd-short { display: grid; gap: 10px; margin: 22px 0; }
.pd-short li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink); }
.pd-short span { color: var(--muted); min-width: 130px; }

.pd-assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.pd-assure div { text-align: center; padding: 14px 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 13px; color: var(--muted); }
.pd-assure svg { width: 22px; height: 22px; color: var(--blue); margin: 0 auto 7px; }

.tabs { margin-top: 52px; }
.tab-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tab-nav button {
  padding: 14px 22px; border: 0; background: transparent;
  font-size: 15px; font-weight: 700; color: var(--muted);
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.tab-nav button.active { color: var(--navy); border-bottom-color: var(--accent); }
.tab-panel { display: none; padding: 30px 0; }
.tab-panel.active { display: block; }
.prose { color: #2b3848; max-width: 900px; }
.prose h3 { margin-top: 1.4em; font-size: 21px; }
.prose p { color: #46556a; }
.prose ul { margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 8px; color: #46556a; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table tr:nth-child(odd) { background: var(--bg); }
.spec-table th, .spec-table td { padding: 13px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line-2); }
.spec-table th { width: 42%; font-weight: 600; color: var(--muted); }
.spec-table td { color: var(--ink); font-weight: 600; }

/* ---------- 11. Content pages ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split.reverse .split-media { order: 2; }

.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item::before { content: ""; position: absolute; left: -33px; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); }
.timeline-item h3 { font-size: 18px; margin-bottom: 4px; }
.timeline-item .yr { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: .06em; }
.timeline-item p { color: var(--muted); margin: 0; }

.value-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; height: 100%; }
.value-card .vc-ic { width: 50px; height: 50px; border-radius: 13px; background: rgba(255,106,19,.1); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.value-card .vc-ic svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 18px; }
.value-card p { color: var(--muted); margin: 0; font-size: 14.5px; }

.team-card { text-align: center; }
.team-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; }
.team-card b { display: block; font-size: 16px; }
.team-card span { font-size: 13.5px; color: var(--muted); }

.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.logo-wall div {
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  min-height: 92px; display: grid; place-items: center;
  font-weight: 800; color: var(--muted); letter-spacing: .04em; font-size: 15px;
  transition: color .2s, border-color .2s, transform .2s;
}
.logo-wall div:hover { color: var(--navy); border-color: var(--navy); transform: translateY(-3px); }

.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; padding: 26px 0 72px; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-card .cc-ic { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; background: rgba(27,95,168,.1); color: var(--blue); display: grid; place-items: center; }
.contact-card .cc-ic svg { width: 23px; height: 23px; }
.contact-card b { display: block; font-size: 15px; }
.contact-card a, .contact-card span { font-size: 14.5px; color: var(--muted); }
.contact-card a:hover { color: var(--accent); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--bg); display: grid; place-items: center; text-align: center; color: var(--muted); padding: 30px; }
.map-embed svg { width: 46px; height: 46px; color: var(--blue); margin: 0 auto 12px; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.hours-table td:last-child { text-align: right; font-weight: 700; }
.hours-table .closed { color: var(--red); }

/* Article (news / case detail) */
.article-hero { position: relative; min-height: 380px; display: flex; align-items: flex-end; background: var(--navy); overflow: hidden; }
.article-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,20,36,.92), rgba(8,20,36,.25)); }
.article-hero .container { position: relative; z-index: 1; padding-bottom: 40px; padding-top: 60px; color: #fff; }
.article-hero h1 { color: #fff; font-size: clamp(26px, 3.4vw, 44px); max-width: 900px; margin-bottom: 12px; }
.article-hero .meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: #c2cfe0; }
.article-hero .meta b { color: #fff; }

.article-body { padding: 52px 0; }
.article-figure { margin: 30px 0; }
.article-figure img { width: 100%; border-radius: var(--radius); }
.article-figure figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; text-align: center; }

.article-quote {
  border-left: 4px solid var(--accent);
  background: var(--bg);
  padding: 22px 26px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
  font-size: 17px;
  font-style: italic;
  color: var(--ink);
}
.article-quote cite { display: block; margin-top: 10px; font-size: 14px; font-style: normal; color: var(--muted); font-weight: 600; }

.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 26px 0; }
.fact { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
.fact b { display: block; font-size: 22px; color: var(--blue); }
.fact span { font-size: 13.5px; color: var(--muted); }

.share-row { display: flex; align-items: center; gap: 12px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.share-row a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.share-row a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.share-row svg { width: 17px; height: 17px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag-row a { font-size: 13px; padding: 6px 13px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); }
.tag-row a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.aside-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.aside-box h4 { font-size: 16px; margin-bottom: 16px; }
.aside-box + .aside-box { margin-top: 20px; }
.mini-post { display: flex; gap: 13px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.mini-post:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-post img { width: 74px; height: 60px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.mini-post b { font-size: 14px; font-weight: 600; line-height: 1.35; display: block; }
.mini-post b:hover { color: var(--blue); }
.mini-post span { font-size: 12px; color: var(--muted-2); }
.aside-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; padding: 40px 0 72px; }

.filter-chips { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-chips button {
  padding: 8px 16px; border-radius: 22px; border: 1px solid var(--line); background: #fff;
  font-size: 14px; font-weight: 600; color: var(--muted); transition: all .18s;
}
.filter-chips button:hover { border-color: var(--blue); color: var(--blue); }
.filter-chips button.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.newsletter {
  background-image: url("../img/mewsletter.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  /* background: var(--navy); */
  border-radius: var(--radius); 
  padding: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; color: #fff;
}
.newsletter h3 { color: #fff; margin-bottom: 6px; }
.newsletter p { color: #beccdf; margin: 0; }
.newsletter borm { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input { min-width: 260px; padding: 13px 16px; border: 0; border-radius: var(--radius-sm); font-size: 15px; }
.newsletter input:focus { outline: none; box-shadow: 0 0 0 3px rgba(255,106,19,.5); }

.cta-band { background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding-top: 40px; padding-bottom: 40px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(22px, 2.6vw, 32px); }
.cta-band p { color: #cad6e6; margin: 6px 0 0; }

/* ---------- 12. Footer ---------- */
.site-footer { background: var(--navy); color: #9fb0c6; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: .02em; }
.site-footer .logo-text b { color: #fff; }
.site-footer .logo-text span { color: #7f92ab; }
.footer-about p { font-size: 14px; margin-top: 16px; max-width: 340px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; }
.footer-links a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 13px; font-size: 14px; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #cdd9e8; }
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Cart drawer & toast ---------- */
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 390px; max-width: 92vw; background: #fff; z-index: 210;
  transform: translateX(100%); transition: transform .28s ease;
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.cart-head b { font-size: 17px; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.cart-item img { width: 66px; height: 66px; object-fit: contain; border: 1px solid var(--line); border-radius: 9px; flex-shrink: 0; background: #fff; }
.cart-item .ci-body { flex: 1; min-width: 0; }
.cart-item .ci-title { font-size: 14px; font-weight: 600; line-height: 1.35; margin-bottom: 6px; }
.cart-item .ci-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cart-item .ci-price { font-weight: 800; }
.cart-item .qty { border-radius: 7px; }
.cart-item .qty button { width: 30px; height: 30px; font-size: 16px; }
.cart-item .qty input { width: 38px; height: 30px; font-size: 14px; }
.ci-remove { border: 0; background: transparent; color: var(--muted-2); padding: 4px; }
.ci-remove:hover { color: var(--red); }
.ci-remove svg { width: 16px; height: 16px; }
.cart-foot { border-top: 1px solid var(--line); padding: 20px 22px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.cart-total b { font-size: 24px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.cart-empty svg { width: 54px; height: 54px; color: var(--line); margin: 0 auto 14px; }
.drawer-close { border: 0; background: var(--bg); width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); }
.drawer-close:hover { background: var(--line); color: var(--ink); }
.drawer-close svg { width: 18px; height: 18px; }

.toast-wrap { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 260; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
  background: var(--navy); color: #fff;
  padding: 13px 22px; border-radius: 30px;
  font-size: 14.5px; font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  animation: toastIn .3s ease;
}
.toast svg { width: 18px; height: 18px; color: var(--green); }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.back-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 150;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff; border: 0;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: all .25s;
  box-shadow: var(--shadow);
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--accent); }
.back-top svg { width: 20px; height: 20px; }

/* ---------- floating WhatsApp contact button ---------- */
.wa-fab {
  position: fixed; right: 24px; bottom: 92px; z-index: 151;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .38);
  transition: transform .2s, background .2s, box-shadow .2s;
}
.wa-fab::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%; border: 2px solid #25d366;
  animation: waPulse 2.6s ease-out infinite;
}
.wa-fab:hover { background: #1ebe5b; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(37, 211, 102, .5); }
.wa-fab svg { width: 30px; height: 30px; }
@keyframes waPulse {
  0% { transform: scale(1); opacity: .65; }
  100% { transform: scale(1.55); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .wa-fab::after { animation: none; } }

/* ---------- 13. Responsive ---------- */
@media (max-width: 1080px) {
  .grid-products, .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .grid-cats { grid-template-columns: repeat(4, 1fr); }
  .feature-strip .container { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .product-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero-inner { min-height: 440px; }
}

@media (max-width: 900px) {
  .main-nav, .navbar .nav-right { display: none; }
  .hamburger { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--bg); border-radius: var(--radius-sm); color: var(--navy); flex-shrink: 0; }
  .hamburger svg { width: 22px; height: 22px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .banner-grid { grid-template-columns: 1fr; }
  .aside-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split.reverse .split-media { order: 0; }
  .section { padding: 52px 0; }
  .loyalty { flex-direction: column; align-items: flex-start; padding: 32px; }
  .topbar-list { display: none; }
}

@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4, .grid-products { grid-template-columns: repeat(2, 1fr); }
  .grid-cats { grid-template-columns: repeat(2, 1fr); }
  .grid-3.grid-tight, .feature-card { grid-template-columns: 1fr; }
  .feature-card img { min-height: 220px; }
  .search { display: none; }
  .mainbar .container { gap: 12px; }
  .mainbar-actions .icon-btn span { display: none; }
  .hero-inner { min-height: 400px; }
  .hero-arrow { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: 1fr; }
  .newsletter { padding: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pd-assure { grid-template-columns: 1fr; }
  .hero-content { padding: 40px 0; }
}

@media (max-width: 480px) {
  .grid-products, .grid-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .container { padding: 0 15px; }
  .pc-title { font-size: 13.5px; min-height: 36px; }
  .pc-price .now { font-size: 17px; }
  .loyalty-steps { gap: 16px; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
}

/* Print-friendly for spec tables */
@media print {
  .site-header, .site-footer, .back-top, .wa-fab, .cart-drawer, .overlay { display: none !important; }
}
