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

@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/instrument-serif.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/instrument-serif-italic.woff2') format('woff2');
  font-style: italic;
  font-display: swap;
}

:root {
  --navy: #0b1b38;
  --ink: #142745;
  --muted: #53637b;
  --brand: #2a73ec;
  --action: #1d5bc7;
  --line: #dae3ef;
  --paper: #f8faff;
  --display: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --gutter: clamp(1.125rem, 4vw, 4.375rem);
  --header-height: 4.625rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
.container { width: min(78rem, 100% - var(--gutter) * 2); margin-inline: auto; }
.icon-library, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon { display: inline-block; width: 1.25rem; height: 1.25rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; inset: .5rem auto auto .5rem; z-index: 20; translate: 0 -160%; border-radius: .375rem; padding: .5rem .75rem; background: white; color: var(--navy); }
.skip-link:focus { translate: 0; }

.site-header { position: sticky; top: 0; z-index: 5; background: #ffffff; box-shadow: 0 1px 0 #132a4714; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--header-height); gap: 1rem; }
.institution { display: flex; align-items: center; gap: .75rem; width: fit-content; text-decoration: none; color: var(--navy); font-size: .8125rem; font-weight: 750; line-height: 1.17; }
.institution-mark { display: grid; place-items: center; flex: 0 0 auto; width: 2.75rem; height: 2.75rem; border-radius: .625rem; background: var(--navy); }
.institution-mark img { width: 1.54rem; height: auto; }
.navigation { display: flex; align-items: center; gap: clamp(1.5rem, 3.25vw, 3rem); }
.navigation a { text-decoration: none; color: #3c4e68; font-size: .9rem; font-weight: 650; transition: color .18s; }
.navigation a:hover { color: var(--action); }
.selection-button { justify-self: end; display: flex; align-items: center; gap: .55rem; min-height: 2.625rem; padding: .4rem .45rem .4rem .8rem; border: 1px solid var(--navy); border-radius: 4rem; background: var(--navy); color: white; font-size: .86rem; font-weight: 750; white-space: nowrap; transition: background .18s; }
.selection-button:hover { background: #203b63; }
.selection-button > .icon { width: 1.125rem; height: 1.125rem; }
.selection-count { display: grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding-inline: .25rem; border-radius: 2rem; background: #dce9ff; color: var(--navy); font-size: .75rem; font-variant-numeric: tabular-nums; }

.button { display: inline-flex; justify-content: center; align-items: center; gap: .55rem; min-height: 3rem; border: 1px solid transparent; border-radius: .55rem; padding: .65rem 1.12rem; color: inherit; text-decoration: none; font-size: .925rem; font-weight: 750; line-height: 1.28; transition: background-color .18s, border-color .18s, color .18s; }
.button-primary { background: var(--action); color: white; }
.button-primary:hover { background: #15499f; }
.button-quiet { border-color: #acbde561; color: #f2f6ff; background: #101f3a2b; }
.button-quiet:hover { border-color: #c7dafe; background: #ceddff19; }
.button-outline { border-color: #c4d4e9; color: var(--ink); background: white; }
.button-outline:hover { border-color: #91b4e9; background: #eef5ff; color: #144170; }
.eyebrow { color: var(--action); font-size: .765rem; font-weight: 800; letter-spacing: .105em; line-height: 1.4; text-transform: uppercase; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 80% 39%, #254a8d 0%, #142f5d 25%, #0c1c3b 56%, #08162e 83%); color: white; }
.hero::before { position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(117deg, #d6e7ff05 0 1px, transparent 1px 117px); mask-image: linear-gradient(90deg, transparent 25%, black); content: ''; }
.hero-inner { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; min-height: clamp(34.5rem, 47vw, 40rem); }
.hero-copy { z-index: 1; padding-block: clamp(3.75rem, 6vw, 5.25rem); }
.hero-eyebrow { display: flex; align-items: center; gap: .75rem; color: #b6d3ff; }
.hero-eyebrow::before { width: 1.65rem; height: 1px; background: #75abff; content: ''; }
.hero h1 { margin-top: 1.35rem; font: 400 clamp(4.75rem, 8.25vw, 7.65rem)/.83 var(--display); letter-spacing: -.034em; }
.hero h1 em { color: #b6d6ff; }
.hero-description { max-width: 25.5rem; margin-top: 1.65rem; color: #dbe6fa; font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.52; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.7rem; }
.hero-primary { background: #2364d8; }
.hero-primary:hover { background: #1d55b7; }
.hero-signature { display: inline-block; margin-top: 1.7rem; color: #b8c8e2; font-size: .875rem; text-decoration: none; }
.hero-signature strong { color: #f1f5ff; }
.hero-signature:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.hero-visual { position: relative; height: 100%; min-height: 31rem; }
.hero-studio { position: absolute; inset: 2.5% -4.5% 5% -9%; }
.studio-orbit { position: absolute; inset: 15% 8% 24% 6%; border: 1px solid #89adf536; border-radius: 50%; transform: rotate(-25deg); }
.studio-orbit::before, .studio-orbit::after { position: absolute; inset: 8%; border: 1px solid #a3c6ff2b; border-radius: 50%; content: ''; }
.studio-orbit::after { inset: -8%; border-color: #8bb1f624; }
.studio-base { position: absolute; right: 0; bottom: 5%; left: 0; height: 20%; border-radius: 50%; background: radial-gradient(ellipse at 55% 31%, #3b67aeaa 0%, #0c1b394d 46%, transparent 74%); }
.hero-product { position: absolute; width: auto; object-fit: contain; filter: drop-shadow(.65rem 1.1rem .75rem #000b2199); }
.hero-sacola { bottom: 13%; left: 29%; height: 81%; max-width: 57%; }
.hero-garrafa { bottom: 10%; left: 13%; height: 62%; max-width: 27%; }
.hero-copo { right: 8%; bottom: 9%; height: 44%; max-width: 38%; }
.hero-visual figcaption { position: absolute; right: 0; bottom: 1.75rem; color: #c7d7ef; font-size: .8rem; }

.section { padding-block: clamp(4rem, 7.35vw, 6.75rem); }
.catalog-section { padding-top: clamp(3.65rem, 4.8vw, 4.75rem); }
.section-heading h2 { color: var(--navy); font: 400 clamp(3.35rem, 5.9vw, 5.4rem)/.95 var(--display); letter-spacing: -.025em; }
.section-heading .eyebrow { margin-bottom: .5rem; }
.section-heading h2 + p { margin-top: .8rem; color: var(--muted); }
.catalog-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.search-field { display: flex; flex: 0 0 min(20.5rem, 35%); align-items: center; gap: .65rem; min-height: 3rem; margin-bottom: .15rem; padding-inline: .9rem; border: 1px solid #cad6e6; border-radius: .55rem; background: white; color: #58708f; }
.search-field:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.search-field input { min-width: 0; flex: 1; border: 0; padding: .65rem 0; outline: none; background: transparent; color: var(--ink); font-size: 1rem; }
.search-field input:focus-visible { outline: none; }
.search-field input::placeholder { color: #586b86; opacity: 1; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-block: 1.65rem 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter { min-height: 2.45rem; border: 1px solid #cfdbec; border-radius: 4rem; padding: .4rem .95rem; background: white; color: #475d7a; font-size: .875rem; font-weight: 700; transition: background-color .18s, color .18s; }
.filter:hover { background: #eaf2ff; color: var(--action); }
.filter[aria-pressed='true'] { border-color: var(--navy); background: var(--navy); color: white; }
.catalog-count { flex: 0 0 auto; color: var(--muted); font-size: .875rem; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.875rem, 2vw, 1.4rem); }
.product-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .95rem; background: white; transition: border-color .2s, box-shadow .2s; }
.product-card:hover, .product-card:focus-within { border-color: #a8bfe0; box-shadow: 0 .5rem 1.3rem #132d5811; }
.product-media { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1.2; border: 0; overflow: hidden; background: radial-gradient(ellipse at 48% 50%, #fdfefe, #edf2fa); }
.product-media:focus-visible { outline-offset: -3px; z-index: 1; }
.product-media img { position: absolute; inset: 12% 10%; width: 80%; height: 76%; object-fit: contain; mix-blend-mode: multiply; transition: scale .25s ease; }
.product-media:hover img { scale: 1.07; }
.product-code { position: absolute; z-index: 1; top: .72rem; left: .8rem; color: #536884; font-size: .75rem; font-weight: 800; letter-spacing: .045em; }
.media-zoom { position: absolute; z-index: 1; right: .62rem; bottom: .62rem; display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid #dce6f4; border-radius: .55rem; background: #ffffffd9; color: #345273; }
.media-zoom .icon { width: .98rem; height: .98rem; }
.product-info { display: flex; flex-direction: column; flex: 1; align-items: flex-start; padding: .95rem 1rem .95rem; }
.product-info h3 { color: var(--ink); font-size: 1.075rem; line-height: 1.2; font-weight: 800; }
.product-color { display: flex; align-items: center; gap: .43rem; margin-top: .55rem; color: #485e7a; font-size: .875rem; line-height: 1.25; }
.swatch { display: block; width: .65rem; height: .65rem; flex: 0 0 auto; border: 1px solid #10274834; border-radius: 50%; background: var(--swatch); }
.product-feature { margin-block: .27rem .85rem; color: var(--muted); font-size: .875rem; line-height: 1.3; }
.product-add { display: flex; justify-content: center; align-items: center; gap: .35rem; width: 100%; min-height: 2.6rem; margin-top: auto; border: 1px solid #d0def2; border-radius: .475rem; padding: .35rem .45rem; background: #f5f9ff; color: #144caa; font-size: .875rem; font-weight: 800; transition: background .2s; }
.product-add:hover { background: #e5f0ff; }
.product-add.is-selected { border-color: #b8d3f4; background: #dcecff; color: #17437c; }
.product-add .icon { width: 1rem; height: 1rem; }
.catalog-empty { grid-column: 1 / -1; padding: 3.25rem 1rem; border: 1px solid var(--line); border-radius: .95rem; background: white; text-align: center; }
.catalog-empty h3 { font-size: 1.2rem; }
.catalog-empty p { margin: .4rem 0 1rem; color: var(--muted); }

.kits-section { background: #eaf1fb; }
.kit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.875rem, 2vw, 1.4rem); margin-top: 1.75rem; }
.kit-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #d5e1f0; border-radius: .95rem; background: white; }
.kit-art { position: relative; isolation: isolate; min-height: 12.75rem; aspect-ratio: 1.65; overflow: hidden; background: radial-gradient(ellipse at 60% 24%, #f5f8fe, #d2e1f6); }
.kit-evento { background: radial-gradient(ellipse at 60% 24%, #faf7f3, #e6decf); }
.kit-formatura { background: radial-gradient(ellipse at 60% 24%, #e6effc, #acbfdc); }
.kit-art::before { position: absolute; z-index: -1; inset: 11% 11% 17%; border: 1px solid #44699d3a; border-radius: 50%; transform: rotate(-18deg); content: ''; }
.kit-art img { position: absolute; object-fit: contain; filter: drop-shadow(.25rem .42rem .3rem #162b4935); }
.kit-art .kit-piece-1 { bottom: 13%; left: 23%; width: 43%; height: 80%; mix-blend-mode: multiply; }
.kit-art .kit-piece-2 { right: 17%; bottom: 13%; width: 26%; height: 62%; }
.kit-art .kit-piece-3 { right: 13%; bottom: 7%; width: 43%; height: 18%; mix-blend-mode: multiply; }
.kit-evento .kit-piece-2 { right: 13%; bottom: 17%; width: 37%; height: 32%; }
.kit-evento .kit-piece-3 { width: 52%; }
.kit-formatura .kit-piece-2 { bottom: 14%; right: 10%; width: 34%; height: 57%; }
.kit-formatura .kit-piece-3 { right: 29%; bottom: 7%; width: 24%; height: 24%; }
.kit-copy { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: clamp(1rem, 2.2vw, 1.55rem); }
.kit-copy h3 { margin-top: .25rem; font: 400 clamp(2.1rem, 3.45vw, 3.2rem)/1.03 var(--display); letter-spacing: -.025em; }
.kit-copy > h3 + p { margin-top: .45rem; margin-bottom: .85rem; color: var(--muted); }
.kit-parts { width: 100%; margin: auto 0 .85rem; padding-top: .65rem; border-top: 1px solid var(--line); color: #435e7d; font-size: .875rem; font-weight: 650; }
.kit-copy .button { min-height: 2.65rem; }

.contact-panel { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 1.1rem; background: var(--navy); color: #dce8fb; }
.contact-copy { padding: clamp(1.6rem, 5.2vw, 4.75rem); }
.contact-copy .eyebrow { color: #b6d3ff; }
.contact-copy h2 { margin: .65rem 0 1.25rem; color: white; font: 400 clamp(3rem, 4.45vw, 4.45rem)/.92 var(--display); letter-spacing: -.02em; }
.contact-copy h2 em { color: #b6d6ff; }
.contact-copy strong { color: white; font-weight: 800; }
.consultant { margin-bottom: .23rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem; }
.contact-photo { width: 100%; height: 100%; min-height: 18rem; object-fit: cover; object-position: 53% 49%; }
.site-footer { border-top: 1px solid var(--line); background: white; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.45rem; padding-block: 1.6rem; color: #4e617c; font-size: .875rem; }
.footer-brands { display: flex; align-items: center; gap: .9rem; }
.footer-brands a + a { padding-left: .9rem; border-left: 1px solid var(--line); }
.maggenta-logo { width: 8.5rem; height: auto; }
.footer-top { font-weight: 700; text-underline-offset: 3px; }

dialog { max-width: calc(100% - 1.5rem); border: 0; padding: 0; background: white; color: var(--ink); box-shadow: 0 1rem 3rem #071b3f4f; }
dialog::backdrop { background: #071529b3; }
.icon-button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: 0 0 auto; border: 1px solid #d5e1ee; border-radius: .55rem; background: white; color: #374e6e; }
.icon-button:hover { border-color: #a4bddd; background: #eff5ff; }
.detail-dialog { width: min(53rem, 100% - 1.5rem); max-height: min(92dvh, 54rem); border-radius: 1rem; }
.detail-shell { position: relative; }
.detail-close { position: absolute; z-index: 1; top: .85rem; right: .85rem; }
#detail-content { display: grid; grid-template-columns: 1fr 1fr; }
.detail-art { display: grid; place-items: center; min-height: 23rem; padding: 2.4rem 1.35rem; background: radial-gradient(ellipse at 48% 50%, #fefefe, #ebf1fa); }
.detail-art img { width: 100%; height: 22rem; object-fit: contain; mix-blend-mode: multiply; }
.detail-info { padding: 2.9rem 1.75rem 1.65rem; }
.detail-info h2 { margin: .25rem 0 .5rem; color: var(--navy); font: 400 clamp(2.65rem, 4.5vw, 4.15rem)/.95 var(--display); }
.detail-info h2 + p { color: var(--muted); }
.specs { margin: 1.05rem 0; }
.specs div { display: grid; grid-template-columns: 4.8rem 1fr; gap: .6rem; padding-block: .43rem; border-top: 1px solid var(--line); font-size: .9rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; }
.detail-status { min-height: 1.2rem; padding-top: .35rem; font-size: .8125rem; color: #295480; }

.cart-dialog { inset: 0 0 0 auto; width: min(100%, 30rem); max-width: 100%; height: 100%; max-height: 100dvh; margin: 0; overflow: hidden; }
.cart-shell { display: flex; flex-direction: column; height: 100%; }
.cart-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.3rem 1.4rem .95rem; border-bottom: 1px solid var(--line); }
.cart-header h2 { margin-top: .14rem; color: var(--navy); font: 400 3.1rem/.95 var(--display); }
.cart-scroll { flex: 1; overflow: auto; overscroll-behavior: contain; padding-inline: 1.4rem; }
.cart-empty { margin: 2.55rem auto; padding: 1rem; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin: 0 auto .85rem; border-radius: .75rem; background: #eaf1fd; color: #2b5695; }
.empty-icon .icon { width: 1.65rem; height: 1.65rem; }
.cart-empty h3 { margin-bottom: .25rem; font-size: 1.2rem; }
.cart-empty p { margin-bottom: 1rem; color: var(--muted); }
.cart-items { margin: 0; padding: 0; list-style: none; }
.cart-item { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) auto; align-items: start; gap: .75rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.cart-thumbnail { width: 4.2rem; height: 4.2rem; border-radius: .55rem; padding: .35rem; background: #eef3f9; object-fit: contain; mix-blend-mode: multiply; }
.cart-item-info h3 { color: var(--ink); font-size: .97rem; line-height: 1.22; }
.cart-item-info p { margin: .25rem 0 .45rem; color: var(--muted); font-size: .82rem; }
.stepper { display: inline-flex; align-items: center; min-height: 2.2rem; border: 1px solid #c8d7ec; border-radius: .42rem; }
.stepper button { display: grid; place-items: center; width: 1.95rem; height: 2.15rem; border: 0; background: transparent; color: #194879; }
.stepper button:hover:not(:disabled) { background: #e9f2ff; }
.stepper button:disabled { color: #8695aa; }
.stepper .icon { width: 1rem; height: 1rem; }
.stepper input { appearance: textfield; width: 3.15rem; min-width: 0; height: 1.9rem; border: 0; border-inline: 1px solid #e1e9f3; padding: .15rem .1rem; background: white; color: var(--ink); text-align: center; font-size: 1rem; font-variant-numeric: tabular-nums; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.remove-product { width: 2.5rem; height: 2.5rem; border-color: transparent; }
.remove-product .icon { width: 1.05rem; height: 1.05rem; }
.cart-observations { padding-block: .95rem 1.2rem; }
.cart-observations label { display: block; margin-bottom: .3rem; font-weight: 750; }
.cart-observations label span { color: var(--muted); font-size: .875rem; font-weight: 500; }
.cart-observations textarea { display: block; width: 100%; min-height: 4.5rem; resize: vertical; border: 1px solid #c8d7ec; border-radius: .5rem; padding: .52rem .65rem; background: #fbfdff; color: var(--ink); }
.cart-observations textarea::placeholder { color: #5e718c; }
.cart-footer { padding: .9rem 1.4rem max(.75rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #f7faff; }
#cart-summary { font-weight: 800; }
.cart-instruction { margin-top: .15rem; color: var(--muted); font-size: .875rem; }
.cart-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: .65rem; }
.text-button { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.4rem; margin-top: .18rem; border: 0; padding: .2rem 0; background: transparent; color: #174b9d; font-size: .875rem; font-weight: 750; }
.text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-button .icon { width: 1rem; height: 1rem; }
.copy-status { color: #354c67; font-size: .8125rem; }
.copy-status:empty { display: none; }
.toast { position: fixed; z-index: 8; right: var(--gutter); bottom: 1.25rem; max-width: min(24rem, 100% - var(--gutter) * 2); border-radius: .6rem; padding: .7rem .95rem; background: var(--navy); color: white; box-shadow: 0 .45rem 1.2rem #081a3055; font-size: .9rem; pointer-events: none; }
.toast:empty { padding: 0; }

@media (max-width: 950px) {
  .hero-inner { min-height: 32.5rem; }
  .hero h1 { font-size: clamp(4.25rem, 9.3vw, 5.6rem); }
  .hero-visual { min-height: 28rem; }
  .hero-studio { inset: 8% -8% 6% -13%; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kit-art { min-height: 9.25rem; }
}

@media (max-width: 740px) {
  :root { --header-height: 4rem; }
  .header-inner { grid-template-columns: 1fr auto; }
  .navigation, .selection-word { display: none; }
  .selection-button > span:nth-child(2) { text-transform: capitalize; }
  .hero-inner { display: block; }
  .hero-copy { position: relative; padding: 2.55rem 0 0; }
  .hero h1 { margin-top: .95rem; font-size: clamp(3.85rem, 13.8vw, 6.25rem); }
  .hero-description { margin-top: 1.1rem; }
  .hero-actions { margin-top: 1.15rem; }
  .hero-signature { margin-top: .85rem; }
  .hero-visual { height: clamp(16.35rem, 70vw, 26rem); min-height: 0; }
  .hero-studio { inset: 0 0 1.2rem -3%; }
  .hero-sacola { left: 29%; bottom: 12%; height: 87%; }
  .hero-garrafa { left: 13%; height: 64%; }
  .hero-copo { right: 11%; height: 43%; }
  .hero-visual figcaption { right: 0; bottom: .7rem; font-size: .72rem; }
  .section { padding-block: 3.65rem; }
  .catalog-heading { display: grid; gap: .9rem; }
  .search-field { width: 100%; }
  .catalog-toolbar { display: grid; gap: .65rem; margin-block: .9rem .75rem; padding-top: .75rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kit-grid { grid-template-columns: 1fr; }
  .kit-card { display: grid; grid-template-columns: .86fr 1fr; }
  .kit-copy h3 { font-size: 2.5rem; }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-copy { padding: 1.75rem; }
  .contact-photo { height: 16rem; min-height: 0; }
}

@media (max-width: 520px) {
  .header-inner { gap: .4rem; }
  .institution { font-size: .75rem; gap: .52rem; }
  .institution-mark { width: 2.35rem; height: 2.35rem; }
  .institution-mark img { width: 1.35rem; }
  .selection-button { gap: .37rem; padding-inline: .55rem .35rem; min-height: 2.5rem; }
  .selection-button > .icon { width: 1rem; height: 1rem; }
  .selection-count { min-width: 1.44rem; height: 1.44rem; }
  .hero { background: radial-gradient(ellipse at 70% 70%, #244b8d 0%, #132b53 34%, #091931 72%); }
  .hero-actions { gap: .4rem; }
  .hero-actions .button { padding-inline: .69rem; font-size: .86rem; }
  .product-grid { gap: .65rem; }
  .product-info { padding: .69rem .65rem .65rem; }
  .product-info h3 { font-size: .96rem; }
  .product-color { margin-top: .4rem; }
  .product-feature { margin-bottom: .65rem; }
  .product-code { top: .53rem; left: .53rem; }
  .media-zoom { right: .42rem; bottom: .42rem; width: 1.65rem; height: 1.65rem; }
  .media-zoom .icon { width: .84rem; height: .84rem; }
  .kit-card { display: flex; }
  .contact-photo { height: 13rem; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; gap: .7rem; padding-block: 1.05rem; }
  .footer-inner p { grid-row: 2; grid-column: 1 / -1; }
  .footer-brands { gap: .55rem; }
  .footer-brands a + a { padding-left: .55rem; }
  .maggenta-logo { width: 6.65rem; }
  #detail-content { grid-template-columns: 1fr; }
  .detail-art { min-height: 0; padding: 1.35rem 2.6rem 1.15rem; }
  .detail-art img { height: 11.5rem; }
  .detail-info { padding: 1.2rem 1.15rem .85rem; }
  .cart-header, .cart-footer { padding-inline: 1rem; }
  .cart-scroll { padding-inline: 1rem; }
}

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