/* ==========================================================
   ITALTRADE SRL — Stylesheet
   Verde/acciaio · B2B HoReCa
   ========================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --g900: #1B4332;
  --g700: #2D6A4F;
  --g500: #40916C;
  --g300: #74C69D;
  --g100: #D8F3DC;
  --s700: #37474F;
  --s600: #455A64;
  --s500: #546E7A;
  --s400: #607D8B;
  --s200: #B0BEC5;
  --s100: #ECEFF1;
  --bg:   #F5F7F5;
  --white: #ffffff;
  --text:  #1C2B22;
  --muted: #546E7A;
  --border: #D1E0D9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 28px rgba(0,0,0,.13), 0 4px 10px rgba(0,0,0,.07);
  --radius: 8px;
  --radius-lg: 12px;
  --max-w: 1200px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); }

h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.13; letter-spacing: -.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: .875rem; font-weight: 700; }

p { color: var(--muted); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ──────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .925rem;
  cursor: pointer;
  border: none;
  transition: all .18s ease;
  text-decoration: none;
}
.btn-primary { background: var(--g500); color: #fff; }
.btn-primary:hover { background: var(--g700); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(45,106,79,.35); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-outline-dark { background: transparent; color: var(--g700); border: 1.5px solid var(--g500); }
.btn-outline-dark:hover { background: var(--g100); }
.btn-sm { padding: 8px 18px; font-size: .825rem; }
.btn-link { font-size: .8rem; font-weight: 600; color: var(--g700); transition: color .18s; }
.btn-link:hover { color: var(--g900); }

/* ── NAVIGATION ──────────────────────────────────────── */

.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__logo-mark {
  width: 38px;
  height: 38px;
  background: var(--g700);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav__logo-mark svg { width: 20px; height: 20px; }

.nav__logo-text {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--g900);
  line-height: 1.1;
}

.nav__logo-sub {
  font-size: .62rem;
  color: var(--s500);
  letter-spacing: .07em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  transition: color .18s;
}

.nav__link:hover, .nav__link.active { color: var(--g700); }

.nav__cta {
  background: var(--g700);
  color: #fff;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 600;
  transition: background .18s;
}

.nav__cta:hover { background: var(--g900); }

.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

/* ── LOGO BICOLORE ───────────────────────────────────────*/

.logo-ital  { color: #1A5C35; }
.logo-trade { color: #C4A444; }

/* ── HERO ─────────────────────────────────────────────── */

.hero {
  background: var(--g900);
  padding: 72px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(64,145,108,.25) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--g500) 0%, var(--s500) 100%);
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 52px;
  align-items: center;
  position: relative;
}

.hero__inner {
  position: relative;
}

/* ── HERO VISUAL (right column) ── */

.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero__img-top {
  border-radius: 14px;
  overflow: hidden;
  height: 240px;
}

.hero__img-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero__img-small {
  border-radius: 10px;
  height: 130px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__img-small img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(116,198,157,.12);
  border: 1px solid rgba(116,198,157,.28);
  color: var(--g300);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero__eyebrow svg { width: 12px; height: 12px; }

.hero h1 {
  color: #fff;
  margin-bottom: 18px;
}

.hero h1 span { color: var(--g300); }

.hero > .container > .hero__inner > p {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero__stats {
  display: flex;
  gap: 48px;
  padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}

.stat__value {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.04em;
  line-height: 1;
}

.stat__label {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 4px;
}

/* ── SECTION SHARED ──────────────────────────────────── */

.section { padding: 76px 0; }

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 560px; margin: 0 auto; }

.section-eyebrow {
  display: inline-block;
  color: var(--g700);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ── CATEGORY CARDS ──────────────────────────────────── */

.categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cat-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
  text-decoration: none;
  display: block;
}

.cat-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.cat-card__image {
  height: 210px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  position: relative;
}

.cat-card__image--gelato {
  background:
    linear-gradient(135deg, rgba(27,67,50,0.72) 0%, rgba(64,145,108,0.55) 100%),
    url('https://images.unsplash.com/photo-1720149490289-c4da630c4264?w=800&q=80&fit=crop') center/cover no-repeat;
}

.cat-card__image--gastronorm {
  background:
    linear-gradient(135deg, rgba(55,71,79,0.75) 0%, rgba(96,125,139,0.55) 100%),
    url('https://images.unsplash.com/photo-1749478072094-d21cb929490c?w=800&q=80&fit=crop') center/cover no-repeat;
}

.cat-card__image-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: .2;
}

.cat-card__body {
  background: var(--white);
  padding: 22px 24px;
}

.cat-card__count {
  font-size: .72rem;
  color: var(--s400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 6px;
}

.cat-card__name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.cat-card__desc {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.55;
}

.cat-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--g700);
  font-size: .85rem;
  font-weight: 700;
  margin-top: 16px;
  transition: gap .2s;
}

.cat-card:hover .cat-card__cta { gap: 10px; }

/* ── FEATURES / WHY ──────────────────────────────────── */

.section-why { background: var(--s100); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature__icon {
  width: 48px;
  height: 48px;
  background: var(--g100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature__icon svg { width: 22px; height: 22px; stroke: var(--g700); fill: none; stroke-width: 1.8; }

.feature__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.feature__desc { font-size: .875rem; }

/* ── CONTACT CTA ─────────────────────────────────────── */

.section-contact {
  background: var(--g900);
  padding: 76px 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-text h2 {
  color: #fff;
  margin-bottom: 16px;
}

.contact-text p {
  color: rgba(255,255,255,.58);
  font-size: .95rem;
  margin-bottom: 28px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.7);
  font-size: .875rem;
}

.contact-info-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--g300);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-field label {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px;
  padding: 10px 14px;
  color: #fff;
  font-size: .9rem;
  font-family: var(--font);
  transition: border-color .18s;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,.28); }

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--g300);
}

.form-field textarea { resize: vertical; min-height: 96px; }

.form-success {
  text-align: center;
  padding: 40px 20px;
  color: #fff;
}

.form-success h3 { font-size: 1.2rem; margin-bottom: 8px; }
.form-success p { color: rgba(255,255,255,.6); }

/* ── FOOTER ───────────────────────────────────────────── */

footer {
  background: #111E16;
  padding: 52px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: .825rem;
  color: rgba(255,255,255,.35);
  max-width: 280px;
  line-height: 1.55;
}

.footer-col h4 {
  color: rgba(255,255,255,.5);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col li a,
.footer-col li {
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  transition: color .18s;
}

.footer-col li a:hover { color: var(--g300); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .75rem;
  color: rgba(255,255,255,.25);
}

/* ── PAGE HEADER ─────────────────────────────────────── */

.page-header {
  background: var(--g900);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--g500) 0%, var(--s500) 100%);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .75rem;
  color: rgba(255,255,255,.38);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: rgba(255,255,255,.4);
  transition: color .18s;
}

.breadcrumb a:hover { color: rgba(255,255,255,.75); }

.breadcrumb__sep { opacity: .4; }

.page-header h1 {
  color: #fff;
  margin-bottom: 10px;
}

.page-header > .container > p {
  color: rgba(255,255,255,.55);
  max-width: 520px;
  font-size: .95rem;
}

/* ── PRODUCTS LAYOUT ─────────────────────────────────── */

.products-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 52px 0 72px;
  align-items: start;
}

/* ── SIDEBAR FILTERS ─────────────────────────────────── */

.filters {
  position: sticky;
  top: 84px;
}

.filter-group { margin-bottom: 28px; }

.filter-group__title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--s500);
  margin-bottom: 10px;
}

.filter-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .18s;
  margin-bottom: 6px;
  text-align: left;
}

.filter-btn.active {
  border-color: var(--g500);
  background: var(--g100);
  color: var(--g900);
  font-weight: 600;
}

.filter-btn:hover:not(.active) { border-color: var(--s200); }

.filter-count {
  font-size: .7rem;
  background: var(--s100);
  padding: 2px 7px;
  border-radius: 10px;
  color: var(--s500);
  font-weight: 600;
}

.filter-btn.active .filter-count {
  background: rgba(64,145,108,.15);
  color: var(--g700);
}

/* ── PRODUCT GRID ────────────────────────────────────── */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-content: start;
}

.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
  text-decoration: none;
  display: block;
  color: inherit;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-card__thumb {
  height: 154px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  border-radius: 4px;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .07em;
  background: rgba(255,255,255,.2);
  color: rgba(255,255,255,.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.product-card__body { padding: 14px 18px 18px; }

.product-card__cat {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--s400);
  margin-bottom: 3px;
}

.product-card__name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
  line-height: 1.25;
}

.product-card__mat {
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.product-card__temp {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  color: var(--s500);
  font-weight: 500;
}

.product-card__cta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--g700);
}

/* ── PRODUCT DETAIL ──────────────────────────────────── */

.product-detail { padding: 52px 0 76px; }

.product-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--g700);
  margin-bottom: 32px;
  transition: gap .18s;
}

.product-detail__back:hover { gap: 10px; }
.product-detail__back svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}

.detail-visual {
  border-radius: var(--radius-lg);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.detail-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(255,255,255,.08) 0%, transparent 60%);
  pointer-events: none;
}

.detail-info { }

.detail-cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--g700);
  margin-bottom: 10px;
}

.detail-name {
  color: var(--text);
  margin-bottom: 14px;
}

.detail-mat-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--s100);
  border-radius: 6px;
  padding: 7px 14px;
  font-size: .83rem;
  font-weight: 600;
  color: var(--s600);
  margin-bottom: 22px;
}

.detail-mat-badge svg { width: 14px; height: 14px; stroke: var(--s500); fill: none; stroke-width: 2; }

.detail-desc {
  font-size: .96rem;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 26px;
}

.detail-temp {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--g100);
  border-radius: var(--radius);
  padding: 11px 16px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--g900);
  margin-bottom: 28px;
}

.detail-temp svg { width: 16px; height: 16px; stroke: var(--g700); fill: none; stroke-width: 2; }

.detail-features { margin-bottom: 28px; }

.detail-features__title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--s500);
  margin-bottom: 12px;
}

.detail-features ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.detail-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--text);
  line-height: 1.45;
}

.detail-features li svg {
  width: 16px;
  height: 16px;
  stroke: var(--g500);
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── VARIANTS TABLE ──────────────────────────────────── */

.variants-wrap { margin-bottom: 32px; }

.variants-wrap h4 {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--s500);
  margin-bottom: 10px;
}

.variants-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .865rem;
}

.variants-table th {
  text-align: left;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 7px 12px;
  border-bottom: 2px solid var(--border);
}

.variants-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.variants-table tr:last-child td { border-bottom: none; }
.variants-table tr:hover td { background: var(--bg); }

.cod {
  font-family: 'Courier New', Courier, monospace;
  font-size: .78rem;
  color: var(--s500);
  background: var(--s100);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ── DETAIL ACTIONS ──────────────────────────────────── */

.detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── RELATED PRODUCTS ────────────────────────────────── */

.related-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 52px 0;
}

.related-section h2 { margin-bottom: 32px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* ── DETAIL CTA BANNER ───────────────────────────────── */

.detail-cta-banner {
  background: var(--g900);
  padding: 56px 0;
  text-align: center;
}

.detail-cta-banner h2 { color: #fff; margin-bottom: 12px; }
.detail-cta-banner p { color: rgba(255,255,255,.55); margin-bottom: 28px; }
.detail-cta-banner .btn-primary { font-size: 1rem; padding: 14px 32px; }

/* ── EMPTY STATE ─────────────────────────────────────── */

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 20px;
  color: var(--muted);
}

.empty-state svg {
  width: 48px;
  height: 48px;
  stroke: var(--s200);
  fill: none;
  stroke-width: 1.5;
  margin: 0 auto 16px;
}

/* ── PRODUCT / DETAIL IMAGES ─────────────────────────── */

.product-card__img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  display: block;
}

.detail-visual__img {
  max-width: 72%;
  max-height: 72%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}

/* ── RESPONSIVE ──────────────────────────────────────── */

@media (max-width: 900px) {
  .hero__layout { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-visual { height: 280px; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-top: 1px solid var(--border);
    z-index: 199;
    align-items: flex-start;
  }
  .nav__links.open { display: flex; }
  .nav__hamburger { display: flex; }
  .categories-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .products-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: flex; gap: 8px; flex-wrap: wrap; }
  .filter-group { margin-bottom: 0; }
  .filter-group__title { display: none; }
  .hero__stats { gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .categories-grid { gap: 16px; }
}
