:root {
  color-scheme: light;
  --page: #f4f6f8;
  --surface: #ffffff;
  --ink: #1d2730;
  --muted: #64717d;
  --line: #d8e0e6;
  --line-strong: #c3ced7;
  --teal: #087f8c;
  --teal-dark: #066572;
  --yellow: #f3bd19;
  --red: #c4493d;
  --navy: #202d38;
  --shadow: 0 5px 18px rgba(29, 39, 48, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  line-height: 1.5;
}

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

button,
input,
select {
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.product-media-placeholder,
.detail-image-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #eef2f4;
  font-size: 0.8rem;
  font-weight: 750;
}

.product-media-placeholder {
  width: 100%;
  height: 100%;
}

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

h1 {
  margin-bottom: 10px;
  font-size: 2.5rem;
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 8px;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.site-width {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

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

.utility-bar {
  color: #e6edf2;
  background: var(--navy);
  font-size: 0.76rem;
}

.utility-inner,
.header-main,
.category-nav-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.utility-inner {
  min-height: 30px;
  gap: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(29, 39, 48, 0.05);
}

.header-main {
  min-height: 76px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-bottom: 4px solid var(--yellow);
  font-weight: 900;
}

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

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
}

.site-search {
  position: relative;
  display: flex;
  flex: 1 1 500px;
  max-width: 620px;
}

.site-search input {
  width: 100%;
  min-height: 42px;
  padding: 0 86px 0 13px;
  color: var(--ink);
  background: #f8fafb;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  outline: 0;
}

.site-search input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 127, 140, 0.12);
}

.search-label {
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  display: grid;
  width: 76px;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 0 3px 3px 0;
  font-size: 0.83rem;
  font-weight: 800;
}

.header-links {
  display: flex;
  flex: 0 0 auto;
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.header-links a:hover,
.footer a:hover,
.text-link:hover,
.document-links a:hover {
  color: var(--teal);
}

.category-nav {
  border-top: 1px solid var(--line);
}

.category-nav-inner {
  justify-content: flex-start;
  gap: 2px;
  min-height: 39px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-nav-inner::-webkit-scrollbar {
  display: none;
}

.category-link,
.filter-button {
  appearance: none;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.category-link {
  align-self: stretch;
  flex: 0 0 auto;
  padding: 0 14px;
  border-bottom: 3px solid transparent;
  font-size: 0.82rem;
  font-weight: 750;
}

.category-link:hover,
.category-link.is-active {
  color: var(--ink);
  border-bottom-color: var(--yellow);
}

.store-intro {
  display: flex;
  min-height: 154px;
  align-items: center;
  color: var(--ink);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.store-intro-content {
  padding-top: 25px;
  padding-bottom: 27px;
}

.store-intro-content > * {
  max-width: 580px;
}

.store-intro h1 {
  margin-bottom: 8px;
  font-size: 2.35rem;
}

.store-intro p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.eyebrow,
.product-category {
  margin: 0 0 8px;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.store-intro .eyebrow {
  color: var(--teal-dark);
}

.hero-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 4px;
  font-size: 0.84rem;
  font-weight: 850;
}

.hero-button:hover {
  background: #ffd044;
}

.home-section {
  padding-top: 28px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

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

.home-section-head h2,
.home-section-head p {
  margin-bottom: 0;
}

.section-link {
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

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

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

.interest-section {
  padding: 34px 0 38px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

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

.interest-card {
  display: grid;
  min-width: 0;
  min-height: 70px;
  align-content: center;
  gap: 3px;
  padding: 12px 14px;
  color: var(--ink);
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
}

.interest-card:hover,
.interest-card.is-active {
  border-color: var(--teal);
  box-shadow: inset 4px 0 0 var(--yellow);
}

.interest-card strong {
  overflow-wrap: anywhere;
  font-size: 0.86rem;
}

.interest-card span {
  color: var(--muted);
  font-size: 0.72rem;
}

.catalog-section {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 30px;
  padding-top: 38px;
  padding-bottom: 58px;
}

.catalog-sidebar {
  min-width: 0;
}

.sidebar-block {
  padding: 16px 0 20px;
  border-top: 3px solid var(--navy);
}

.sidebar-block + .sidebar-block {
  margin-top: 18px;
}

.sidebar-block h2 {
  margin-bottom: 12px;
  font-size: 0.94rem;
}

.filter-list {
  display: grid;
  gap: 2px;
}

.filter-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 36px;
  padding: 7px 8px;
  border-radius: 4px;
  text-align: left;
  font-size: 0.86rem;
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--ink);
  background: #e7edf0;
}

.filter-count {
  color: var(--muted);
  font-size: 0.74rem;
}

.document-note p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.catalog-main {
  min-width: 0;
}

.catalog-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  margin-bottom: 16px;
}

.catalog-toolbar h2,
.catalog-toolbar p {
  margin-bottom: 0;
}

.catalog-toolbar > p {
  color: var(--muted);
  font-size: 0.82rem;
}

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

.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(29, 39, 48, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-card:hover {
  border-color: #aebdc8;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.product-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #edf1f4;
  border-bottom: 1px solid var(--line);
}

.product-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 220ms ease;
}

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

.status-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  max-width: calc(100% - 18px);
  padding: 5px 8px;
  color: #fff;
  background: var(--teal-dark);
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.status-badge.is-draft {
  color: var(--ink);
  background: var(--yellow);
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 13px;
}

.product-card h3 {
  min-height: 2.6em;
  margin-bottom: 4px;
}

.product-card h3 a:hover {
  color: var(--teal-dark);
}

.maker-name {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.74rem;
}

.product-card-footer {
  display: block;
  margin-top: auto;
  padding-top: 5px;
}

.price-block {
  display: grid;
}

.product-price {
  font-size: 1.05rem;
  font-weight: 900;
}

.product-price.is-pending {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.price-note {
  color: var(--muted);
  font-size: 0.68rem;
}

.details-link,
.text-link {
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.empty-state {
  padding: 44px 20px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
}

.store-notes {
  padding: 30px 0;
  color: #e8eef2;
  background: var(--navy);
}

.buyer-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #40505d;
}

.buyer-points div {
  display: grid;
  gap: 5px;
  padding: 8px 24px;
  background: var(--navy);
}

.buyer-points strong {
  color: #fff;
  font-size: 0.86rem;
}

.buyer-points span {
  color: #bdc9d1;
  font-size: 0.76rem;
}

.footer {
  padding: 28px 0;
  color: var(--muted);
  background: #172029;
  border-top: 1px solid #36434d;
}

.footer-inner {
  align-items: flex-start;
  gap: 24px;
}

.footer-inner > div:first-child {
  display: grid;
  gap: 6px;
}

.footer strong {
  color: #fff;
  font-size: 0.82rem;
}

.footer span,
.footer-links {
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.policy-page {
  padding-block: 54px 80px;
}

.policy-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.policy-heading h1 {
  margin: 6px 0 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0;
}

.policy-heading p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-block: 15px;
  border-block: 1px solid var(--line);
}

.policy-nav a,
.policy-layout a {
  color: var(--teal-dark);
}

.policy-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 64px;
  max-width: 1080px;
}

.policy-layout section {
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}

.policy-layout h2 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.policy-layout p {
  margin: 0 0 14px;
  color: var(--text-soft);
  line-height: 1.75;
}

@media (max-width: 760px) {
  .policy-page { padding-block: 36px 60px; }
  .policy-layout { grid-template-columns: 1fr; }
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  max-width: min(390px, calc(100vw - 36px));
  padding: 13px 15px;
  color: #fff;
  background: var(--navy);
  border-left: 5px solid var(--yellow);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

/* Product detail */
.breadcrumb {
  padding-top: 18px;
  padding-bottom: 18px;
  color: var(--muted);
  font-size: 0.78rem;
}

.breadcrumb a:hover {
  color: var(--teal);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: 38px;
  padding-bottom: 34px;
}

.detail-gallery {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.detail-gallery {
  padding: 10px;
}

.detail-main-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #edf1f4;
  border-radius: 4px;
}

.detail-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.thumbnail-button {
  padding: 0;
  overflow: hidden;
  background: #edf1f4;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}

.thumbnail-button.is-active {
  border-color: var(--teal);
}

.thumbnail-button img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-purchase {
  align-self: start;
  padding: 10px 0 0;
}

.detail-purchase h1 {
  font-size: 2.15rem;
}

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

.detail-price {
  margin: 20px 0 0;
  font-size: 1.65rem;
  font-weight: 900;
}

.detail-price-note {
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 0.76rem;
}

.stock-message {
  margin: -7px 0 14px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.product-options {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.product-options label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.product-options select {
  min-height: 40px;
  padding: 7px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--ink);
  background: var(--surface);
}

.paypal-button,
.disabled-button,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 850;
}

.paypal-button {
  width: 100%;
  color: #121820;
  background: #ffc439;
}

.paypal-button:hover {
  background: #f2b921;
}

.disabled-button {
  width: 100%;
  color: var(--muted);
  background: #e8edf0;
  cursor: default;
}

.question-link {
  display: block;
  margin-top: 9px;
  padding: 9px 12px;
  color: var(--teal-dark);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
}

.question-link:hover {
  border-color: var(--teal);
}

.product-tabs {
  display: flex;
  gap: 26px;
  margin-bottom: 26px;
  padding-top: 11px;
  padding-bottom: 11px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.product-tabs::-webkit-scrollbar {
  display: none;
}

.product-tabs a {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.product-tabs a:hover {
  color: var(--teal-dark);
}

.product-information {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.55fr);
  gap: 34px;
  padding-bottom: 58px;
}

.detail-section {
  min-width: 0;
}

.detail-section p:last-child {
  margin-bottom: 0;
}

.product-side-information {
  display: grid;
  align-content: start;
  gap: 28px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.product-description > p {
  max-width: 780px;
}

.product-description h3 {
  margin: 26px 0 8px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.35;
}

.product-description h3:first-child {
  margin-top: 0;
}

.spec-list {
  margin: 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: minmax(120px, 0.55fr) minmax(0, 1fr);
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.spec-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.spec-list dd {
  margin: 0;
  font-size: 0.86rem;
}

.document-links {
  display: grid;
  gap: 8px;
}

.document-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  color: var(--teal-dark);
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 800;
}

.document-placeholder {
  color: var(--muted);
  font-size: 0.84rem;
}

.oshwa-uid {
  display: grid;
  gap: 3px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.oshwa-uid strong { color: var(--ink); }

/* STEAM kit page */
.page-heading {
  padding-top: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.page-heading > * {
  max-width: 780px;
}

.page-heading p:not(.eyebrow),
.kit-row p {
  color: var(--muted);
}

.kit-list-section {
  padding-top: 30px;
  padding-bottom: 58px;
}

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

.kit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.55fr);
  gap: 24px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.kit-row dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  overflow: hidden;
  align-self: center;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.kit-row dl div {
  padding: 12px;
  background: #f8fafb;
}

.kit-row dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.kit-row dd {
  margin: 4px 0 0;
  font-size: 0.88rem;
  font-weight: 850;
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .product-detail,
  .product-information,
  .kit-row {
    grid-template-columns: 1fr;
  }

  .product-side-information {
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .header-main {
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 13px;
    padding-bottom: 13px;
  }

  .site-search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }

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

  .store-intro {
    min-height: 138px;
  }

  .catalog-section {
    gap: 18px;
    padding-top: 22px;
  }

  .catalog-sidebar {
    display: none;
  }

  .featured-product-grid {
    grid-auto-columns: minmax(230px, 72vw);
    grid-template-columns: none;
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 8px;
    scroll-snap-type: inline mandatory;
  }

  .featured-product-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 560px) {
  .site-width {
    width: min(100% - 24px, 1180px);
  }

  .utility-inner span:last-child,
  .header-links a:last-child,
  .brand-copy small {
    display: none;
  }

  .header-links {
    gap: 12px;
    font-size: 0.8rem;
  }

  .product-grid,
  .catalog-sidebar,
  .buyer-points {
    grid-template-columns: 1fr;
  }

  .store-intro {
    min-height: 132px;
  }

  .store-intro h1 {
    font-size: 1.85rem;
  }

  .home-section-head {
    align-items: flex-start;
  }

  .section-link {
    max-width: 110px;
    text-align: right;
  }

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

  .buyer-points {
    gap: 0;
  }

  .buyer-points div {
    padding: 14px 0;
    border-bottom: 1px solid #40505d;
  }

  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .product-card h3 {
    min-height: 0;
  }

  .detail-purchase {
    padding: 4px 0 0;
  }

  .detail-thumbnails {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

/* Storefront layout based on the supplied innoelement catalog reference. */
.store-profile {
  padding: 34px 0 32px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.store-profile-inner {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.store-avatar {
  display: block;
  width: 132px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  padding: 4px;
  background: #fff;
}

.store-profile-copy h1 { margin-bottom: 5px; font-size: 2.15rem; }
.store-tagline { max-width: 740px; margin-bottom: 14px; color: var(--muted); font-size: 0.94rem; }

.store-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 18px;
  color: #47545e;
  font-size: 0.78rem;
}

.store-facts a { color: var(--teal-dark); }
.store-facts a:hover { text-decoration: underline; }

.store-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.button.primary { color: #fff; background: var(--teal); }
.button.primary:hover { background: var(--teal-dark); }
.button.secondary { color: var(--ink); background: #fff; border: 1px solid var(--line-strong); }
.button.secondary:hover { color: var(--teal-dark); border-color: var(--teal); }

.service-message { padding: 14px 0; background: #f4f5f5; border-bottom: 1px solid var(--line); }
.service-message-inner { display: flex; align-items: center; justify-content: center; gap: 20px; }
.service-message p { margin: 0; color: #48545d; font-size: 0.86rem; text-align: center; }
.service-message a { flex: 0 0 auto; color: var(--teal-dark); font-size: 0.78rem; font-weight: 800; }
.service-message a:hover { text-decoration: underline; }

.home-section { padding-top: 32px; padding-bottom: 34px; }
.featured-product-grid { gap: 22px; }

.catalog-section { grid-template-columns: 180px minmax(0, 1fr); gap: 34px; padding-top: 42px; }
.catalog-sidebar { align-self: start; }
.sidebar-block { padding-top: 12px; border-top: 0; }
.sidebar-block h2 { text-transform: uppercase; font-size: 0.72rem; }
.sidebar-block + .sidebar-block { padding-top: 18px; border-top: 1px solid var(--line); }
.filter-button { padding-inline: 0; background: transparent; }
.filter-button:hover, .filter-button.is-active { color: var(--teal-dark); background: transparent; font-weight: 800; }
.channel-filter { display: grid; gap: 8px; }
.channel-filter label { display: flex; gap: 8px; align-items: center; color: #47545e; font-size: 0.82rem; }
.channel-filter input { width: 15px; height: 15px; accent-color: var(--teal); }
.document-note strong { color: var(--ink); }

.catalog-toolbar { align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.catalog-toolbar-actions { display: flex; align-items: center; gap: 14px; }
.catalog-toolbar-actions p { margin: 0; color: var(--muted); font-size: 0.78rem; }
.catalog-toolbar-actions select { min-height: 34px; padding: 5px 28px 5px 9px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 3px; font-size: 0.78rem; }

.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; }
.product-card { overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.product-card:hover { border-color: transparent; box-shadow: none; transform: none; }
.product-card-media { aspect-ratio: 3 / 2; background: #f0f2f2; border: 1px solid #e3e7e9; border-radius: 0; }
.product-card-media img { object-fit: cover; }
.product-card:hover .product-card-media img { transform: none; }
.product-card-body { padding: 9px 0 0; }
.product-card .product-category { display: none; }
.product-card h3 { min-height: 2.7em; margin: 0 0 4px; font-size: 0.86rem; font-weight: 650; line-height: 1.35; }
.maker-name { margin: 0 0 5px; font-size: 0.69rem; }
.product-card-footer { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-top: 0; }
.product-price { font-size: 0.94rem; font-weight: 650; }
.sales-channel { color: var(--teal-dark); font-size: 0.64rem; font-weight: 750; text-align: right; }

.product-title-block { padding-bottom: 18px; }
.product-title-block h1 { max-width: 900px; margin-bottom: 6px; font-size: 2rem; }
.product-title-block .detail-summary { max-width: 820px; margin-bottom: 0; }
.product-detail { grid-template-columns: minmax(0, 1.48fr) minmax(310px, 0.62fr); gap: 28px; align-items: start; padding-bottom: 24px; }
.product-media-column { min-width: 0; }
.detail-gallery { padding: 14px; border-radius: 0; }
.detail-main-image { aspect-ratio: 3 / 2; object-fit: contain; border-radius: 0; background: #f4f5f5; }
.thumbnail-button, .thumbnail-button img { border-radius: 0; }
.thumbnail-button img { aspect-ratio: 3 / 2; }
.detail-purchase { position: sticky; top: 126px; padding: 0; }
.purchase-panel { padding: 22px; background: #fff; border: 1px solid var(--line); }
.detail-price { margin-top: 0; color: #1397a3; font-size: 1.8rem; font-weight: 650; }
.purchase-facts { display: grid; gap: 0; margin: 0 0 18px; border-top: 1px solid var(--line); }
.purchase-facts div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.purchase-facts dt { color: var(--muted); font-size: 0.72rem; font-weight: 700; }
.purchase-facts dd { margin: 0; font-size: 0.78rem; }
.checkout-note { margin: 12px 0 0; color: var(--muted); font-size: 0.68rem; line-height: 1.45; }
.store-inline-message { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; background: #f4f5f5; }
.store-inline-message img { width: 42px; height: 42px; object-fit: cover; }
.store-inline-message p { margin: 0; color: #47545e; font-size: 0.8rem; }
.product-tabs { margin-top: 12px; }
.product-information { grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.55fr); }
.seller-summary-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.seller-summary-head img { width: 46px; height: 46px; object-fit: cover; border: 1px solid var(--line); }
.seller-summary .button { width: 100%; min-height: 38px; padding-inline: 10px; font-size: 0.72rem; }
.related-section { padding-top: 28px; padding-bottom: 58px; border-top: 1px solid var(--line); }
.related-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

@media (max-width: 1120px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .store-profile-inner { grid-template-columns: 104px minmax(0, 1fr); gap: 20px; }
  .store-avatar { width: 104px; }
  .product-detail, .product-information { grid-template-columns: 1fr; }
  .detail-purchase { position: static; }
  .product-side-information { padding-top: 24px; padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .related-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  h1 { font-size: 2rem; }
  .service-message-inner { align-items: flex-start; flex-direction: column; gap: 4px; }
  .service-message p { text-align: left; }
  .catalog-toolbar { align-items: flex-start; }
  .catalog-toolbar-actions { width: 100%; justify-content: space-between; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
}

@media (max-width: 560px) {
  .store-profile { padding: 22px 0; }
  .store-profile-inner { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
  .store-avatar { width: 76px; padding: 2px; }
  .store-profile-copy h1 { font-size: 1.65rem; }
  .store-profile-copy .eyebrow { margin-bottom: 4px; }
  .store-tagline { font-size: 0.8rem; }
  .store-facts { display: grid; gap: 3px; }
  .store-actions { grid-column: 1 / -1; }
  .store-actions .button { min-height: 38px; padding-inline: 12px; font-size: 0.74rem; }
  .catalog-toolbar-actions { align-items: flex-start; flex-direction: column; gap: 7px; }
  .product-card h3 { min-height: 3.9em; font-size: 0.78rem; }
  .maker-name, .sales-channel { font-size: 0.61rem; }
  .product-price { font-size: 0.84rem; }
  .product-card-footer { align-items: flex-start; flex-direction: column; gap: 2px; }
  .sales-channel { text-align: left; }
  .product-title-block h1 { font-size: 1.7rem; }
  .purchase-panel { padding: 16px; }
  .related-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
}

/* Independent storefront: wider product photography and local-first checkout. */
.site-width { width: min(1320px, calc(100% - 40px)); }
.catalog-section { grid-template-columns: 164px minmax(0, 1fr); gap: 30px; }
.product-card-media { min-height: 0; }
.direct-saving {
  margin: -2px 0 14px;
  color: #18704b;
  font-size: 0.76rem;
  font-weight: 800;
}
.direct-saving[hidden] { display: none; }
.product-options { display: grid; gap: 10px; margin: 0 0 14px; }
.product-options label { display: grid; gap: 5px; }
.product-options label > span { color: #46535d; font-size: 0.72rem; font-weight: 750; }
.product-options select {
  width: 100%;
  min-height: 40px;
  padding: 7px 34px 7px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--ink);
  background: #fff;
}
.default-configuration {
  margin: 16px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.default-configuration h2 {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}
.default-configuration ul {
  display: grid;
  gap: 5px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}
.default-configuration li {
  position: relative;
  padding-left: 15px;
  color: #46535d;
  font-size: 0.74rem;
  line-height: 1.35;
}
.default-configuration li::before {
  position: absolute;
  left: 0;
  color: #1397a3;
  content: "\2713";
  font-weight: 800;
}
.default-configuration a {
  color: #137f88;
  font-size: 0.7rem;
  font-weight: 750;
}
.checkout-breakdown {
  display: grid;
  gap: 0;
  margin: 0 0 16px;
}
.checkout-breakdown div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  color: #46535d;
  font-size: 0.74rem;
}
.checkout-breakdown dt,
.checkout-breakdown dd { margin: 0; }
.checkout-breakdown .checkout-total {
  margin-top: 3px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 850;
}
.marketplace-fallback {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.marketplace-fallback h2 { color: #59656e; font-size: 0.82rem; }
.marketplace-fallback p { color: var(--muted); font-size: 0.74rem; }
.marketplace-fallback .text-link { font-size: 0.74rem; }

@media (max-width: 560px) {
  .site-width { width: min(100% - 24px, 1320px); }
}
