@font-face {
  font-family: "Space Grotesk";
  src: url("assets/space-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --night: #0b1116;
  --panel: #111b22;
  --edge: #2b3c46;
  --white: #f5f9fb;
  --muted: #abbcc5;
  --cyan: #82def1;
  --ink: #12232b;
  --paper: #f0f5f6;
  --teal: #176476;
  --display: "Space Grotesk", "Segoe UI", sans-serif;
  --body: "DM Sans", "Segoe UI", sans-serif;
  --shell: min(1280px, calc(100% - 108px));
  --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
html.dialog-open { overflow: hidden; }
body { margin: 0; background: var(--night); color: var(--white); font: 1rem/1.55 var(--body); }
body, button, input, textarea { font-family: var(--body); }
button, input, textarea { font-size: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.catalog :focus-visible { outline-color: var(--teal); }

.shell { width: var(--shell); margin-inline: auto; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 10; inset: 10px auto auto 10px; transform: translateY(-150%); padding: 12px 18px; background: var(--cyan); color: var(--night); }
.skip-link:focus { transform: none; }
.overline { color: var(--cyan); font-size: .78rem; font-weight: 700; line-height: 1.4; letter-spacing: .15em; text-transform: uppercase; }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  background: #0b1116f7;
  border-bottom: 1px solid #273842;
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
}

.brand-lockup { display: inline-flex; width: fit-content; align-items: center; gap: 17px; }
.avell-logo { width: 106px; height: auto; }
.brand-divider { width: 1px; height: 27px; background: #49606b; }
.pepperone-logo { width: 94px; height: 42px; object-fit: contain; }
.site-nav { display: flex; gap: clamp(22px, 3vw, 42px); align-items: center; }
.site-nav a, .footer-links a { color: #c2ccd2; font-weight: 600; font-size: .92rem; }
.site-nav a:hover, .footer-links a:hover { color: var(--cyan); }

.cart-trigger {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 43px;
  padding: 6px 8px 6px 13px;
  border: 1px solid #3a555f;
  border-radius: 7px;
  background: #14222b;
  color: var(--white);
  font-weight: 700;
  font-size: .86rem;
}

.cart-trigger:hover { border-color: var(--cyan); }
.cart-trigger > .icon { color: var(--cyan); }
.cart-count { min-width: 25px; padding: 2px 5px; background: var(--cyan); color: #10232b; border-radius: 4px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 76% 53%, #143846 0%, #10232d 38%, #0b1116 72%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(113deg, transparent 54%, #5edcfa15 54.15%, transparent 54.3%),
    linear-gradient(113deg, transparent 69%, #5edcfa18 69.1%, transparent 69.3%),
    repeating-linear-gradient(90deg, #98e3f503 0 1px, transparent 1px 62px);
  mask-image: linear-gradient(90deg, transparent 5%, #000 84%);
}

.hero-inner { display: grid; grid-template-columns: .9fr 1.1fr; position: relative; align-items: center; min-height: clamp(520px, 40.5vw, 610px); }
.hero-copy { position: relative; z-index: 2; padding: 56px 0 64px; }
.hero-overline { display: flex; align-items: center; gap: 13px; margin-bottom: 23px; }
.hero-overline::before { content: ""; width: 28px; height: 2px; background: var(--cyan); }
.hero h1 { font-size: clamp(3.1rem, 6.35vw, 6.1rem); line-height: .99; letter-spacing: -.064em; }
.hero h1 em { display: block; width: max-content; font-size: .83em; color: var(--cyan); font-style: normal; }
.hero-description { max-width: 405px; margin-top: 28px; color: #c4d1d7; font-size: clamp(1rem, 1.35vw, 1.19rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 30px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 47px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: color .18s, background-color .18s, border-color .18s, transform .18s;
}

.button:active { transform: translateY(1px); }
.button-primary { background: var(--cyan); color: #0d222a; }
.button-primary:hover { background: #b0edfa; }
.button-quiet, .button-outline { background: transparent; border-color: #3b5561; color: var(--white); }
.button-quiet:hover, .button-outline:hover { background: #20343e; border-color: #63868f; }
.hero-actions .button { min-height: 52px; padding-inline: 20px; }

.hero-stage {
  position: relative;
  align-self: stretch;
  display: grid;
  align-items: center;
  justify-items: center;
  min-width: 0;
  isolation: isolate;
  margin-right: -38px;
}

.stage-grid {
  position: absolute;
  z-index: -2;
  inset: 51% -18% 1% -22%;
  background: repeating-linear-gradient(90deg, #82def12b 0 1px, transparent 1px 63px),
    repeating-linear-gradient(0deg, #82def126 0 1px, transparent 1px 53px);
  transform: perspective(410px) rotateX(62deg);
  mask-image: radial-gradient(ellipse at 53% 30%, #000, transparent 70%);
}

.stage-orbit {
  position: absolute;
  z-index: -1;
  inset: auto -1% 12% -4%;
  height: 26%;
  border: 1px solid #64cee451;
  border-radius: 50%;
  background: radial-gradient(ellipse, #46a7c339, #17373e12 51%, transparent 68%);
  box-shadow: 0 0 28px #5cc8e319, inset 0 0 35px #5cc8e320;
  transform: rotate(-8deg);
}

.stage-orbit::after { content: ""; position: absolute; inset: 13% 7%; border: 1px solid #64cee436; border-radius: inherit; }
.stage-light { position: absolute; z-index: -2; inset: 5% -20% 5% -18%; background: radial-gradient(ellipse at 56% 64%, #46b1d257, #1e586b32 33%, transparent 66%); }
.stage-shadow { position: absolute; z-index: -1; inset: auto 13% 16% 11%; height: 7%; background: #02070a; border-radius: 50%; filter: blur(16px); }
.hero-machine { width: min(91%, 654px); height: auto; filter: drop-shadow(0 19px 27px #000a); transform: translate(4px, -11px); }
.stage-caption { position: absolute; right: 5.5%; bottom: 5%; display: flex; align-items: center; gap: 9px; color: #c5dce3; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.stage-caption::before { content: ""; width: 19px; height: 1px; background: #6db7c7; }

.section { padding-block: 78px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.section-heading .overline, .contact-copy .overline { margin-bottom: 9px; }
.section-heading h2, .contact-copy h2 { font-size: clamp(2.3rem, 4.8vw, 4.2rem); line-height: 1; letter-spacing: -.057em; }
.section-note { max-width: 330px; color: var(--muted); }

.catalog { color-scheme: light; background: var(--paper); color: var(--ink); padding-block-start: 62px; }
.catalog .overline { color: var(--teal); }
.catalog-heading { margin-bottom: 25px; }
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 325px;
  min-height: 49px;
  padding: 0 14px;
  border: 1px solid #bdcdd2;
  border-radius: 7px;
  background: #fff;
  color: #365763;
}

.search-field:focus-within { border-color: var(--teal); box-shadow: 0 0 0 2px #1b72802c; }
.search-field input { width: 100%; min-width: 0; height: 47px; outline: none; border: 0; background: transparent; color: var(--ink); }
.search-field input::placeholder { color: #50646d; }
.search-field input:focus-visible { outline: none; }
.catalog-controls { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 25px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid #c7d6da;
  border-radius: 6px;
  background: transparent;
  color: #25424f;
  font-size: .89rem;
  font-weight: 700;
}

.filter .icon { width: 1.05rem; height: 1.05rem; }
.filter:hover { background: #dceff3; border-color: #84adb7; }
.filter[aria-pressed="true"] { border-color: #143845; background: #143845; color: #f3fafc; }
.filter[aria-pressed="true"] .icon { color: #a5e8f2; }
.results-count { flex: none; color: #45606a; font-size: .87rem; font-weight: 600; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d6e1e4;
  border-radius: 11px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.product-card:hover { border-color: #9bbcc5; box-shadow: 0 8px 22px #133e4710; }
.product-image-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1.18;
  overflow: hidden;
  padding: 13px;
  border: 0;
  background: radial-gradient(ellipse at 50% 36%, #f7fafb, #e9f1f3 63%, #e0eaed);
}

.product-image-button:focus-visible { outline-offset: -4px; }
.product-image-button img { position: absolute; width: 81%; height: 76%; object-fit: contain; filter: drop-shadow(0 8px 7px #0b1f2421); transition: transform .22s; }
.product-image-button:hover img { transform: scale(1.055); }
.variant-count { position: absolute; inset: auto 12px 12px auto; padding: 3px 7px; border-radius: 4px; border: 1px solid #cbdde2; background: #f7fbfc; color: #305461; font-size: .74rem; font-weight: 700; }
.product-info { display: flex; flex: 1; flex-direction: column; padding: 15px 15px 14px; }
.product-code { overflow-wrap: anywhere; color: var(--teal); font-size: .74rem; font-weight: 800; letter-spacing: .045em; }
.product-info h3 { margin-top: 3px; font-size: clamp(1.14rem, 1.65vw, 1.42rem); line-height: 1.12; letter-spacing: -.049em; }
.product-description { margin: 7px 0 15px; color: #48616c; font-size: .87rem; line-height: 1.42; }
.product-action {
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  padding: 8px 10px;
  border-color: #cbe0e5;
  background: #eaf5f7;
  color: #134c5b;
  font-size: .88rem;
}

.product-action:hover { background: #d6eef3; border-color: #a2c9d1; }
.product-action .icon { width: 1.1rem; height: 1.1rem; }
.catalog-empty { padding: 45px 18px; border: 1px dashed #afc6ce; border-radius: 10px; text-align: center; color: #375360; }
.catalog-empty .button { margin-top: 14px; color: #174b57; border-color: #93b3bc; }
.catalog-empty .button:hover { background: #daeef2; }

.kits { background: #0e171d; }
.kit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.kit-card { overflow: hidden; border: 1px solid #304650; border-radius: 12px; background: #121f27; }
.kit-visual {
  position: relative;
  isolation: isolate;
  height: clamp(190px, 23vw, 305px);
  overflow: hidden;
  background: radial-gradient(ellipse at 49% 61%, #418797 0%, #23505e 35%, #152932 69%, #12212a 100%);
}

.kit-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 15% -6% -19%;
  border: 1px solid #92dae84d;
  border-radius: 50%;
  transform: rotate(-16deg);
  box-shadow: inset 0 0 26px #74c8d526, 0 0 70px #07131b55;
}

.kit-visual img { position: absolute; height: 77%; object-fit: contain; filter: drop-shadow(0 10px 10px #03151b73); }
[data-kit-card="setup"] .kit-visual img:nth-child(1) { width: 63%; left: 3%; top: 4%; transform: rotate(-8deg); }
[data-kit-card="setup"] .kit-visual img:nth-child(2) { width: 43%; height: 52%; right: 4%; bottom: 5%; transform: rotate(8deg); }
[data-kit-card="setup"] .kit-visual img:nth-child(3) { width: 29%; height: 52%; right: 10%; top: 5%; transform: rotate(7deg); }
[data-kit-card="rotina"] .kit-visual img:nth-child(1) { width: 28%; left: 13%; top: 8%; height: 85%; transform: rotate(-11deg); }
[data-kit-card="rotina"] .kit-visual img:nth-child(2) { width: 46%; left: 34%; top: 11%; height: 79%; transform: rotate(12deg); }
[data-kit-card="rotina"] .kit-visual img:nth-child(3) { width: 22%; right: 11%; top: 20%; height: 69%; transform: rotate(22deg); }
.kit-content { display: grid; gap: 9px; padding: 23px 24px 25px; }
.kit-content h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.05; letter-spacing: -.065em; }
.kit-content p { color: #b9cbd2; }
.kit-content .button { justify-self: start; margin-top: 8px; color: var(--cyan); }
.kit-content .button .icon { width: 1.15rem; height: 1.15rem; }

.contact { padding-top: 0; background: #0e171d; }
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  align-items: center;
  gap: 30px;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid #8ad9e7;
  border-radius: 12px;
  background: linear-gradient(115deg, #90e3f2, #78cddd 55%, #5cabc0);
  color: #102932;
}

.contact-copy .overline { color: #1c4c59; }
.contact-copy p:last-child { max-width: 480px; margin-top: 15px; color: #193e49; }
.contact-panel :focus-visible { outline-color: #123a47; }
.contact-actions { display: grid; gap: 9px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 8px 13px;
  border: 1px solid #1d56656b;
  border-radius: 7px;
  background: #eafcff35;
  transition: background-color .18s, border-color .18s;
}

.contact-link:hover { border-color: #205e6e; background: #eafcff80; }
.contact-link .icon { width: 1.45rem; height: 1.45rem; }
.contact-link strong, .contact-link small { display: block; }
.contact-link small { font-size: .86rem; overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid #2d404b; }
.footer-inner { min-height: 90px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-block: 12px; }
.footer-brand .pepperone-logo { width: 113px; height: 50px; }
.footer-inner p { color: var(--muted); font-size: .89rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px 22px; margin-left: auto; }

dialog {
  max-width: calc(100vw - 26px);
  max-height: calc(100dvh - 26px);
  padding: 0;
  border: 1px solid #45626f;
  border-radius: 12px;
  background: var(--panel);
  color: var(--white);
  box-shadow: 0 24px 85px #000a;
}

dialog::backdrop { background: #061017c7; backdrop-filter: blur(4px); }
.item-dialog { width: 840px; overflow: auto; }
.item-layout { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; }
.icon-button {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 43px;
  height: 43px;
  padding: 0;
  border: 1px solid #4d6975;
  border-radius: 7px;
  background: #172732;
  color: var(--white);
}

.icon-button:hover { background: #253b47; border-color: var(--cyan); }
.dialog-close { position: absolute; z-index: 2; inset: 12px 12px auto auto; }
.item-visual { position: relative; display: grid; align-items: center; justify-items: center; min-height: 320px; padding: 22px; background: radial-gradient(ellipse at 50% 42%, #f2f8f9, #dce9ec 72%, #d4e2e6); }
.item-visual > img { max-height: min(53vh, 430px); width: 100%; object-fit: contain; filter: drop-shadow(0 13px 9px #182b3030); }
.item-visual .kit-visual { width: calc(100% + 44px); height: 100%; min-height: 320px; }
.item-form { display: flex; flex-direction: column; align-items: stretch; padding: 32px 25px 25px; }
.item-form .overline { padding-right: 44px; }
.item-form h2, .cart-header h2 { margin: 5px 38px 8px 0; font-size: clamp(1.75rem, 4vw, 2.7rem); line-height: 1.02; letter-spacing: -.055em; }
.item-description { color: var(--muted); font-size: .95rem; line-height: 1.46; }
.variant-field { min-width: 0; margin: 15px 0 0; padding: 0; border: 0; }
.variant-field legend { margin-bottom: 6px; padding: 0; font-size: .87rem; font-weight: 700; }
.variant-options { display: flex; flex-wrap: wrap; gap: 6px; }
.variant-option { position: relative; }
.variant-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.variant-option span { display: inline-flex; min-height: 39px; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid #46626e; border-radius: 6px; color: #d5e3e8; font-size: .85rem; font-weight: 600; cursor: pointer; }
.variant-option .swatch { display: inline-block; width: 14px; height: 14px; border: 1px solid #c1d0d58c; border-radius: 50%; background: var(--swatch); }
.variant-option input:checked + span { border-color: var(--cyan); background: #234651; color: #effbfe; }
.variant-option input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 3px; }
.item-specs { display: grid; gap: 0; margin: 12px 0; color: #e2ebee; font-size: .84rem; }
.item-specs:empty { display: none; }
.item-specs div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 9px; padding: 7px 0; border-bottom: 1px solid #2e414d; }
.item-specs dt { color: var(--muted); }
.item-specs dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.item-add { display: flex; align-items: end; gap: 9px; margin-top: auto; padding-top: 11px; }
.quantity-label { display: grid; flex: 0 0 auto; gap: 4px; font-size: .84rem; font-weight: 700; }
.quantity-label input { appearance: textfield; width: 109px; min-height: 45px; padding: 6px 7px; border: 1px solid #4b6371; border-radius: 6px; background: #0c171f; color: var(--white); font-size: 1rem; }
.quantity-label input::-webkit-outer-spin-button, .quantity-label input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.item-add .button { flex: 1; min-height: 45px; padding-inline: 8px; font-size: .9rem; }
.item-error { margin-top: 8px; color: #ffb4a7; font-size: .87rem; }
.kit-items { display: grid; gap: 5px; padding-left: 19px; color: #d2e0e6; font-size: .92rem; }

.cart-dialog {
  width: min(100vw, 500px);
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  border-radius: 0;
  border-width: 0 0 0 1px;
  overflow: hidden;
}

.cart-inner { display: flex; flex-direction: column; height: 100%; }
.cart-header { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 22px 23px 15px; border-bottom: 1px solid #2c414d; }
.cart-header h2 { margin: 4px 0 0; }
.cart-content { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 0 23px 21px; }
.cart-summary { margin-top: 15px; color: var(--muted); font-size: .9rem; }
.cart-empty { display: grid; justify-items: center; gap: 8px; margin: auto; padding: 22px; text-align: center; }
.cart-empty > .icon { width: 2.6rem; height: 2.6rem; margin-bottom: 7px; color: var(--cyan); }
.cart-empty h3 { font-size: 1.5rem; line-height: 1.1; letter-spacing: -.04em; }
.cart-empty p { max-width: 270px; margin-bottom: 9px; color: var(--muted); }
.cart-items { display: grid; gap: 0; padding: 0; margin: 6px 0 18px; list-style: none; }
.cart-line { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #2c414d; }
.cart-line-photo { display: grid; width: 70px; height: 65px; place-items: center; background: #e8f1f3; border-radius: 6px; }
.cart-line-photo img { width: 90%; height: 86%; object-fit: contain; }
.cart-line h3 { line-height: 1.12; font-size: 1rem; letter-spacing: -.023em; overflow-wrap: anywhere; }
.cart-line p { margin-top: 4px; color: var(--muted); font-size: .8rem; line-height: 1.3; overflow-wrap: anywhere; }
.line-controls { display: flex; align-items: center; gap: 4px; }
.line-step, .remove-button { width: 29px; height: 34px; display: grid; place-items: center; padding: 0; border: 1px solid #3f5967; border-radius: 5px; background: #142630; color: var(--white); }
.line-controls .icon { width: 1rem; height: 1rem; }
.line-controls button:hover:not(:disabled) { border-color: var(--cyan); }
.line-step:disabled { opacity: .45; cursor: default; }
.remove-button { margin-left: 2px; border-color: transparent; color: #b4c8d0; background: transparent; }
.line-quantity { appearance: textfield; width: 98px; min-height: 34px; padding: 3px; border: 1px solid #3f5967; border-radius: 5px; background: #0c171f; color: var(--white); text-align: center; font-size: .89rem; font-variant-numeric: tabular-nums; }
.line-quantity::-webkit-outer-spin-button, .line-quantity::-webkit-inner-spin-button { appearance: none; margin: 0; }
.quote-fields { display: grid; gap: 5px; }
.quote-fields label { color: #e7eff1; font-size: .86rem; font-weight: 700; }
.quote-fields label span { color: var(--muted); font-weight: 400; }
.quote-fields input, .quote-fields textarea, .copy-fallback { min-width: 0; padding: 8px 9px; border: 1px solid #45616e; border-radius: 6px; background: #0c171f; color: var(--white); }
.quote-fields input { margin-bottom: 5px; }
.quote-fields textarea, .copy-fallback { resize: vertical; }
.quote-fields textarea::placeholder { color: #a3b7c1; }
.cart-footer { display: grid; justify-items: center; gap: 8px; padding: 12px 23px max(14px, env(safe-area-inset-bottom)); border-top: 1px solid #2c414d; }
.quote-actions { display: grid; grid-template-columns: 1.17fr 1fr; gap: 8px; width: 100%; }
.quote-actions .button { padding-inline: 8px; font-size: .86rem; }
.quote-actions .icon { width: 1.1rem; height: 1.1rem; }
.copy-button { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 8px; border: 0; background: transparent; color: #c1d6dd; font-size: .85rem; font-weight: 700; }
.copy-button:hover { color: var(--cyan); }
.copy-fallback { width: 100%; font-size: .82rem; }
.toast { position: fixed; z-index: 7; inset: auto 20px max(18px, env(safe-area-inset-bottom)) auto; display: flex; align-items: center; gap: 9px; max-width: calc(100vw - 40px); padding: 10px 13px; border: 1px solid #56838f; border-radius: 8px; background: #17323d; color: var(--white); box-shadow: 0 8px 35px #03101670; font-size: .9rem; }
.toast > .icon { color: var(--cyan); }
.toast button { min-height: 32px; padding: 3px 5px; border: 0; background: none; color: var(--cyan); font-weight: 700; white-space: nowrap; }

@media (max-width: 1090px) {
  :root { --shell: calc(100% - 64px); }
  .hero-stage { margin-right: -19px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  :root { --header-height: 66px; }
  .header-inner { gap: 13px; }
  .avell-logo { width: 84px; }
  .brand-lockup { gap: 10px; }
  .brand-divider { height: 23px; }
  .pepperone-logo { width: 74px; height: 37px; }
  .site-nav { gap: 15px; }
  .site-nav a { font-size: .83rem; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 51px 0 17px; }
  .hero h1 { font-size: clamp(3.5rem, 10.2vw, 5.9rem); }
  .hero-description { margin-top: 20px; }
  .hero-actions { margin-top: 23px; }
  .hero-stage { min-height: clamp(310px, 69vw, 504px); margin: 0; }
  .hero-machine { width: min(82%, 620px); transform: translateY(-9px); }
  .stage-caption { right: 3%; bottom: 5%; }
  .hero { background: radial-gradient(ellipse at 65% 79%, #164150 0%, #102631 36%, #0b1116 77%); }
  .section { padding-block: 53px; }
  .catalog { padding-block-start: 53px; }
  .contact { padding-top: 0; }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 36px); --header-height: 59px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .cart-trigger { min-height: 41px; }
  .hero-copy { padding-top: 42px; }
  .hero-overline { margin-bottom: 15px; font-size: .72rem; }
  .hero h1 { font-size: clamp(2.75rem, 10.9vw, 4.4rem); }
  .hero h1 em { font-size: .9em; }
  .hero-actions { gap: 7px; }
  .hero-actions .button { min-height: 48px; padding-inline: 11px; font-size: .9rem; }
  .hero-stage { min-height: clamp(247px, 74vw, 418px); }
  .hero-machine { width: min(95%, 506px); transform: translateY(-14px); }
  .stage-orbit { inset-inline: -6%; }
  .stage-caption { right: 0; bottom: 3%; font-size: .67rem; }
  .section { padding-block: 44px; }
  .catalog { padding-block-start: 44px; }
  .contact { padding-top: 0; }
  .section-heading { align-items: stretch; flex-direction: column; gap: 14px; margin-bottom: 17px; }
  .section-heading h2, .contact-copy h2 { font-size: clamp(2.2rem, 8.7vw, 3.1rem); }
  .search-field { flex-basis: auto; }
  .catalog-controls { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 12px; }
  .filters { gap: 5px; }
  .filter { min-height: 40px; gap: 4px; padding: 6px 8px; font-size: .84rem; }
  .filter .icon { width: .95rem; height: .95rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .product-info { padding: 10px 9px 9px; }
  .product-info h3 { font-size: 1.12rem; }
  .product-description { font-size: .8rem; }
  .product-action { min-height: 39px; padding-inline: 6px; font-size: .8rem; }
  .variant-count { inset: auto 6px 6px auto; }
  .kit-grid { gap: 13px; }
  .kit-content { padding: 14px; }
  .kit-content .button { font-size: .84rem; padding-inline: 8px; }
  .kit-visual { height: 178px; }
  .contact-panel { padding: 22px 18px; gap: 18px; }
  .contact-actions { grid-template-columns: 1fr; }
  .footer-inner { gap: 8px 15px; }
  .footer-links { margin-left: 0; }
  .item-layout { grid-template-columns: 1fr; }
  .item-visual { min-height: 0; height: min(31dvh, 215px); padding: 15px; }
  .item-visual > img { max-height: 100%; }
  .item-visual .kit-visual { min-height: 0; width: calc(100% + 30px); height: calc(100% + 30px); }
  .item-form { padding: 17px 15px 16px; }
  .item-form h2 { margin-right: 0; }
  .item-form .overline { padding-right: 0; }
}

@media (max-width: 430px) {
  .cart-trigger-label { display: none; }
  .kit-grid { grid-template-columns: 1fr; }
  .hero-overline::before { width: 19px; }
  .cart-header, .cart-content, .cart-footer { padding-inline: 13px; }
  .cart-line { gap: 7px 10px; grid-template-columns: 49px minmax(0, 1fr); }
  .cart-line-photo { width: 49px; height: 52px; grid-row: span 2; align-self: start; }
  .line-controls { grid-column: 2; gap: 4px; }
  .line-step, .remove-button { width: 27px; min-height: 37px; }
  .line-quantity { min-height: 37px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
