:root {
  --ink: #17252b;
  --muted: #617078;
  --line: #dce4e6;
  --background: #f4f6f5;
  --surface: #ffffff;
  --brand: #005b96;
  --brand-deep: #073a63;
  --brand-hover: #004979;
  --brand-soft: #e7f2fa;
  --action: #f5c400;
  --action-hover: #ddb000;
  --success: #14804a;
  --success-soft: #e9f7ef;
  --warning: #a96308;
  --warning-soft: #fff5df;
  --error: #a32121;
  --error-soft: #fff1f1;
  --shadow: 0 12px 34px rgba(13, 38, 43, 0.09);
  --sticky-header-height: 128px;
  --sticky-category-height: 0px;
  --sticky-content-offset: calc(
    var(--sticky-header-height) + var(--sticky-category-height) + 16px
  );
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--background);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--sticky-content-offset);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  font-size: 1rem;
  line-height: 1.5;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

input,
select,
textarea {
  color: var(--ink);
}

input::placeholder {
  color: #7b898f;
  opacity: 1;
}

button,
.button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #f5c400;
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--surface);
  background: var(--brand-deep);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.public-page {
  min-height: 100vh;
}

.service-bar {
  color: #d9ebe8;
  background: var(--brand-deep);
  font-size: 0.76rem;
}

.service-bar a {
  color: inherit;
  font-weight: 750;
  text-decoration: none;
}

.service-bar a:hover {
  color: var(--surface);
  text-decoration: underline;
}

.service-bar-inner,
.header-inner,
.category-nav-inner,
.public-main,
.footer-inner,
.footer-legal {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.service-bar-inner {
  display: flex;
  justify-content: space-between;
  min-height: 30px;
  align-items: center;
}

.public-header {
  position: sticky;
  z-index: 30;
  top: 0;
  color: var(--surface);
  background: var(--brand);
  box-shadow: 0 3px 12px rgba(8, 59, 56, 0.15);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

.brand-logo-header {
  width: 192px;
}

.brand-logo-footer {
  width: 218px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px 10px 10px 3px;
  color: var(--brand-deep);
  background: var(--action);
  font-size: 1.25rem;
  font-weight: 900;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.brand-copy small {
  margin-top: 5px;
  color: #c8dfdc;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  height: 44px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
}

.header-search:focus-within {
  box-shadow: 0 0 0 3px var(--action);
}

.header-search input {
  min-width: 0;
  padding: 0 16px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.header-search button {
  border: 0;
  color: var(--brand-deep);
  background: var(--action);
  font-size: 1.6rem;
  font-weight: 900;
}

.header-search button:hover {
  background: var(--action-hover);
}

.public-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.public-nav > a,
.public-nav summary {
  display: flex;
  min-height: 44px;
  align-items: center;
}

.public-nav a,
.public-nav summary {
  color: var(--surface);
  text-decoration: none;
}

.public-nav small {
  display: block;
  margin-bottom: 3px;
  color: #c8dfdc;
  font-size: 0.68rem;
  font-weight: 500;
}

.account-menu {
  position: relative;
}

.account-menu summary {
  display: grid;
  align-content: center;
  list-style: none;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 750;
  white-space: nowrap;
}

.account-menu[open] summary {
  color: var(--action);
}

.account-menu summary::-webkit-details-marker {
  display: none;
}

.account-menu-panel {
  position: absolute;
  z-index: 15;
  top: calc(100% + 17px);
  right: 0;
  display: grid;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.account-menu-panel a,
.account-menu-panel .link-button {
  padding: 11px;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
}

.account-menu-panel a:hover,
.account-menu-panel .link-button:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 750;
  white-space: nowrap;
}

.cart-icon {
  font-size: 1.8rem;
  transform: rotate(180deg);
}

.cart-badge {
  position: absolute;
  top: -8px;
  left: 16px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  color: var(--brand-deep);
  background: var(--action);
  font-size: 0.68rem;
  font-weight: 900;
}

.category-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--brand-deep);
}

.category-nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 43px;
  gap: 26px;
}

.category-nav a,
.category-menu summary {
  color: #e8f3f2;
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.category-nav > .category-nav-inner > a:hover,
.category-menu summary:hover,
.category-menu[open] summary {
  color: var(--action);
}

.category-nav .all-products {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--surface);
  font-weight: 800;
}

.category-menu summary {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  list-style: none;
}

.category-menu summary::-webkit-details-marker {
  display: none;
}

.category-menu summary > span {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 140ms ease;
}

.category-menu[open] summary > span {
  transform: rotate(225deg) translate(-1px, -1px);
}

.category-menu-panel {
  position: absolute;
  z-index: 25;
  top: calc(100% + 8px);
  left: 0;
  width: min(620px, 100%);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(13, 38, 43, 0.2);
}

.category-menu-panel > p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.category-nav .category-menu-grid a {
  display: grid;
  gap: 2px;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--ink);
  white-space: normal;
}

.category-nav .category-menu-grid a:hover,
.category-nav .category-menu-grid a[aria-current="page"] {
  color: var(--brand);
  background: var(--brand-soft);
}

.category-menu-grid a span {
  font-weight: 800;
}

.category-menu-grid a small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.public-main {
  padding: 38px 0 86px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.65rem);
  line-height: 1.08;
}

h2 {
  line-height: 1.15;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lede {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.88rem;
  line-height: 1.15;
  text-decoration: none;
  font-weight: 800;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, color 150ms ease, transform 150ms ease;
}

.button-primary {
  color: var(--surface);
  background: var(--brand);
  box-shadow: 0 2px 0 rgba(7, 58, 99, 0.18);
}

.button-primary:hover {
  background: var(--brand-hover);
  box-shadow: 0 5px 14px rgba(7, 58, 99, 0.2);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--brand);
  border-color: #b9ceca;
  background: var(--surface);
}

.button-secondary:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 4px 12px rgba(7, 58, 99, 0.09);
  transform: translateY(-1px);
}

.button:active,
button:active {
  transform: translateY(1px);
}

.button:disabled,
button:disabled,
input:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.link-button {
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  color: var(--brand);
  background: transparent;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.link-button:hover {
  text-decoration-thickness: 2px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.home-page {
  padding-top: 0;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #b9c8cb;
  border-radius: 8px;
  background: var(--surface);
}

.search-field:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.search-mark {
  color: var(--brand);
  font-size: 1.45rem;
}

.home-intro {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 94% 8%, rgba(245, 196, 0, 0.2) 0 86px, transparent 87px),
    linear-gradient(120deg, #f7fbfe 0%, #edf5fa 100%);
}

.home-intro-copy {
  max-width: 900px;
}

.home-intro h1 {
  max-width: 850px;
  margin-bottom: 0;
  font-size: clamp(2.35rem, 4.5vw, 3.65rem);
  line-height: 1;
}

.home-intro h1 span {
  color: var(--brand);
}

.home-intro .lede {
  max-width: 760px;
  margin-top: 18px;
}

.home-intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.home-audience {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.home-audience span {
  color: var(--success);
  font-size: 0.65rem;
}

.home-section {
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}

.home-categories {
  padding-top: 40px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-heading h1,
.section-heading h2 {
  margin-bottom: 0;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.section-heading p {
  color: var(--muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.category-grid a {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 102px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.category-grid a:hover {
  border-color: #a8c5c0;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.category-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 0.95rem;
  font-weight: 900;
}

.category-ink {
  color: #75520a;
  background: #fff0bf;
}

.category-office {
  color: #7e4738;
  background: #f7e3dc;
}

.category-tech {
  color: #335b7e;
  background: #e2edf7;
}

.category-grid strong {
  display: block;
  font-size: 0.96rem;
}

.category-grid small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.category-grid b {
  color: var(--brand);
}

.product-grid.home-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.availability-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.services-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.4fr);
  gap: 48px;
  align-items: start;
}

.services-intro h2,
.process-panel h2,
.store-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.services-intro > p:last-of-type {
  max-width: 440px;
  color: var(--muted);
  line-height: 1.65;
}

.services-intro .button {
  margin-top: 8px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-grid article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.service-grid article > span {
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.service-grid h3 {
  margin: 22px 0 7px;
  font-size: 1.05rem;
}

.service-grid p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.service-grid a {
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
  text-underline-offset: 3px;
}

.home-local {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 18px;
  border-bottom: 0;
}

.process-panel,
.store-card {
  padding: 34px;
  border-radius: 14px;
}

.process-panel {
  border: 1px solid var(--line);
  background: var(--surface);
}

.process-panel ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.process-panel li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 11px;
}

.process-panel li > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--brand-deep);
  background: var(--action);
  font-size: 0.76rem;
  font-weight: 900;
}

.process-panel li p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.process-panel li strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 0.84rem;
}

.store-card {
  color: var(--surface);
  background: var(--brand-deep);
}

.store-card .eyebrow {
  color: #a9d3ee;
}

.store-card address {
  margin: 18px 0 22px;
  color: #d4e5f0;
  font-size: 0.84rem;
  font-style: normal;
  line-height: 1.6;
}

.store-contact {
  display: grid;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--surface);
  text-decoration: none;
}

.store-contact small {
  color: #a9c7d9;
  font-size: 0.68rem;
}

.store-contact strong {
  margin-top: 3px;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
}

.store-contact:hover strong {
  color: var(--action);
}

.breadcrumbs {
  display: flex;
  gap: 9px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.78rem;
}

.breadcrumbs a {
  color: var(--brand);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.catalog-heading {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 1fr);
  align-items: end;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.pricing-mode {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid #b8d7cb;
  border-radius: 10px;
  background: #eff9f5;
}

.pricing-mode span,
.account-context small {
  color: var(--muted);
  font-size: 0.76rem;
}

.account-context {
  display: grid;
  gap: 2px;
  margin: 2px 4px 7px;
  padding: 10px 7px 12px;
  border-bottom: 1px solid var(--line);
}

.catalog-heading h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.catalog-heading p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.catalog-category-dock {
  position: sticky;
  z-index: 24;
  top: var(--sticky-header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 14px rgba(13, 38, 43, 0.07);
  backdrop-filter: blur(10px);
}

.catalog-category-dock-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: min(1240px, calc(100% - 48px));
  min-height: 60px;
  margin: 0 auto;
}

.catalog-category-dock p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-category-list {
  display: flex;
  min-width: 0;
  gap: 8px;
  padding: 8px 2px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.catalog-category-list::-webkit-scrollbar {
  display: none;
}

.catalog-category-list a {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 38px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #f8faf9;
  font-size: 0.75rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  scroll-snap-align: start;
}

.catalog-category-list a:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.catalog-category-list a[aria-current="page"] {
  border-color: var(--brand);
  color: var(--surface);
  background: var(--brand);
  box-shadow: 0 3px 9px rgba(0, 91, 150, 0.18);
}

.catalog-count {
  display: flex;
  align-items: end;
  gap: 12px;
  padding-top: 14px;
  border-top: 3px solid var(--action);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.catalog-count strong {
  color: var(--ink);
  font-size: 2.7rem;
  line-height: 0.8;
}

.catalog-section {
  padding-top: 24px;
}

.catalog-toolbar {
  margin-bottom: 24px;
}

.catalog-shell {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.filter-panel {
  position: sticky;
  top: var(--sticky-content-offset);
  max-height: calc(100vh - var(--sticky-content-offset) - 20px);
  max-height: calc(100dvh - var(--sticky-content-offset) - 20px);
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  list-style: none;
}

.filter-heading::-webkit-details-marker {
  display: none;
}

.filter-heading::after {
  color: var(--brand);
  content: "Ocultar";
  font-size: 0.72rem;
  font-weight: 800;
}

.filter-details:not([open]) .filter-heading {
  padding-bottom: 0;
  border-bottom: 0;
}

.filter-details:not([open]) .filter-heading::after {
  content: "Mostrar";
}

.filter-heading h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0;
}

.filter-heading a {
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 750;
}

.filter-clear {
  display: inline-block;
  margin-top: 13px;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 750;
}

.filter-panel fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.filter-panel legend,
.select-label,
.sort-label {
  margin-bottom: 11px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
}

.filter-panel fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.875rem;
  cursor: pointer;
}

.filter-choice {
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.filter-choice:hover {
  color: var(--ink);
  background: #f7faf9;
}

.filter-choice:has(input:checked) {
  border-color: #b8d7cb;
  color: var(--ink);
  background: var(--brand-soft);
  font-weight: 750;
}

.filter-panel input[type="radio"],
.checkout-form input[type="radio"],
.checkout-form input[type="checkbox"] {
  appearance: none;
  display: inline-grid;
  flex: 0 0 20px;
  place-content: center;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid #87979c;
  background: var(--surface);
}

.filter-panel input[type="radio"],
.checkout-form input[type="radio"] {
  border-radius: 50%;
}

.checkout-form input[type="checkbox"] {
  border-radius: 4px;
}

.filter-panel input[type="radio"]::before,
.checkout-form input[type="radio"]::before,
.checkout-form input[type="checkbox"]::before {
  width: 11px;
  height: 11px;
  content: "";
  transform: scale(0);
  transition: transform 100ms ease-in-out;
  background: var(--brand);
}

.filter-panel input[type="radio"]::before,
.checkout-form input[type="radio"]::before {
  border-radius: 50%;
}

.checkout-form input[type="checkbox"]::before {
  border-radius: 2px;
}

.filter-panel input[type="radio"]:checked,
.checkout-form input[type="radio"]:checked,
.checkout-form input[type="checkbox"]:checked {
  border-color: var(--brand);
}

.filter-panel input[type="radio"]:focus-visible,
.checkout-form input[type="radio"]:focus-visible,
.checkout-form input[type="checkbox"]:focus-visible {
  outline-offset: 3px;
}

.filter-panel input[type="radio"]:checked::before,
.checkout-form input[type="radio"]:checked::before,
.checkout-form input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.select-label,
.sort-label {
  display: block;
  margin: 17px 0 8px;
}

.filter-panel select {
  width: 100%;
  min-height: 44px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--surface);
}

.filter-panel form > .button {
  width: 100%;
  margin-top: 12px;
}

.filter-help {
  margin: 20px -4px -4px;
  padding: 15px;
  border-radius: 8px;
  background: var(--brand-soft);
}

.filter-help strong {
  font-size: 0.78rem;
}

.filter-help p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.82rem;
}

.results-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.results-summary p {
  margin-bottom: 0;
}

.results-summary strong {
  color: var(--ink);
}

.sort-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-form label {
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 800;
}

.sort-form select {
  min-height: 44px;
  padding: 0 32px 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--surface);
}

.sort-form .button {
  min-height: 44px;
  padding: 0 14px;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
}

.active-filters a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid #b9ceca;
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  font-size: 0.75rem;
  text-decoration: none;
}

.active-filters a:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.active-filters b {
  color: var(--brand);
  font-size: 1rem;
  line-height: 1;
}

.active-filters .clear-filters {
  border-color: transparent;
  color: var(--brand);
  background: transparent;
  font-weight: 750;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.pagination span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px 14px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.product-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.product-card:hover {
  border-color: #aac3bf;
  box-shadow: 0 8px 22px rgba(13, 38, 43, 0.08);
}

.product-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  min-height: 0;
  margin-bottom: 17px;
  overflow: hidden;
  border-radius: 7px;
  color: var(--brand);
  background: linear-gradient(145deg, #edf7f5, #dceeea);
  text-decoration: none;
}

.product-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 16px;
  object-fit: contain;
  background: #fff;
  transition: transform 180ms ease;
}

.product-card:hover .product-art img {
  transform: scale(1.025);
}

.product-glyph {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 2px solid currentColor;
  border-radius: 12px;
  font-size: 2.6rem;
}

.product-art-label {
  position: absolute;
  z-index: 1;
  right: 10px;
  bottom: 9px;
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--brand-deep);
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-type,
.sku {
  margin: 0 0 8px;
  overflow-wrap: anywhere;
  color: var(--muted);
  font:
    700 0.66rem ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  letter-spacing: 0.02em;
}

.product-card h2,
.product-card h3 {
  display: -webkit-box;
  min-height: 2.7em;
  overflow: hidden;
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.015em;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card h2 a,
.product-card h3 a {
  text-decoration: none;
}

.product-card h2 a:hover,
.product-card h3 a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.secondary-name {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.product-package {
  display: grid;
  gap: 2px;
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
}

.product-package span {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 650;
  text-transform: uppercase;
}

.stock {
  max-width: 120px;
  margin-top: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
}

.stock-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
}

.stock-dot.available {
  color: var(--success);
}

.stock-dot.pending {
  color: var(--warning);
}

.stock-dot.unknown {
  color: var(--muted);
}

.product-card-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.price {
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.product-card small,
.detail-price small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.66rem;
}

.quick-add,
.product-link {
  width: 100%;
  margin-top: 14px;
}

.quick-add .button,
.product-link {
  min-height: 44px;
}

.quick-add .button {
  width: 100%;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 54px 24px;
  border: 1px dashed #bac9cc;
  border-radius: 10px;
  color: var(--muted);
  text-align: center;
  background: var(--surface);
}

.empty-state strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.05rem;
}

.empty-state .button {
  margin-top: 8px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(290px, 1fr) minmax(245px, 0.62fr);
  grid-template-rows: auto auto;
  align-items: start;
  column-gap: 42px;
  row-gap: 24px;
}

.product-detail-art {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  border-radius: 14px;
  color: var(--brand);
  background: linear-gradient(145deg, #edf7f5, #dceeea);
}

.product-detail-art img {
  width: 100%;
  max-height: 390px;
  padding: 30px;
  object-fit: contain;
}

.detail-glyph {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border: 3px solid currentColor;
  border-radius: 20px;
  font-size: 5rem;
}

.detail-art-label {
  margin-top: 22px;
  color: #6d8984;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-summary {
  grid-column: 2;
  grid-row: 1;
  padding-top: 10px;
}

.product-secondary-details {
  grid-column: 2;
  grid-row: 2;
  margin-top: 4px;
}

.product-kicker {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-summary h1 {
  margin: 0 0 4px;
  font-size: clamp(1.9rem, 4vw, 2.55rem);
}

.product-description {
  margin-top: 24px;
  color: var(--muted);
  line-height: 1.7;
}

.product-facts {
  display: grid;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}

.product-facts div {
  display: grid;
  grid-template-columns: 100px 1fr;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.product-facts dt {
  color: var(--muted);
  font-size: 0.75rem;
}

.product-facts dd {
  margin: 0;
  font:
    700 0.78rem ui-monospace,
    monospace;
}

.product-specifications {
  margin-top: 28px;
}

.product-specifications h2 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.product-specifications dl {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.product-specifications dl div {
  display: grid;
  grid-template-columns: minmax(100px, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.product-specifications dt {
  color: var(--muted);
  font-size: 0.75rem;
}

.product-specifications dd {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.source-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  margin-top: 18px;
  padding: 0;
  border: 0;
  color: var(--brand);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.toast-region {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 10px;
  width: min(430px, calc(100vw - 32px));
  pointer-events: none;
}

.toast {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 44px;
  align-items: start;
  gap: 12px;
  width: 100%;
  padding: 15px 14px;
  border: 1px solid #b9ceca;
  border-radius: 12px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(13, 38, 43, 0.2);
  pointer-events: auto;
  animation: toast-enter 180ms ease both;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast[hidden] {
  display: none;
}

.toast.is-leaving {
  opacity: 0;
  transform: translateY(8px);
}

.toast-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--brand-deep);
  background: var(--brand-soft);
  font-size: 0.86rem;
  font-weight: 900;
}

.toast-icon::before {
  content: "i";
}

.toast-success {
  border-color: #a8d7bc;
  background: var(--success-soft);
}

.toast-success .toast-icon {
  color: var(--success);
  background: #d3eedf;
}

.toast-success .toast-icon::before {
  content: "✓";
}

.toast-error {
  border-color: #e3b7b7;
  background: var(--error-soft);
}

.toast-error .toast-icon {
  color: var(--error);
  background: #f8dada;
}

.toast-error .toast-icon::before {
  content: "!";
}

.toast-warning {
  border-color: #e6cb94;
  background: var(--warning-soft);
}

.toast-warning .toast-icon {
  color: var(--warning);
  background: #f5dfb1;
}

.toast-warning .toast-icon::before {
  content: "!";
}

.toast-copy {
  display: grid;
  gap: 4px;
}

.toast-copy strong {
  font-size: 0.84rem;
}

.toast-copy span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.toast-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -6px -6px -6px 0;
  padding: 0;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.toast-close:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

@keyframes toast-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 520px) {
  .toast-region {
    right: 16px;
    bottom: 16px;
  }
}

.compatibility-help {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  margin-top: 24px;
  padding: 16px;
  border-radius: 9px;
  background: var(--brand-soft);
}

.compatibility-help > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--surface);
  background: var(--brand);
  font-weight: 900;
}

.compatibility-help strong {
  font-size: 0.82rem;
}

.compatibility-help p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.purchase-panel {
  grid-column: 3;
  grid-row: 1 / span 2;
  position: sticky;
  top: var(--sticky-content-offset);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.detail-price .price {
  font-size: 1.75rem;
}

.detail-stock {
  display: flex;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 20px 0;
}

.detail-stock .stock-dot {
  margin-top: 5px;
}

.detail-stock strong,
.detail-stock small {
  display: block;
}

.detail-stock strong {
  font-size: 0.84rem;
}

.detail-stock small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
}

.add-to-cart {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 9px;
}

.add-to-cart label {
  grid-column: 1 / -1;
  font-size: 0.76rem;
  font-weight: 750;
}

.add-to-cart input,
.cart-line input {
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.add-to-cart input {
  width: 68px;
}

.purchase-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.purchase-note strong {
  color: var(--ink);
}

.volume-pricing {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
  background: var(--brand-soft);
}

.volume-pricing ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.volume-pricing li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  font-size: 0.8rem;
}

.volume-pricing li small,
.pricing-saving {
  color: #167553;
  font-weight: 750;
}

.commerce-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 20px;
}

.commerce-panel,
.commerce-summary {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.commerce-panel {
  padding: 24px;
}

.commerce-summary {
  position: sticky;
  top: var(--sticky-content-offset);
  display: grid;
  gap: 14px;
  padding: 24px;
}

.commerce-summary span {
  color: var(--muted);
}

.commerce-summary strong {
  font-size: 1.8rem;
}

.commerce-summary p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.tax-summary {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tax-summary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.tax-summary dd {
  margin: 0;
  font-weight: 750;
}

.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line:last-child {
  border-bottom: 0;
}

.cart-line h2 {
  margin: 0;
  font-size: 1rem;
}

.cart-line h2 a {
  text-decoration: none;
}

.cart-line form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-line input {
  width: 70px;
}

.checkout-form {
  display: grid;
  gap: 16px;
}

.checkout-form p,
.checkout-form .form-field {
  margin: 0;
}

.checkout-form fieldset {
  display: grid;
  gap: 17px;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkout-form legend {
  margin-bottom: 18px;
  font-size: 1.15rem;
  font-weight: 850;
}

.checkout-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 750;
}

.checkout-form label small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #bdc9cc;
  border-radius: 8px;
  background: var(--surface);
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.checkout-form input:hover,
.checkout-form select:hover {
  border-color: #8ea4a9;
}

.checkout-form input:focus,
.checkout-form select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 91, 150, 0.12);
}

.checkout-form input:user-invalid,
.checkout-form select:user-invalid,
.form-field.has-error input,
.form-field.has-error select {
  border-color: var(--error);
  box-shadow: 0 0 0 2px #fee4e2;
}

.checkout-form > .button,
.auth-panel .button {
  width: 100%;
}

.checkout-form ul.errorlist {
  margin: 5px 0 0;
  padding-left: 18px;
  color: var(--error);
}

.field-error {
  margin: 7px 0 0;
  color: var(--error);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
}

.field-help {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.pickup-summary {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  margin: 4px 0;
  padding: 16px;
  border: 1px solid #c5dce8;
  border-radius: 9px;
  background: var(--brand-soft);
}

.pickup-summary > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--surface);
  background: var(--brand);
  font-weight: 900;
}

.pickup-summary h2 {
  margin: 0;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
}

.pickup-summary p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.checkout-summary ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.checkout-summary li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.76rem;
}

.checkout-summary li strong {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 0.76rem;
}

.summary-total {
  display: grid;
  gap: 4px;
}

.summary-total strong {
  font-size: 1.8rem;
}

.contact-product {
  width: 100%;
}

.order-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 34px 0;
}

.order-facts div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.order-facts dt {
  color: var(--muted);
  font-size: 0.75rem;
}

.order-facts dd {
  margin: 10px 0 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.pickup-instruction {
  max-width: 680px;
  padding: 18px;
  border-left: 3px solid var(--brand);
  border-radius: 0 8px 8px 0;
  color: var(--muted);
  background: var(--brand-soft);
  line-height: 1.6;
}

.order-list {
  display: grid;
  gap: 12px;
}

.order-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 20px;
}

.order-card h2 {
  margin: 8px 0 0;
  font-size: 1rem;
}

.status {
  display: inline-flex;
  width: fit-content;
  padding: 6px 9px;
  border-radius: 99px;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 0.72rem;
  font-weight: 800;
}

.auth-page {
  display: grid;
  place-items: start center;
}

.auth-panel {
  width: min(100%, 520px);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.auth-panel h1 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.auth-panel .checkout-form {
  margin-top: 28px;
}

.auth-message {
  overflow-wrap: anywhere;
}

.auth-message .button,
.auth-message form,
.auth-message .text-link {
  margin-top: 24px;
}

.auth-option {
  width: 100%;
  margin-top: 10px;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  font-size: 0.82rem;
}

.auth-links a {
  color: var(--brand);
  font-weight: 750;
}

.form-alert {
  padding: 13px 14px;
  border: 1px solid #e3b7b7;
  border-left: 4px solid var(--error);
  border-radius: 8px;
  color: #8e1b1b;
  background: var(--error-soft);
  font-size: 0.85rem;
  line-height: 1.5;
}

.public-footer {
  border-top: 1px solid #cbd8d9;
  background: #e9efee;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.7fr;
  gap: 46px;
  padding: 42px 0;
}

.footer-brand {
  color: var(--brand-deep);
}

.footer-brand .brand-copy small {
  color: var(--muted);
}

.footer-inner p {
  max-width: 310px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: 7px;
}

.footer-contact address {
  margin: 12px 0 4px;
  color: var(--muted);
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.55;
}

.footer-contact a {
  width: fit-content;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-inner > div > strong,
.footer-inner nav > strong {
  font-size: 0.82rem;
}

.footer-inner nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-inner nav a {
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-inner nav a:hover {
  color: var(--brand);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding: 14px 0 22px;
  border-top: 1px solid #cbd8d9;
  color: var(--muted);
  font-size: 0.72rem;
}

.footer-legal > p {
  margin: 0;
}

.developer-credit,
.developer-contact {
  display: inline-flex;
  align-items: center;
}

.developer-credit {
  gap: 11px;
}

.developer-credit > span:first-child {
  white-space: nowrap;
}

.developer-brand {
  display: inline-flex;
  align-items: center;
  padding: 3px 0;
  transition: opacity 140ms ease;
}

.developer-brand:hover {
  opacity: 0.72;
}

.developer-brand img {
  display: block;
  width: 110px;
  height: auto;
}

.developer-contact {
  gap: 10px;
  padding-left: 12px;
  border-left: 1px solid #bdcbcd;
}

.developer-contact a {
  color: var(--brand);
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.developer-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 1040px) {
  .header-inner {
    grid-template-columns: auto minmax(250px, 1fr) auto;
    gap: 18px;
  }

  .brand-copy small,
  .public-nav small {
    display: none;
  }

  .brand-logo-header {
    width: 160px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid.home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-section {
    gap: 30px;
  }

  .product-detail {
    grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 1.2fr);
  }

  .product-detail-art {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .product-summary {
    grid-column: 2;
    grid-row: 1;
  }

  .purchase-panel {
    position: static;
    grid-column: 2;
    grid-row: 2;
  }

  .product-secondary-details {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

@media (max-width: 800px) {
  .service-bar-inner,
  .header-inner,
  .category-nav-inner,
  .catalog-category-dock-inner,
  .public-main,
  .footer-inner,
  .footer-legal {
    width: min(100% - 32px, 680px);
  }

  .public-header {
    position: static;
  }

  .service-bar-inner span:last-child {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 12px 0;
  }

  .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .public-nav {
    gap: 16px;
  }

  .category-nav-inner {
    gap: 22px;
  }

  .services-section,
  .home-local,
  .catalog-heading,
  .catalog-shell,
  .product-detail,
  .commerce-layout {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-heading {
    gap: 24px;
  }

  .catalog-category-dock {
    top: 0;
  }

  .catalog-category-dock-inner {
    display: block;
    min-height: 56px;
  }

  .catalog-category-dock p {
    display: none;
  }

  .catalog-category-list {
    margin-right: -16px;
    padding: 9px 16px 9px 0;
  }

  .catalog-count {
    max-width: 210px;
  }

  .filter-panel {
    z-index: 8;
    top: calc(var(--sticky-category-height) + 8px);
    max-height: calc(100vh - var(--sticky-category-height) - 16px);
    max-height: calc(100dvh - var(--sticky-category-height) - 16px);
    padding: 0;
    box-shadow: 0 8px 24px rgba(13, 38, 43, 0.13);
  }

  .filter-heading {
    position: sticky;
    z-index: 1;
    top: 0;
    padding: 16px 18px;
    background: var(--surface);
  }

  .filter-details:not([open]) .filter-heading {
    padding-bottom: 16px;
  }

  .filter-clear {
    margin-right: 18px;
    margin-left: 18px;
  }

  .filter-panel form {
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    align-items: end;
    gap: 12px;
    padding: 0 18px 18px;
  }

  .filter-panel fieldset {
    grid-row: 1 / 3;
    border: 0;
  }

  .filter-panel form > .button {
    margin-top: 0;
  }

  .filter-help {
    display: none;
  }

  .sort-form {
    flex-wrap: wrap;
  }

  .product-detail-art {
    grid-column: 1;
    grid-row: auto;
    order: 1;
  }

  .product-summary {
    grid-column: 1;
    grid-row: auto;
    order: 2;
  }

  .purchase-panel {
    grid-column: 1;
    grid-row: auto;
    order: 3;
  }

  .product-secondary-details {
    grid-column: 1;
    grid-row: auto;
    order: 4;
  }

  .product-detail-art {
    min-height: 330px;
  }

  .commerce-summary {
    position: static;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .process-panel ol {
    max-width: 680px;
  }

  .trust-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip > div:last-child {
    border-bottom: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .service-bar-inner {
    justify-content: center;
    gap: 14px;
    font-size: 0.68rem;
  }

  .header-inner {
    min-height: auto;
  }

  .brand-logo-header {
    width: 132px;
  }

  .account-menu summary {
    font-size: 0.78rem;
  }

  .cart-link > span:nth-child(2) {
    display: none;
  }

  .category-nav-inner {
    min-height: 40px;
    gap: 16px;
  }

  .category-menu summary {
    min-height: 40px;
  }

  .category-menu-panel {
    top: calc(100% + 6px);
    max-height: calc(100vh - 210px);
    max-height: calc(100dvh - 210px);
    overflow-y: auto;
    padding: 12px;
  }

  .category-menu-grid {
    grid-template-columns: 1fr;
  }

  .store-contact-nav {
    display: none;
  }

  .public-main {
    padding-top: 28px;
    padding-bottom: 62px;
  }

  .home-page {
    padding-top: 0;
  }

  h1 {
    font-size: 2.55rem;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .home-intro {
    padding: 28px 0 26px;
    background: linear-gradient(120deg, #f7fbfe 0%, #edf5fa 100%);
  }

  .home-intro h1 {
    font-size: clamp(2rem, 10vw, 2.5rem);
  }

  .home-intro .lede {
    margin-top: 14px;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .home-intro-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
  }

  .home-intro-actions .button {
    width: 100%;
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .home-audience {
    align-items: flex-start;
    margin-top: 12px;
    font-size: 0.74rem;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-grid.home-product-grid,
  .service-grid,
  .process-panel ol {
    grid-template-columns: 1fr;
  }

  .category-grid a {
    min-height: 104px;
  }

  .home-section {
    padding: 42px 0;
  }

  .services-section {
    gap: 30px;
  }

  .process-panel,
  .store-card {
    padding: 24px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-shell {
    gap: 18px;
  }

  .filter-panel form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
  }

  .filter-panel fieldset {
    grid-row: auto;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 10px;
    padding: 12px 0;
  }

  .filter-panel legend,
  .select-label,
  .sort-label,
  .filter-panel select,
  .filter-panel form > .button {
    grid-column: 1 / -1;
  }

  .select-label,
  .sort-label {
    margin-top: 4px;
  }

  .results-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .results-summary {
    justify-content: space-between;
  }

  .sort-form {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .sort-form select {
    min-width: 0;
  }

  .pagination {
    justify-content: space-between;
  }

  .product-card {
    padding: 12px 12px 14px;
  }

  .product-card .product-art {
    max-height: 190px;
    aspect-ratio: 16 / 9;
  }

  .product-detail {
    gap: 28px;
  }

  .product-detail-art {
    min-height: 280px;
  }

  .cart-line,
  .order-card {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
  }

.cart-line form {
    flex-wrap: wrap;
  }

  .order-facts {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-inner > div:first-child {
    grid-column: auto;
  }

  .developer-credit {
    flex-wrap: wrap;
  }

  .developer-credit > span:first-child {
    width: 100%;
  }

  .developer-contact {
    flex-wrap: wrap;
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 360px) {
  .home-intro-actions {
    grid-template-columns: 1fr;
  }
}

.cart-line .link-button {
  min-height: 40px;
  color: #a32121;
}

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