@font-face {
  font-family: Bricolage;
  src: url("assets/bricolage.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

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

:root {
  color-scheme: light;
  --navy: #082751;
  --deep: #061b39;
  --blue: #0c4da2;
  --yellow: #ffcc00;
  --ink: #101e32;
  --muted: #50647d;
  --line: #dbe4ef;
  --paper: #f7f9fd;
  --display: Bricolage, "DM Sans", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(1rem, 4.25vw, 4.25rem);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
html:has(dialog[open]) { overflow: hidden; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.55 var(--body); }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .24em; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 750; line-height: 1.02; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #2a79dc; outline-offset: 4px; }
section[id] { scroll-margin-top: 6.75rem; }

.wrap { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  flex: 0 0 auto;
  width: 1.28em;
  height: 1.28em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus { position: fixed; z-index: 10; top: .75rem; left: 1rem; padding: .7rem 1rem; border-radius: .5rem; background: white; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .52rem;
  padding: .65rem 1.05rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}
.button-yellow { color: #112447; background: var(--yellow); }
.button-yellow:hover { background: #ffdd4d; }
.button-primary { color: white; background: var(--blue); }
.button-primary:hover { background: var(--navy); }
.button-outline { color: var(--navy); border-color: #c2d2e5; background: white; }
.button-outline:hover { border-color: var(--blue); background: #eff5fe; }
.button-on-dark { color: white; border-color: #7894bd; background: transparent; }
.button-on-dark:hover { background: #164784; border-color: #adc3e4; }
.text-button { border: 0; padding: 0; color: var(--blue); background: transparent; text-decoration: underline; text-underline-offset: .23em; font-weight: 700; }
.text-button:hover { color: var(--navy); }

.site-header { position: sticky; top: 0; z-index: 3; background: #fff; border-bottom: 1px solid #e9eef5; }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 79px; gap: 1.4rem; }
.brand-lockup { display: inline-flex; align-items: center; gap: 1rem; text-decoration: none; }
.brand-martins { width: 72px; height: auto; }
.brand-pepperone { width: 100px; height: 42px; object-fit: contain; }
.brand-divider { display: block; width: 1px; height: 34px; background: var(--line); }
.header-nav { display: flex; gap: clamp(1.25rem, 3.25vw, 3.25rem); align-items: center; }
.header-nav a { text-decoration: none; color: #364d69; font-size: .94rem; font-weight: 650; }
.header-nav a:hover { color: var(--blue); text-decoration: underline; }
.button-header { color: var(--navy); border-color: #d5e2f2; background: #f5f8fd; padding-inline: .8rem; white-space: nowrap; }
.button-header:hover { border-color: #a9c2e3; background: #eaf2fd; }
.cart-count { min-width: 1.55rem; height: 1.55rem; padding-inline: .24rem; display: grid; place-items: center; color: var(--navy); background: #e0ebfb; font-size: .82rem; border-radius: 50%; }
.cart-count[data-filled="true"] { background: var(--yellow); }

.hero {
  overflow: hidden;
  position: relative;
  isolation: isolate;
  color: white;
  background: linear-gradient(106deg, #061d3d 0%, #0a2b56 55%, #0d4897 100%);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 37%;
  background: radial-gradient(ellipse at 72% 45%, #1d68ca 0%, #0d4593 45%, transparent 75%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1.15fr);
  align-items: center;
  min-height: 550px;
}
.hero-copy { position: relative; z-index: 1; padding-block: 3.5rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .66rem;
  color: inherit;
  font-weight: 750;
  font-size: .78rem;
  letter-spacing: .12em;
  line-height: 1.35;
  text-transform: uppercase;
}
.eyebrow > span { display: inline-block; width: 1.45rem; height: 2px; background: var(--yellow); }
.hero .eyebrow { color: #e2ecff; }
.hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(3.15rem, 5.5vw, 5.45rem);
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.044em;
}
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero-intro { max-width: 29rem; color: #d8e5fa; font-size: clamp(1rem, 1.45vw, 1.24rem); margin-top: 1.45rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.45rem; margin-top: 1.95rem; }
.hero-actions .button { padding-inline: 1.45rem; min-height: 54px; }
.hero-contact { font-weight: 700; color: #eef5ff; min-height: 44px; display: inline-flex; align-items: center; }
.hero-contact:hover { color: var(--yellow); }
.hero :focus-visible, .contact-card :focus-visible, .toast :focus-visible { outline-color: var(--yellow); }

.hero-figure {
  position: relative;
  min-width: 0;
  align-self: stretch;
  display: grid;
  place-items: center;
}
.hero-figure::before {
  content: "";
  position: absolute;
  inset: .5rem -2.4rem .85rem -2.4rem;
  z-index: -1;
  background: url("assets/rotas-martins.webp") center center / contain no-repeat;
  opacity: .83;
}
.hero-figure img { width: min(100%, 650px); height: auto; max-height: 555px; object-fit: contain; }
.hero-figure figcaption { position: absolute; right: 0; bottom: 1rem; color: #d5e6ff; font-size: .77rem; }

.occasions { background: #fff; border-bottom: 1px solid #e3ebf5; }
.occasions-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.occasions a {
  display: flex;
  align-items: center;
  gap: .87rem;
  min-height: 101px;
  padding: .85rem clamp(.75rem, 2.5vw, 2.25rem);
  text-decoration: none;
  border-right: 1px solid #e5ecf5;
  transition: background-color .16s ease;
}
.occasions a:first-child { padding-left: 0; }
.occasions a:last-child { border-right: 0; }
.occasions a:hover { background: #f5f8fd; }
.occasion-icon { display: grid; place-items: center; flex: 0 0 45px; width: 45px; height: 45px; border-radius: .7rem; color: var(--blue); background: #eaf2fc; }
.occasion-icon .icon { width: 23px; height: 23px; }
.occasions strong, .occasions small { display: block; }
.occasions strong { color: var(--navy); font-size: .98rem; }
.occasions small { color: var(--muted); font-size: .88rem; margin-top: .06rem; }

.catalog { padding-block: clamp(3.5rem, 7vw, 6rem) 4.5rem; }
.section-heading { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-end; }
.section-heading h2, .story h2, .contact-card h2 { color: var(--navy); font-size: clamp(2.25rem, 4.05vw, 3.7rem); letter-spacing: -.042em; }
.section-heading p { margin-top: .7rem; color: var(--muted); }
.search {
  display: flex;
  align-items: center;
  gap: .58rem;
  min-width: min(100%, 19rem);
  min-height: 48px;
  border-radius: .62rem;
  padding: 0 .85rem;
  border: 1px solid #cfdcec;
  background: white;
  color: var(--blue);
}
.search:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.search input { width: 100%; min-height: 46px; padding: .45rem .02rem; outline: 0; border: 0; background: transparent; color: var(--ink); }
.search input::placeholder { color: #536783; opacity: 1; }
.catalog-tools { display: flex; align-items: center; justify-content: space-between; gap: .8rem 1.25rem; margin-block: 1.45rem 1.35rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filters button {
  min-height: 42px;
  border: 1px solid #d4e0ef;
  border-radius: 6rem;
  padding: .47rem .87rem;
  background: white;
  color: #364e6b;
  line-height: 1.26;
  font-size: .9rem;
  font-weight: 650;
}
.filters button:hover { border-color: var(--blue); }
.filters button[aria-pressed="true"] { color: white; background: var(--navy); border-color: var(--navy); }
.results { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }

.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e0e8f2;
  border-radius: .95rem;
  background: white;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.product-card:hover, .product-card:focus-within { border-color: #b2c9e6; box-shadow: 0 .5rem 1.5rem #1439630e; }
.product-media, .detail-media {
  --stage: #eaf1fb;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 53% 49%, #f7faff, var(--stage) 73%);
}
[data-tone="mist"] { --stage: #ebeff5; }
[data-tone="ice"] { --stage: #e5eef9; }
[data-tone="sand"] { --stage: #f3f0e7; }
.product-media { border: 0; padding: 0; width: 100%; aspect-ratio: 1.53; }
.product-media:focus-visible { outline-offset: -5px; }
.product-media img {
  width: 78%;
  height: 79%;
  max-height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 9px 6px #061b3926);
  transition: transform .23s ease;
}
.product-media:hover img { transform: scale(1.045); }
[data-shape="pen"] img { transform: rotate(-15deg); }
.product-media[data-shape="pen"]:hover img { transform: rotate(-15deg) scale(1.045); }
.product-content { padding: 1.15rem 1.2rem 1.25rem; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.product-code { font-size: .78rem; letter-spacing: .07em; font-weight: 750; color: var(--blue); }
.product-content h3 { font-size: clamp(1.28rem, 2.1vw, 1.57rem); color: var(--navy); margin-block: .43rem .42rem; letter-spacing: -.027em; }
.product-summary { color: var(--muted); font-size: .94rem; line-height: 1.45; }
.product-actions { width: 100%; margin-top: auto; padding-top: 1.1rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .45rem .7rem; }
.product-actions .button { min-height: 43px; padding-inline: .78rem; font-size: .91rem; }
.product-actions .text-button { min-height: 40px; font-size: .9rem; }
.catalog-empty { padding: 3rem 1rem; border: 1px dashed #bfcede; border-radius: 1rem; text-align: center; }
.catalog-empty p { margin-bottom: 1rem; color: var(--muted); }
.catalog-note { color: var(--muted); margin-top: 1.4rem; font-size: .89rem; }

.story { background: #eaf1fa; padding-block: clamp(3rem, 6vw, 5.45rem); }
.story-inner { display: grid; grid-template-columns: 1.11fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5.75rem); }
.story-photo { position: relative; }
.story-photo img { width: 100%; height: auto; aspect-ratio: 1.58; object-fit: cover; border-radius: .95rem; }
.story-photo figcaption { position: absolute; left: .9rem; bottom: .9rem; color: white; background: #061b39e6; border-radius: .38rem; padding: .32rem .55rem; font-size: .78rem; }
.story-copy .eyebrow { color: var(--blue); margin-bottom: 1rem; }
.story-copy > p:not(.eyebrow), .contact-copy > p:not(.eyebrow) { margin-top: 1rem; }
.story-copy > p:not(.eyebrow) { color: #344e6b; }
.story-link { display: inline-block; margin-top: 1.25rem; color: var(--blue); font-weight: 700; }

.contact-section { padding-block: clamp(2.75rem, 6vw, 5.1rem); }
.contact-card {
  display: grid;
  grid-template-columns: 1fr minmax(235px, auto);
  align-items: center;
  gap: 1.7rem 3.5rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(115deg, #071f43, #0c438c);
  color: white;
  border-radius: 1.1rem;
  padding: clamp(1.5rem, 4.7vw, 3.8rem);
}
.contact-card::before { content: ""; position: absolute; z-index: -1; inset: -24% -14% -35% 36%; background: url("assets/rotas-martins.webp") right center / contain no-repeat; opacity: .55; }
.contact-card h2 { color: white; margin-top: .85rem; }
.contact-card p:not(.eyebrow) { color: #e1edff; max-width: 37rem; }
.contact-links { display: grid; gap: .62rem; }
.contact-links .button { justify-content: flex-start; font-size: .95rem; padding-inline: 1.02rem; }
.site-footer { background: #fff; border-top: 1px solid #e2eaf3; color: #405871; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: center; min-height: 99px; font-size: .88rem; }
.footer-inner img { width: 110px; height: 45px; object-fit: contain; }
.footer-link { color: var(--blue); font-weight: 700; }

dialog { border: 0; padding: 0; color: var(--ink); background: white; box-shadow: 0 1.5rem 4.5rem #061b394d; overscroll-behavior: contain; }
dialog::backdrop { background: #061932ac; }
.product-dialog {
  width: min(880px, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  border-radius: 1rem;
}
.detail-layout { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid #dce6f2; border-radius: .65rem; color: var(--navy); background: white; padding: 0; }
.icon-button:hover { border-color: #adc4e0; background: #f0f5fc; }
.dialog-close { position: absolute; z-index: 1; right: .9rem; top: .9rem; }
.detail-media { min-height: 430px; }
.detail-media img { width: 83%; height: 80%; max-height: 405px; object-fit: contain; }
.detail-media:has(.detail-views:not([hidden])) img { height: 72%; transform: translateY(-.75rem); }
.detail-views { position: absolute; bottom: .65rem; display: flex; gap: .38rem; }
.detail-views button { padding: .32rem .65rem; min-height: 37px; border: 1px solid #b8cce6; border-radius: 2rem; color: var(--navy); background: white; font-size: .87rem; font-weight: 700; }
.detail-views button[aria-pressed="true"] { color: white; border-color: var(--navy); background: var(--navy); }
.detail-content { padding: 2rem 1.65rem 1.6rem; }
.detail-content h2 { color: var(--navy); font-size: clamp(1.9rem, 4.7vw, 2.6rem); letter-spacing: -.045em; margin-block: .5rem .65rem; }
.detail-content > .product-code { padding-right: 3rem; }
.detail-content > p:not(.product-code) { color: var(--muted); font-size: .95rem; }
.specs { margin: 1.1rem 0; font-size: .89rem; }
.specs > div { display: grid; grid-template-columns: minmax(5.8rem, .95fr) 1.7fr; gap: .5rem; border-bottom: 1px solid #e6edf6; padding: .44rem 0; }
.specs dt { font-weight: 700; color: var(--navy); }
.specs dd { margin: 0; color: #425a75; }
.variant-picker { margin: 0 0 1rem; padding: 0; border: 0; min-width: 0; }
.variant-picker legend { padding: 0; font-weight: 750; font-size: .9rem; margin-bottom: .42rem; }
#detail-variants { display: flex; flex-wrap: wrap; gap: .42rem; }
#detail-variants button { border: 1px solid #c9d8eb; border-radius: .45rem; min-height: 40px; padding: .36rem .57rem; color: var(--navy); background: white; font-size: .87rem; line-height: 1.25; }
#detail-variants button:hover { border-color: var(--blue); }
#detail-variants button[aria-pressed="true"] { border-color: var(--blue); color: var(--blue); background: #eaf3ff; box-shadow: inset 0 0 0 1px var(--blue); }
#detail-add { width: 100%; }

.cart-dialog { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(100%, 465px); max-width: none; min-height: 100%; max-height: 100%; height: 100dvh; overflow: hidden; }
.cart-layout { height: 100%; display: flex; flex-direction: column; }
.cart-header { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; gap: .7rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.cart-header h2 { color: var(--navy); font-size: 2rem; letter-spacing: -.04em; }
.cart-content { min-height: 0; flex: 1 1 auto; overflow-y: auto; padding: 1rem 1.25rem; }
.cart-empty { display: grid; justify-items: center; gap: .8rem; padding-block: 3.25rem; color: var(--muted); }
.cart-empty p { font-size: 1.08rem; font-weight: 700; color: var(--navy); }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: .78rem; padding-block: .78rem; border-bottom: 1px solid #e2eaf4; }
.cart-list img { width: 64px; height: 64px; padding: .35rem; object-fit: contain; border-radius: .5rem; background: #ecf3fb; }
.cart-list h3 { color: var(--navy); font-size: 1.14rem; line-height: 1.1; margin-bottom: .2rem; }
.cart-variant { font-size: .84rem; color: var(--muted); }
.cart-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.quantity { display: inline-flex; align-items: center; border: 1px solid #cddbec; border-radius: .6rem; }
.quantity button, .quantity input { background: white; border: 0; color: var(--navy); min-width: 42px; height: 42px; padding: 0; text-align: center; }
.quantity button { display: grid; place-items: center; border-radius: .55rem; }
.quantity button:hover { background: #edf4fc; }
.quantity input { width: 4.05rem; appearance: textfield; padding-inline: .2rem; border-radius: .15rem; }
.quantity input::-webkit-inner-spin-button, .quantity input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.quantity :focus-visible { z-index: 1; outline-offset: -2px; }
.cart-controls > .text-button { font-size: .85rem; min-height: 42px; }
.quote-notes { margin-top: 1.1rem; }
.quote-notes label { display: block; color: var(--navy); font-weight: 700; margin-bottom: .38rem; }
.quote-notes label span { color: var(--muted); font-weight: 500; font-size: .87rem; }
.quote-notes textarea { display: block; width: 100%; min-height: 83px; padding: .62rem; resize: vertical; border: 1px solid #c9d8eb; border-radius: .55rem; color: var(--ink); }
.quote-notes textarea::placeholder { color: #526985; opacity: 1; }
.cart-footer { flex: 0 0 auto; display: grid; gap: .5rem; border-top: 1px solid var(--line); padding: .9rem 1.25rem calc(.9rem + env(safe-area-inset-bottom)); background: #f8fbff; }
.cart-footer p { color: var(--muted); font-size: .85rem; margin-bottom: .12rem; }
.cart-footer .text-button { min-height: 34px; font-size: .86rem; justify-self: center; }
.cart-footer #copy-feedback { text-align: center; }
.copy-fallback { width: 100%; min-height: 5rem; padding: .5rem; border: 1px solid var(--line); border-radius: .5rem; }
.toast { position: fixed; bottom: max(1.1rem, env(safe-area-inset-bottom)); right: max(var(--gutter), calc((100% - var(--max)) / 2)); z-index: 4; display: flex; align-items: center; gap: .55rem; width: max-content; max-width: calc(100% - 2rem); padding: .55rem .8rem; border-radius: .65rem; border: 1px solid #5077ad; box-shadow: 0 .6rem 1.5rem #051d3a40; color: white; background: var(--navy); font-size: .91rem; }
.toast .icon, .toast .text-button { color: var(--yellow); }
.toast .text-button { margin-left: .4rem; min-height: 42px; white-space: nowrap; }

@media (max-width: 1050px) {
  .hero-inner { min-height: 475px; }
  .hero h1 { font-size: clamp(3rem, 6.1vw, 4.35rem); }
  .product-content { padding: 1rem; }
}

@media (max-width: 790px) {
  .header-nav { display: none; }
  .header-inner { min-height: 69px; }
  .hero-inner { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); }
  .hero-copy { padding-block: 2.5rem; }
  .hero h1 { font-size: clamp(2.6rem, 6.7vw, 3.9rem); }
  .hero-figure { align-self: center; }
  .hero-figure figcaption { position: static; justify-self: end; }
  .occasions a { min-height: 86px; gap: .55rem; padding-inline: .7rem; }
  .occasion-icon { flex-basis: 39px; width: 39px; height: 39px; }
  .occasions strong { font-size: .89rem; line-height: 1.25; }
  .occasions small { font-size: .81rem; line-height: 1.35; margin-top: .19rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem; }
  .section-heading { align-items: flex-start; flex-wrap: wrap; }
  .catalog-tools { align-items: flex-start; flex-direction: column; }
  .search { width: min(100%, 24rem); }
  .story-inner { gap: 1.55rem; }
}

@media (max-width: 560px) {
  section[id] { scroll-margin-top: 5.3rem; }
  .header-inner { min-height: 64px; gap: .5rem; }
  .brand-lockup { gap: .56rem; }
  .brand-martins { width: 54px; }
  .brand-pepperone { width: 72px; height: 31px; }
  .brand-divider { height: 25px; }
  .button-header { min-height: 43px; font-size: .88rem; padding-inline: .55rem; gap: .37rem; }
  .cart-count { min-width: 1.35rem; height: 1.35rem; }
  .hero::before { inset: 32% 0 0 0; background: radial-gradient(ellipse at 50% 65%, #1b61b8 3%, #0d3f80 49%, transparent 78%); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-block: 2.4rem 0; }
  .hero h1 { font-size: clamp(2.75rem, 10.6vw, 4.5rem); margin-top: 1rem; }
  .hero-intro { margin-top: .92rem; }
  .hero-actions { margin-top: 1.12rem; gap: .24rem .85rem; }
  .hero-actions .button { min-height: 47px; padding-inline: .9rem; font-size: .92rem; }
  .hero-contact { font-size: .91rem; }
  .hero-figure { margin: -.25rem 0 .75rem; }
  .hero-figure img { width: min(100%, 420px); margin-inline: auto; max-height: 360px; }
  .hero-figure::before { inset: -.45rem -1rem 0; }
  .hero-figure figcaption { margin-top: -.45rem; font-size: .73rem; }
  .occasions-inner { grid-template-columns: 1fr; padding-block: .31rem; }
  .occasions a, .occasions a:first-child { min-height: 59px; padding: .4rem .1rem; border-right: 0; border-bottom: 1px solid #e5ecf5; }
  .occasions a:last-child { border-bottom: 0; }
  .catalog { padding-block: 2.7rem 3rem; }
  .section-heading { gap: .9rem; }
  .search { width: 100%; }
  .catalog-tools { margin-block: 1rem .78rem; }
  .filters { gap: .37rem; }
  .filters button { padding-inline: .65rem; min-height: 39px; font-size: .84rem; }
  .product-grid { grid-template-columns: 1fr; gap: .8rem; }
  .product-media { aspect-ratio: 1.7; max-height: 255px; }
  .product-content h3 { font-size: 1.4rem; }
  .story-inner, .contact-card { grid-template-columns: 1fr; }
  .story-photo { order: 2; }
  .contact-card { gap: 1.15rem; }
  .contact-links .button { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr auto; gap: .65rem; align-items: center; padding-block: 1rem; }
  .footer-inner p { grid-column: 1 / -1; grid-row: 2; }
  .product-dialog { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-media { min-height: 0; height: clamp(165px, 32dvh, 235px); }
  .detail-content { padding: 1rem; }
  .detail-content > .product-code { padding-right: 0; }
}

@media (max-width: 345px) {
  .brand-pepperone { width: 58px; }
  .brand-martins { width: 46px; }
  .button-header { gap: .27rem; }
}

@media (max-height: 620px) {
  .cart-footer { gap: .35rem; padding-block: .58rem; }
  .cart-footer .button { min-height: 40px; }
  .cart-header { padding-block: .65rem; }
}

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