@font-face {
  font-family: Geist;
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --counter-ink: #1b1c18;
  --counter-orange: #ff632a;
  --counter-paper: #f3f2ec;
  --counter-muted: #54554b;
  --counter-line: #cbcbbf;
  --counter-sans: Geist, Arial, sans-serif;
  --gutter: clamp(1rem, 3.8vw, 4rem);
}

.trade-header,
.counter-page {
  font-family: var(--counter-sans);
  -webkit-font-smoothing: antialiased;
}

.trade-header {
  min-height: 62px;
  padding-inline: max(var(--gutter), calc((100vw - 1440px) / 2));
  border-bottom: 1px solid #373832;
  background: var(--counter-ink);
}

.trade-header .brand { gap: .65rem; font-family: inherit; }
.trade-header .brand-name { font-size: 1.2rem; font-weight: 830; letter-spacing: -.045em; }
.trade-header .brand-mark {
  width: 42px;
  height: 32px;
  background: var(--counter-orange);
  color: var(--counter-ink);
  font: italic 900 1rem/1 var(--counter-sans);
  letter-spacing: -.07em;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 80% 100%, 0 100%);
}

.trade-header .site-nav { height: 62px; gap: .3rem; }
.trade-header .site-nav a {
  position: relative;
  color: #e0dfd5;
  font: 560 .85rem/1.2 var(--counter-sans);
  text-transform: none;
}
.trade-header .site-nav a.active { color: #fff; background: transparent; }
.trade-header .site-nav a.active::after {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: 0;
  left: 1rem;
  height: 3px;
  background: var(--counter-orange);
}
.trade-header .header-tools { gap: .5rem; }
.trade-header .header-tools a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: .25rem .65rem;
  border-color: #55564e;
  font: 580 .78rem/1 var(--counter-sans);
  text-transform: none;
}
.trade-header .header-tools b {
  min-width: 1.28rem;
  height: 1.25rem;
  margin-left: .45rem;
  background: #e8e8dd;
  font-size: .72rem;
}
.trade-header .header-tools a:last-child b { background: var(--counter-orange); }
.trade-header .header-tools a:hover, .trade-header .site-nav a:hover { color: #fff; background: #393a34; }

.counter-page { margin: 0; color: var(--counter-ink); background: var(--counter-paper); }
.counter-page [hidden] { display: none !important; }
.counter-page ::selection { color: #fff; background: #ad3610; }
.counter-page :focus-visible, .trade-header :focus-visible { outline: 3px solid #0066b5; outline-offset: 3px; }
.trade-header :focus-visible { outline-color: #ffb595; }
.counter-wrap { width: min(calc(100% - 2 * var(--gutter)), 1440px); margin-inline: auto; }

.counter-mast {
  overflow: hidden;
  background: var(--counter-orange);
  border-bottom: 1px solid var(--counter-ink);
}
.mast-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 29%);
  align-items: center;
  gap: 1rem;
  min-height: clamp(160px, 13vw, 215px);
}
.mast-heading, .counter-search { position: relative; z-index: 1; }
.mast-heading { padding: 1.5rem 0; }
.mast-heading h1 {
  margin: 0;
  font-size: clamp(3.5rem, 5.35vw, 5.7rem);
  line-height: 1;
  font-weight: 830;
  letter-spacing: -.065em;
}
.mast-heading h1 span { color: #fff9ec; }
.mast-heading p { margin: .65rem 0 0; max-width: 33rem; font-size: clamp(.9rem, 1.05vw, 1.05rem); line-height: 1.4; }
.mast-tool {
  position: absolute;
  inset-block: 0;
  left: 47%;
  width: 18%;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.mast-tool img {
  width: 100%;
  height: 145%;
  object-fit: contain;
  transform: translateY(-10%) rotate(18deg);
  filter: grayscale(1) contrast(1.35);
}
.counter-search label { display: block; margin-bottom: .45rem; font-size: .82rem; font-weight: 750; }
.counter-search > div { position: relative; }
.counter-search input {
  width: 100%;
  min-height: 48px;
  padding: .6rem 2.65rem .6rem .85rem;
  background: #fffaf2;
  color: var(--counter-ink);
  border-radius: 0;
  border: 1.5px solid var(--counter-ink);
  font: 480 .9rem/1.3 var(--counter-sans);
}
.counter-search input::placeholder { color: #56574e; opacity: 1; }
.search-symbol { position: absolute; right: 1.1rem; top: 50%; width: 13px; height: 13px; margin-top: -8px; border: 2px solid var(--counter-ink); border-radius: 50%; pointer-events: none; }
.search-symbol::after { content:""; position: absolute; top: 9px; left: 8px; width: 7px; height: 2px; background: var(--counter-ink); transform: rotate(45deg); }

.department-bar { background: #e8e8df; border-bottom: 1px solid var(--counter-line); }
.department-inner { display: flex; align-items: center; gap: 1.1rem; padding-block: .7rem; }
.department-inner > p { margin: 0; color: var(--counter-muted); font-size: .85rem; font-weight: 690; }
.department-options { display: flex; flex-wrap: wrap; gap: .35rem; }
.department-options button {
  padding: .47rem .85rem;
  min-height: 34px;
  border: 1px solid #bbbcb1;
  background: transparent;
  color: var(--counter-ink);
  font: 590 .81rem/1.1 var(--counter-sans);
  cursor: pointer;
}
.department-options button:hover { border-color: var(--counter-ink); background: #f8f7ef; }
.department-options button[aria-pressed=true] { color: #fff; border-color: var(--counter-ink); background: var(--counter-ink); }

.counter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(300px, 1fr);
  align-items: start;
  gap: clamp(1.25rem, 2.7vw, 2.8rem);
  padding-block: clamp(1.5rem, 2.3vw, 2.5rem) 4.5rem;
}
.inventory-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .7rem; padding-bottom: .78rem; border-bottom: 3px solid var(--counter-ink); }
.inventory-heading h2 { margin: 0; font-size: clamp(1.55rem, 2.25vw, 2.4rem); line-height: 1.08; font-weight: 760; letter-spacing: -.045em; }
.inventory-heading > span, .compare-foot > span { color: var(--counter-muted); font: 600 .77rem/1.4 var(--mono); font-variant-numeric: tabular-nums; }
.stock-line {
  display: grid;
  grid-template-columns: clamp(76px, 8.5vw, 145px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(.7rem, 1.25vw, 1.55rem);
  min-height: clamp(130px, 10.35vw, 170px);
  padding: .9rem 0;
  border-bottom: 1px solid var(--counter-line);
}
.stock-photo {
  display: grid;
  place-items: center;
  height: clamp(84px, 7.1vw, 118px);
  background-color: #e4e4da;
  background-image: radial-gradient(#cdcdc2 .7px, transparent .7px);
  background-size: 6px 6px;
}
.stock-photo img { width: 83%; height: 84%; min-width: 0; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
.stock-department { display: block; color: var(--counter-muted); font-size: .78rem; font-weight: 600; }
.stock-info h3 { margin: .12rem 0 .5rem; font-size: clamp(1.15rem, 1.7vw, 1.85rem); font-weight: 800; letter-spacing: -.05em; line-height: 1.07; }
.stock-specs { display: flex; flex-wrap: wrap; gap: .3rem .75rem; margin: 0; }
.stock-specs div { display: grid; gap: .06rem; }
.stock-specs dt { font: 480 .7rem/1.35 var(--counter-sans); text-transform: none; color: var(--counter-muted); }
.stock-specs dd { margin: 0; color: var(--counter-ink); font: 700 .81rem/1.3 var(--mono); }
.stock-description { max-width: 34rem; margin: .2rem 0 .5rem; color: var(--counter-muted); font-size: .82rem; line-height: 1.4; }
.stock-order { display: grid; justify-items: end; align-content: center; }
.stock-price { color: var(--counter-ink); font-size: clamp(1.22rem, 1.6vw, 1.65rem); font-weight: 740; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -.045em; }
.stock-availability { display: flex; align-items: center; gap: .35rem; margin-top: .2rem; color: var(--counter-muted); font-size: .71rem; }
.stock-availability::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; }
.stock-availability[data-availability="Pronta consegna"]::before { color: #38744d; background: currentColor; }
.stock-availability[data-availability="24 ore"]::before { color: #ae420b; background: currentColor; }
.stock-actions { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .58rem; }
.stock-actions button, .empty-results button {
  min-height: 36px;
  padding: .4rem .63rem;
  background: transparent;
  color: var(--counter-ink);
  border: 1px solid #95958b;
  border-radius: 0;
  font: 660 .75rem/1.15 var(--counter-sans);
  cursor: pointer;
}
.stock-actions .list-choice { border-color: var(--counter-ink); background: var(--counter-ink); color: white; }
.stock-actions button[aria-pressed=true] { color: var(--counter-ink); background: #ffd7c6; border-color: #a9411c; }
.stock-actions button:hover, .empty-results button:hover { color: var(--counter-ink); background: var(--counter-orange); border-color: var(--counter-ink); }
.empty-results { padding: 1rem 0 2rem; }
.selection-status { padding: .75rem; color: #752c0d; background: #ffe1cd; font-size: .9rem; }
.bench-side { min-width: 0; }
.comparison-sheet { background: #fbfaf5; border: 1px solid var(--counter-ink); scroll-margin-top: 78px; }
.comparison-sheet summary {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 53px;
  padding: .65rem 1rem;
  background: var(--counter-ink);
  color: #fff;
  font-size: clamp(.96rem, 1.22vw, 1.24rem);
  font-weight: 680;
  cursor: pointer;
  list-style: none;
}
.comparison-sheet summary::-webkit-details-marker { display: none; }
.comparison-sheet summary > b { padding: .17rem .4rem; background: var(--counter-orange); color: var(--counter-ink); font: 700 .76rem/1 var(--mono); }
.comparison-sheet summary::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(45deg); }
.comparison-sheet[open] summary::after { transform: rotate(225deg); }
.comparison-symbol { width: 17px; height: 15px; border: 1.5px solid var(--counter-orange); background: linear-gradient(90deg, transparent 46%, var(--counter-orange) 46% 54%, transparent 54%); }
.compare-empty { min-height: 105px; padding: 1.1rem 1rem 1.3rem; }
.compare-empty p { margin: 0 0 .4rem; font-size: 1.05rem; font-weight: 690; }
.compare-empty span { display: block; max-width: 35ch; color: var(--counter-muted); font-size: .86rem; line-height: 1.45; }
.compare-table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .78rem; line-height: 1.25; }
.compare-table th, .compare-table td { padding: .48rem .46rem; border-bottom: 1px solid var(--counter-line); overflow-wrap: anywhere; text-align: left; vertical-align: middle; }
.compare-table thead { background: #e9e9df; }
.compare-table thead th { position: relative; vertical-align: bottom; }
.compare-table thead td { width: 24%; }
.compare-table th + td, .compare-table td + th, .compare-table th + th, .compare-table td + td { border-left: 1px solid var(--counter-line); }
.compare-table thead img { width: 52px; height: 52px; margin: .1rem auto .45rem; mix-blend-mode: multiply; object-fit: contain; }
.compare-table thead span { display: block; font-size: .77rem; line-height: 1.15; font-weight: 780; }
.compare-table tbody th { color: var(--counter-muted); font-weight: 530; }
.compare-table td { font-weight: 590; font-variant-numeric: tabular-nums; }
.compare-price td { font-size: .96rem; font-weight: 750; }
.remove-model { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 27px; height: 27px; padding: 0; background: transparent; border: 0; color: #46473e; font: 1.15rem/1 var(--counter-sans); cursor: pointer; }
.remove-model:hover { background: #ffd7c6; color: var(--counter-ink); }
.compare-foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .45rem .75rem; }
.compare-foot button { min-height: 30px; padding: 0; color: var(--counter-ink); background: transparent; border: 0; text-decoration: underline; text-underline-offset: .2em; font: 550 .75rem/1.2 var(--counter-sans); cursor: pointer; }
.support-ticket { display: grid; grid-template-columns: 1fr auto; margin-top: 1.15rem; border: 1px solid var(--counter-line); background: #e8e8de; }
.support-ticket img { grid-column: 1/-1; width: 100%; height: clamp(92px, 9vw, 160px); object-fit: cover; object-position: center 53%; }
.support-ticket > span { padding: .85rem 1rem; }
.support-ticket strong, .support-ticket small { display: block; }
.support-ticket strong { font-size: 1.05rem; font-weight: 750; letter-spacing: -.025em; }
.support-ticket small { padding-top: .15rem; color: var(--counter-muted); font-size: .77rem; }
.arrow { align-self: center; position: relative; margin-right: .55rem; }
.arrow::before { content: ""; position: absolute; width: 12px; height: 1.5px; background: currentColor; transform: rotate(-45deg); }
.arrow::after { content: ""; position: absolute; width: 8px; height: 8px; margin: -4px 0 0 3px; border-right: 1.5px solid; border-top: 1.5px solid; }
.support-ticket:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.counter-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 2.3rem max(var(--gutter), calc((100vw - 1440px) / 2)); color: #f5f5eb; background: var(--counter-ink); }
.footer-brand { font-size: 1.55rem; font-weight: 780; letter-spacing: -.055em; }
.counter-footer > div { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-size: .8rem; }
.counter-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.counter-footer i { font-style: normal; }

@media (max-width: 1020px) {
  .counter-layout { grid-template-columns: minmax(0, 1.7fr) minmax(270px, 1fr); gap: 1rem; }
  .stock-line { grid-template-columns: 78px minmax(0, 1fr) auto; gap: .65rem; }
  .stock-actions button { padding-inline: .45rem; }
  .mast-tool { left: 48%; width: 17%; }
}
@media (max-width: 900px) {
  .trade-header { grid-template-columns: 1fr auto auto; gap: .65rem; min-height: 56px; }
  .trade-header .header-tools { display: flex; }
  .trade-header .nav-toggle { width: 38px; height: 38px; padding: 8px; }
  .trade-header .nav-toggle::after { content: none; }
  .trade-header .site-nav.open { inset: 56px 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); min-height: 0; height: auto; padding: 1rem var(--gutter); background: var(--counter-ink); }
  .trade-header .site-nav.open::before, .trade-header .site-nav.open a::before, .trade-header .site-nav.open a::after { content: none; }
  .trade-header .site-nav.open a { display: grid; place-items: center; min-height: 44px; padding: .7rem .4rem; font: 600 .85rem/1.2 var(--counter-sans); }
  .trade-header .site-nav.open a.active { color: var(--counter-ink); background: var(--counter-orange); }
  .counter-layout { grid-template-columns: minmax(0, 1fr) 270px; }
  .stock-line { grid-template-columns: 76px minmax(0, 1fr); }
  .stock-photo { grid-row: span 2; }
  .stock-order { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .3rem .45rem; }
  .stock-actions { margin: 0 0 0 auto; }
  .stock-availability { margin: 0; }
  .mast-heading h1 { font-size: clamp(3rem, 7vw, 4.2rem); }
  .mast-heading p { max-width: 23rem; }
  .mast-tool { left: 50%; width: 13%; }
}
@media (max-width: 730px) {
  .counter-layout { grid-template-columns: 1fr; gap: 1.6rem; }
  .stock-line { grid-template-columns: 90px minmax(0, 1fr) auto; gap: .8rem; }
  .stock-order { display: grid; gap: 0; }
  .stock-actions { margin-top: .5rem; }
  .stock-photo { grid-row: auto; }
  .mast-inner { grid-template-columns: 1fr; gap: 0; padding-block: 1.1rem; }
  .mast-heading { padding: 0; }
  .mast-heading h1 { font-size: clamp(2.65rem, 8.6vw, 3.8rem); }
  .mast-heading p { max-width: 73%; margin-top: .3rem; }
  .mast-tool { left: auto; right: 6%; width: 19%; height: 78%; }
  .counter-search { margin-top: .8rem; }
  .counter-search label { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .counter-search input { min-height: 44px; }
  .department-inner { gap: .55rem; }
  .department-inner > p { display: none; }
  .department-options { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; padding-bottom: .1rem; }
  .department-options button { min-height: 38px; }
  .compare-table thead td { width: 22%; }
  .counter-footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 490px) {
  .trade-header { gap: .4rem; }
  .trade-header .brand { gap: .35rem; }
  .trade-header .brand-name { font-size: .96rem; }
  .trade-header .brand-mark { width: 34px; height: 28px; font-size: .85rem; }
  .trade-header .header-tools { gap: .25rem; }
  .trade-header .header-tools a { padding-inline: .37rem; font-size: .72rem; }
  .trade-header .header-tools b { min-width: 1rem; height: 1rem; margin-left: .25rem; font-size: .68rem; }
  .trade-header .site-nav.open { grid-template-columns: 1fr 1fr; }
  .trade-header .nav-toggle { width: 34px; }
  .counter-layout { padding-top: 1.25rem; }
  .inventory-heading h2 { font-size: 1.5rem; }
  .stock-line { grid-template-columns: 84px minmax(0, 1fr); min-height: 150px; gap: .45rem .75rem; }
  .stock-photo { grid-row: span 2; height: 104px; }
  .stock-info h3 { font-size: 1.18rem; margin-bottom: .35rem; }
  .stock-specs { gap: .22rem .55rem; }
  .stock-specs dt { font-size: .64rem; }
  .stock-specs dd { font-size: .76rem; }
  .stock-order { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: .2rem .55rem; }
  .stock-actions { width: 100%; margin-top: .25rem; }
  .stock-actions button { min-height: 40px; padding: .45rem .7rem; }
  .stock-availability { font-size: .71rem; }
  .stock-price { font-size: 1.16rem; }
  .department-options button { padding-inline: .72rem; }
  .support-ticket img { height: 120px; }
}
@media (max-width: 355px) {
  .trade-header .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .stock-line { grid-template-columns: 64px minmax(0, 1fr); }
  .stock-photo { height: 82px; }
}
