:root {
  --bg: #f3f4f6;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --line: #e2e8f0;
  --line-strong: #d0d8e4;
  --text: #1f2937;
  --muted: #6b7280;
  --accent: #f7d301;
  --accent-strong: #e7c500;
  --accent-text: #1f2937;
  --ok: #15803d;
  --bad: #be123c;
  --radius: 12px;
  --shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  --accessibility-filter: none;
  filter: var(--accessibility-filter);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1320px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(15, 23, 42, 0.12);
  z-index: 190;
  pointer-events: none;
}

#scroll-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #f7d301, #e7c500);
  transition: width 0.08s linear;
}

.topbar {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.72rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.logo img {
  display: block;
  width: auto;
  height: 44px;
  max-width: 220px;
}

.site-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.site-search input,
.site-search select {
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--text);
  padding: 0 0.78rem;
  font-size: 0.9rem;
}

.site-search input {
  width: 100%;
}

.site-search select {
  width: 200px;
}

.site-search button {
  height: 42px;
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  padding: 0 1rem;
  cursor: pointer;
}

.site-search button:hover {
  background: var(--accent-strong);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.86rem;
}

.main-nav a {
  color: #49566a;
  font-size: 0.88rem;
  font-weight: 600;
}

.main-nav a:hover {
  color: #141c27;
}

.main-nav .lang {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.78rem;
  padding: 0.18rem 0.58rem;
  color: #1d4ed8;
  font-weight: 700;
}

.is-home-header {
  position: static;
}

.header-utility {
  border-bottom: 1px solid var(--line);
  background: #f9fafb;
}

.utility-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.8rem;
  color: var(--muted);
}

.home-main-row {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 0.72rem;
  padding: 0.8rem 0;
}

.menu-trigger {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: #374151;
  cursor: default;
}

.home-search {
  min-width: 0;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-icons span {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  font-size: 0.88rem;
}

.header-navline {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.header-navline .main-nav {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.navline-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  min-height: 46px;
}

.departments-btn {
  min-width: 190px;
  height: 36px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  padding: 0 0.85rem;
  display: inline-flex;
  align-items: center;
}

.lang-home {
  justify-self: end;
}

.page-main {
  padding: 1rem 0 2rem;
}

.section-head {
  margin: 1.25rem 0 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.section-head h1,
.section-head h2 {
  margin: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.home-shell {
  display: grid;
  grid-template-columns: minmax(220px, 260px) 1fr;
  gap: 0.8rem;
}

.departments-panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.departments-panel h2 {
  margin: 0;
  padding: 0.72rem 0.8rem;
  font-size: 0.9rem;
  background: var(--accent);
  color: #1f2937;
}

.departments-list {
  display: grid;
}

.departments-list a {
  border-top: 1px solid var(--line);
  padding: 0.56rem 0.8rem;
  font-size: 0.82rem;
  color: #3f4b5e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.departments-list a:hover {
  background: #f8fafc;
}

.hero-zone {
  display: grid;
  gap: 0.72rem;
}

.hero-banner {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(120deg, #f8fafc, #eef2f7);
  min-height: 340px;
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(220px, 0.9fr);
  overflow: hidden;
}

.hero-copy {
  padding: 1.5rem 1.4rem;
  display: grid;
  align-content: center;
  gap: 0.6rem;
}

.hero-kicker {
  margin: 0;
  color: #2563eb;
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3.1vw, 3rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-copy h1 strong {
  font-weight: 800;
}

.hero-btn {
  width: fit-content;
}

.hero-media {
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 0.7rem;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.promo-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.promo-tile {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  min-height: 88px;
  padding: 0.48rem;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 0.5rem;
  align-items: center;
}

.promo-tile img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.promo-tile p {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promo-tile span {
  font-size: 0.73rem;
  color: #1d4ed8;
  font-weight: 700;
}

.feature-panel {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: minmax(230px, 280px) 1fr;
  gap: 0.8rem;
}

.offer-tile {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0.7rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.offer-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--surface-soft);
  border-radius: 9px;
}

.offer-tile h3 {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.35;
}

.offer-tile p {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
}

.featured-cluster {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0.65rem;
}

.cluster-tabs {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.35rem 0.25rem 0.58rem;
}

.cluster-tabs span {
  font-size: 0.83rem;
  color: #64748b;
  font-weight: 600;
}

.cluster-tabs .active {
  color: #111827;
  border-bottom: 2px solid var(--accent);
}

.mini-grid {
  margin-top: 0.65rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.62rem;
}

.mini-product-card {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  padding: 0.45rem;
}

.mini-media {
  display: block;
  border-radius: 7px;
  background: var(--surface-soft);
  overflow: hidden;
}

.mini-media img {
  width: 100%;
  height: 120px;
  object-fit: contain;
}

.mini-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.45rem;
  min-height: 2.45em;
  font-size: 0.78rem;
  font-weight: 600;
}

.mini-price {
  margin: 0.32rem 0 0;
  font-size: 0.88rem;
  font-weight: 800;
}

.home-mosaic {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.68rem;
}

.home-aq-preview {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.85rem;
  display: grid;
  gap: 0.72rem;
}

.aq-head h2 {
  margin: 0;
  font-size: 1.2rem;
}

.aq-head p {
  margin: 0.3rem 0 0;
  color: #475569;
  font-size: 0.86rem;
}

.aq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.aq-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.62rem;
  background: #f8fafc;
}

.aq-card h3 {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
}

.aq-card p {
  margin: 0.34rem 0 0;
  color: #475569;
  font-size: 0.8rem;
  line-height: 1.45;
}

.home-aq-link {
  width: fit-content;
}

.catalog-shell {
  display: grid;
  grid-template-columns: minmax(240px, 280px) 1fr;
  gap: 0.95rem;
}

.filters-toggle {
  display: none;
}

.filters-overlay {
  display: none;
}

.filters-panel {
  position: sticky;
  top: 78px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem;
  box-shadow: var(--shadow);
}

.filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}

.filters-head h2 {
  margin: 0;
  font-size: 0.95rem;
}

.filters-close {
  display: none;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  color: var(--muted);
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
}

.filter-field {
  margin-bottom: 0.72rem;
}

.filter-field label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.filter-field input,
.filter-field select {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 0 0.62rem;
}

.range-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.catalog-main {
  min-width: 0;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.catalog-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.sort-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.sort-wrap select {
  height: 35px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 0.45rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-media {
  height: 210px;
  background: var(--surface-soft);
  padding: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-body {
  padding: 0.66rem;
  display: grid;
  gap: 0.44rem;
  align-content: start;
}

.card-title {
  font-size: 0.84rem;
  line-height: 1.33;
  font-weight: 600;
  color: #273447;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.45em;
}

.card-brand {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  min-height: 1.1em;
}

.card-attrs {
  margin: 0;
  color: #334155;
  font-size: 0.74rem;
  line-height: 1.35;
  min-height: 1.1em;
}

.card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.card-price {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.stock-badge {
  font-size: 0.69rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.18rem 0.44rem;
  border: 1px solid transparent;
  white-space: nowrap;
}

.stock-badge.in {
  background: #ecfdf3;
  border-color: #b8eac9;
  color: var(--ok);
}

.stock-badge.out {
  background: #fff1f2;
  border-color: #fecdd3;
  color: var(--bad);
}

.btn {
  height: 40px;
  border: 0;
  border-radius: 9px;
  font-weight: 700;
  padding: 0 0.88rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-ghost {
  background: #fff;
  border: 1px solid var(--line-strong);
  color: #334155;
}

.btn-interest {
  width: 100%;
}

.no-results {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.category-chip {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0.62rem;
  display: grid;
  gap: 0.18rem;
}

.category-chip span {
  font-size: 0.84rem;
  font-weight: 600;
}

.category-chip small {
  font-size: 0.74rem;
  color: var(--muted);
}

.product-page {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.back-link {
  display: inline-flex;
  margin-bottom: 0.72rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(320px, 44%) 1fr;
  gap: 1rem;
}

.product-image {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.product-info h1 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.82rem);
  line-height: 1.26;
}

.product-origin {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-price-lg {
  margin: 0.78rem 0 0.16rem;
  font-size: 1.52rem;
  font-weight: 800;
}

.product-stock {
  margin: 0 0 0.8rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.product-stock.in {
  color: var(--ok);
}

.product-stock.out {
  color: var(--bad);
}

.product-meta {
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.product-meta div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.55rem;
}

.product-meta dt {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.product-meta dd {
  margin: 0;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.site-footer {
  margin-top: 1.9rem;
  background: #0f172a;
  border-top: 1px solid #0b1220;
  color: #cbd5e1;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) auto auto;
  gap: 0.8rem 1.2rem;
  align-items: start;
  padding: 1rem 0 0.85rem;
}

.footer-brand {
  max-width: 560px;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 0.4rem;
}

.footer-logo img {
  width: auto;
  height: 46px;
  max-width: 240px;
  background: #fff;
  border-radius: 6px;
  padding: 0.2rem;
}

.footer-brand p {
  margin: 0;
  color: #c3ccda;
  font-size: 0.82rem;
  line-height: 1.55;
}

.footer-help {
  display: grid;
  gap: 0.28rem;
  min-width: 180px;
}

.footer-help h2 {
  margin: 0 0 0.24rem;
  color: #f8fafc;
  font-size: 0.88rem;
}

.footer-help a {
  color: #dbe3ef;
  font-size: 0.82rem;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
  text-underline-offset: 2px;
}

.footer-help a:hover {
  color: #f8fafc;
}

.footer-gemi {
  align-self: center;
  justify-self: end;
  border: 1px solid #334155;
  border-radius: 12px;
  background: #172233;
  padding: 0.55rem 0.72rem;
  text-align: center;
  min-width: 180px;
}

.footer-gemi span {
  display: block;
  font-size: 0.75rem;
  color: #93c5fd;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.footer-gemi strong {
  display: block;
  margin-top: 0.12rem;
  color: #e2e8f0;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
}

.footer-bottom {
  border-top: 1px solid #1f2a3b;
  padding: 0.7rem 0 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.78rem;
  color: #bcc8db;
}

.footer-bottom p a {
  color: #f8fafc;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.36);
}

.footer-compliance {
  display: flex;
  gap: 0.62rem 0.8rem;
  flex-wrap: wrap;
}

.footer-compliance a {
  color: #dbe3ef;
  font-size: 0.79rem;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 100;
}

.modal.open {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
}

.modal-dialog {
  position: relative;
  width: min(560px, calc(100% - 1rem));
  max-height: 90vh;
  overflow: auto;
  margin: 4vh auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.modal-head h2 {
  margin: 0;
  font-size: 1.08rem;
}

.modal-x {
  border: 0;
  background: transparent;
  font-size: 1.25rem;
  cursor: pointer;
}

.modal-product {
  margin: 0.52rem 0 0.28rem;
  font-weight: 700;
}

.modal-link {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.modal-tools {
  margin: 0.72rem 0;
}

.modal-form {
  display: grid;
  gap: 0.58rem;
}

.modal-form label {
  display: grid;
  gap: 0.32rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.modal-form input,
.modal-form textarea {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0.56rem 0.62rem;
  font: inherit;
}

.modal-open {
  overflow: hidden;
}

@media (max-width: 1200px) {
  .home-mosaic {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .aq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .home-main-row {
    grid-template-columns: auto auto 1fr;
  }

  .header-icons {
    display: none;
  }

  .home-shell {
    grid-template-columns: 1fr;
  }

  .departments-panel {
    display: none;
  }

  .hero-banner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-media {
    min-height: 220px;
  }

  .promo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-panel {
    grid-template-columns: 1fr;
  }

  .offer-tile {
    grid-template-columns: 200px 1fr;
    align-items: center;
  }

  .offer-tile img {
    width: 180px;
    height: 180px;
  }

  .home-mosaic,
  .product-grid,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: 1fr auto;
  }

  .footer-help {
    order: 3;
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .main-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .catalog-shell {
    grid-template-columns: 1fr;
  }

  .filters-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 38px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: #fff;
    color: #334155;
    padding: 0 0.8rem;
    font-weight: 700;
  }

  .filters-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: min(360px, calc(100% - 2rem));
    height: 100vh;
    border-radius: 0;
    transform: translateX(-104%);
    transition: transform 0.22s ease;
    z-index: 101;
    overflow: auto;
  }

  .filters-close {
    display: inline-flex;
  }

  body.filters-open .filters-panel {
    transform: translateX(0);
  }

  .filters-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 100;
  }

  body.filters-open .filters-overlay {
    display: block;
  }

  .navline-inner {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 0.45rem 0;
  }

  .departments-btn {
    min-width: 0;
    width: fit-content;
  }

  .lang-home {
    justify-self: start;
  }

  .home-mosaic,
  .product-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aq-grid {
    grid-template-columns: 1fr;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    padding-top: 0.9rem;
  }

  .footer-gemi {
    justify-self: start;
  }

  .footer-help {
    order: initial;
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(1320px, calc(100% - 1rem));
  }

  .site-search {
    flex-wrap: wrap;
  }

  .site-search select {
    width: 100%;
  }

  .site-search button {
    width: 100%;
  }

  .logo img {
    height: 36px;
    max-width: 180px;
  }

  .promo-strip {
    grid-template-columns: 1fr;
  }

  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-mosaic,
  .product-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.52rem;
  }

  .home-aq-preview {
    padding: 0.72rem;
  }

  .card-media {
    height: 165px;
  }

  .product-meta div {
    grid-template-columns: 1fr;
    gap: 0.16rem;
  }

  .footer-logo img {
    height: 40px;
    max-width: 200px;
  }

  .footer-bottom {
    align-items: flex-start;
  }
}

/* Legal pages */
.legal-page {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.legal-page h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
}

.legal-page h2 {
  margin: 1rem 0 0.4rem;
  font-size: 1rem;
}

.legal-page p,
.legal-page li {
  color: #374151;
  font-size: 0.92rem;
}

.legal-page ul {
  margin: 0.25rem 0 0.5rem 1.1rem;
  padding: 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.4rem;
  font-size: 0.85rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 0.48rem;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: #f8fafc;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 1rem));
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 20px 42px rgba(2, 8, 23, 0.24);
  z-index: 130;
}

.cookie-banner-inner {
  padding: 0.9rem;
  display: grid;
  gap: 0.7rem;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.88rem;
  color: #374151;
}

.cookie-banner a {
  color: #1d4ed8;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.cookie-btn {
  border: 1px solid #1f2937;
  background: #1f2937;
  color: #fff;
  border-radius: 8px;
  min-width: 170px;
  height: 40px;
  padding: 0 0.9rem;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.cookie-btn:hover {
  opacity: 0.92;
}

.cookie-btn-secondary {
  background: #fff;
  color: #1f2937;
}

.cookie-settings {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem;
  background: #f8fafc;
  display: grid;
  gap: 0.45rem;
}

.cookie-settings-title {
  margin: 0;
  font-weight: 700;
  color: #1f2937;
}

.cookie-settings label {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.84rem;
  color: #334155;
}

/* Accessibility widget */
.a11y-fab {
  position: fixed;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 0;
  background: #1f2937;
  color: #fff;
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(2, 8, 23, 0.35);
  cursor: pointer;
  z-index: 140;
}

.a11y-panel {
  position: fixed;
  right: 74px;
  top: 50%;
  transform: translateY(-50%);
  width: min(330px, calc(100% - 1rem));
  max-height: 80vh;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 20px 38px rgba(2, 8, 23, 0.25);
  z-index: 140;
  padding: 0.8rem;
  display: none;
}

.a11y-panel.open {
  display: block;
}

.a11y-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.a11y-head h2 {
  margin: 0;
  font-size: 1rem;
}

.a11y-head button {
  border: 0;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
}

.a11y-group {
  border-top: 1px solid var(--line);
  padding-top: 0.6rem;
  margin-top: 0.6rem;
  display: grid;
  gap: 0.42rem;
}

.a11y-group h3 {
  margin: 0;
  font-size: 0.88rem;
  color: #374151;
}

.a11y-group label {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.84rem;
}

.reading-mask {
  position: fixed;
  inset: 0;
  z-index: 135;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.56) 0,
    rgba(15, 23, 42, 0.56) calc(var(--reading-mask-y, 50vh) - 48px),
    rgba(15, 23, 42, 0) calc(var(--reading-mask-y, 50vh) - 48px),
    rgba(15, 23, 42, 0) calc(var(--reading-mask-y, 50vh) + 48px),
    rgba(15, 23, 42, 0.56) calc(var(--reading-mask-y, 50vh) + 48px),
    rgba(15, 23, 42, 0.56) 100%
  );
}

/* Accessibility effect classes */
html.acc-big-text {
  font-size: 112%;
}

html.acc-line-height body {
  line-height: 1.9;
}

html.acc-text-align p,
html.acc-text-align li,
html.acc-text-align h1,
html.acc-text-align h2,
html.acc-text-align h3,
html.acc-text-align h4 {
  text-align: left !important;
}

html.acc-readable-font body {
  font-family: Arial, Helvetica, sans-serif !important;
}

html.acc-hide-images img {
  visibility: hidden !important;
}

html.acc-pause-anim *,
html.acc-pause-anim *::before,
html.acc-pause-anim *::after {
  animation: none !important;
  transition: none !important;
}

html.acc-highlight-links a {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  background: #fff176 !important;
  color: #111827 !important;
}

html.acc-outline-focus :focus {
  outline: 3px solid #f59e0b !important;
  outline-offset: 2px !important;
}

html.acc-page-structure header,
html.acc-page-structure nav,
html.acc-page-structure main,
html.acc-page-structure aside,
html.acc-page-structure section,
html.acc-page-structure article,
html.acc-page-structure footer {
  outline: 2px dashed #2563eb !important;
  outline-offset: -1px;
}

@media (max-width: 900px) {
  .cookie-banner {
    width: calc(100% - 0.75rem);
    bottom: 8px;
  }

  .cookie-btn {
    flex: 1 1 150px;
    min-width: 140px;
  }

  .a11y-fab {
    top: auto;
    bottom: 14px;
    right: 12px;
    transform: none;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  .a11y-panel {
    top: auto;
    right: 10px;
    bottom: 70px;
    transform: none;
    max-height: min(72vh, 520px);
  }
}
