:root {
  --opx-navy: #0b1d3a;
  --opx-blue: #0066ff;
  --opx-orange: #ff5a00;
  --opx-paper: #f3f5f8;
  --opx-line: #dce3ee;
  --opx-display: 'Opxuliix Display', 'Arial Black', system-ui, sans-serif;
  --opx-text: 'Opxuliix Text', system-ui, sans-serif;
  --opx-wrap: min(100% - clamp(2rem, 6vw, 7rem), 76rem);
}

body.opx-theme {
  font-family: var(--opx-text);
}

.opx-theme :is(h1, h2, h3), .opx-story h1, .opx-collection-intro h1 {
  font-family: var(--opx-display);
  letter-spacing: -.035em;
}

.opx-theme :is(a, button, summary, input, select):focus-visible {
  outline: 2px solid var(--opx-blue);
  outline-offset: 3px;
}

.opx-theme .header-section {
  background-color: #fff;
  color: var(--opx-navy);
}

.opx-theme .header__container-top-wrap {
  min-height: 4.75rem;
}

.opx-wordmark {
  width: 186px;
  height: 62px;
  display: block;
  position: relative;
  overflow: hidden;
  margin-inline: auto;
}

.opx-wordmark img {
  position: absolute;
  width: 206px;
  max-width: none;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.opx-theme .header__container-bottom.opx-primary-row {
  display: block;
  border-top: 1px solid var(--opx-line);
  border-bottom: 1px solid var(--opx-line);
}

.opx-primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 3rem);
  min-height: 2.9rem;
  padding: 0 clamp(1rem, 2.5vw, 2rem);
  white-space: nowrap;
  overflow-x: auto;
  font: 600 .83rem/1.4 var(--opx-text);
}

.opx-primary-nav a {
  color: var(--opx-navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
}

.opx-primary-nav a:is(:hover,:focus-visible) { color: var(--opx-blue); }

.opx-breadcrumbs {
  width: var(--opx-wrap);
  margin-inline: auto;
  padding-block: .88rem;
  font: 600 .83rem/1.5 var(--opx-text);
  color: #42526a;
}

.opx-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .3rem .7rem; list-style: none; margin: 0; padding: 0; }
.opx-breadcrumbs li + li::before { content: '/'; margin-right: .7rem; opacity: .65; }
.opx-breadcrumbs a { color: inherit; text-underline-offset: .17em; }
.opx-breadcrumbs a:hover { color: #004bb8; }
.opx-collection-intro .opx-breadcrumbs { width: auto; margin: 0 0 .85rem; padding: 0; color: #e0e7f2; }
.opx-collection-intro .opx-breadcrumbs a:hover { color: #fff; }

.opx-footer {
  color: #fff;
  background: var(--opx-navy);
  border-top: 4px solid var(--opx-orange);
}

.opx-footer-grid {
  width: var(--opx-wrap);
  margin-inline: auto;
  padding: clamp(2.75rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3.25rem);
  display: grid;
  grid-template-columns: minmax(13rem, 1.45fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.opx-footer h2 { color: #fff; margin: 0 0 .75rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.opx-footer h3 { color: #fff; font-size: .95rem; margin: 0 0 .7rem; }
.opx-footer p { color: #d6dfee; line-height: 1.65; max-width: 28rem; margin: 0; }
.opx-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .58rem; }
.opx-footer a { color: #e7edf7; text-decoration: none; font-size: .92rem; }
.opx-footer a:hover { text-decoration: underline; text-underline-offset: .16em; }
.opx-footer .footer__inner { border-top: 1px solid #ffffff26; }

.opx-collection-intro {
  padding: clamp(2.8rem, 7vw, 6rem) 0 clamp(2rem, 5vw, 4.2rem);
  color: #fff;
  background: linear-gradient(105deg, var(--opx-navy) 64%, #102846 64%);
  position: relative;
}

.opx-collection-intro::before {
  content: '';
  position: absolute;
  inset: auto 0 0;
  width: min(10rem, 25vw);
  height: .3rem;
  background: var(--opx-orange);
}

.opx-collection-intro > div { width: var(--opx-wrap); margin-inline: auto; }
.opx-collection-intro h1 { margin: 0; color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.85rem); line-height: 1.02; }
.opx-collection-intro .rte { margin-top: .95rem; max-width: 42rem; color: #e0e7f2; font-size: 1rem; }
.opx-collection-intro .rte p { margin-block: 0 .72rem; }

.opx-collection-links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.45rem;
}

.opx-collection-links a {
  border: 1px solid #ffffff65;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: .5rem .9rem;
  font-size: .82rem;
  font-weight: 600;
}

.opx-collection-links a:hover { background: #fff; color: var(--opx-navy); }

.opx-product-description {
  width: var(--opx-wrap);
  margin-inline: auto;
  padding: clamp(2rem, 6vw, 4.7rem) 0;
  border-top: 1px solid var(--opx-line);
  line-height: 1.72;
  font-family: var(--opx-text);
}

.opx-product-description .rte > :is(p,ul,ol) { max-width: 52rem; }
.opx-product-description .rte > h2 { margin-top: 1.8em; }
.opx-product-description .rte details { padding: .9rem 0; border-bottom: 1px solid var(--opx-line); }
.opx-product-description .rte summary { cursor: pointer; font-weight: 700; padding: .4rem 0; }
.opx-product-description .rte img { display: block; max-width: 100%; height: auto; }
.opx-product-description .rte #opxuliix-product-visual-details { margin-top: clamp(2rem, 5vw, 4rem); }

.opx-product-facts {
  padding: .8rem 1rem;
  background: var(--opx-paper);
  border-inline-start: 3px solid var(--opx-orange);
  color: var(--opx-navy);
  font: 600 .87rem/1.55 var(--opx-text);
}
.opx-product-facts p { margin: 0; }

.opx-theme[data-page-type='product'] .product-detail :is(h1,h2) { color: var(--opx-navy); }

.opx-help {
  width: var(--opx-wrap);
  margin: 2rem auto 3rem;
  padding: 1.25rem clamp(1rem, 3vw, 2rem);
  background: var(--opx-paper);
  border-left: 4px solid var(--opx-orange);
  color: var(--opx-navy);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem 2rem;
}

.opx-help h2 { font-size: 1.08rem; margin: 0; }
.opx-help p { margin: .4rem 0 0; }
.opx-help a { color: #004bb9; font-weight: 650; text-underline-offset: .18em; }

.opx-theme :is(.main-page,.main-search,.main-order-tracking,.contact-form) {
  color: var(--opx-navy);
}

.opx-theme .main-page__title { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.opx-theme .main-page__content { line-height: 1.72; }
.opx-support-intro { max-width: 38rem; margin: .75rem 0 1.4rem; line-height: 1.65; color: #42526a; }
.main-order-tracking .opx-support-intro { margin-inline: auto; text-align: center; }

.opx-story {
  width: var(--opx-wrap);
  margin: clamp(1.5rem, 4vw, 3rem) auto clamp(3rem, 7vw, 6rem);
  color: var(--opx-navy);
}

.opx-story-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--opx-navy);
  color: #fff;
}

.opx-story-copy { padding: clamp(1.8rem, 6vw, 4.5rem); align-self: center; }
.opx-story-copy h1 { margin: 0; color: #fff; font-size: clamp(2.65rem, 5.8vw, 5rem); line-height: 1.02; }
.opx-story-copy p { margin: 1.1rem 0 0; color: #dae5f4; line-height: 1.7; }
.opx-story-photo { min-height: 22rem; position: relative; }
.opx-story-photo img { height: 100%; width: 100%; object-fit: cover; position: absolute; inset: 0; }
.opx-story-intro { max-width: 48rem; margin: clamp(2rem, 5vw, 4rem) auto 0; line-height: 1.72; }
.opx-story-intro h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: 0 0 .55em; }
.opx-story-intro a { color: #004bb9; font-weight: 700; text-underline-offset: .16em; }

@media (max-width: 749px) {
  .opx-primary-nav { flex-wrap: wrap; gap: 0 1rem; padding: .2rem .7rem; overflow: visible; }
  .opx-primary-nav a { min-height: 2.4rem; }
  .opx-wordmark { width: 154px; height: 53px; }
  .opx-wordmark img { width: 176px; }
  .opx-theme .header__container-top-wrap { min-height: 3.85rem; }
  .opx-footer-grid { grid-template-columns: 1fr 1fr; gap: 1.7rem 1rem; }
  .opx-footer-brand { grid-column: 1 / -1; }
  .opx-story-hero { grid-template-columns: 1fr; }
  .opx-story-photo { min-height: 0; aspect-ratio: 4/3; }
}

@media (prefers-reduced-motion: reduce) {
  .opx-primary-nav { scroll-behavior: auto; }
}

.opx-product-policies {
  width: var(--opx-wrap);
  margin: 0 auto clamp(1.75rem, 4vw, 3rem);
  padding: .8rem 1.1rem;
  border-inline-start: 3px solid var(--opx-orange);
  background: var(--opx-paper);
  color: var(--opx-navy);
}

.opx-product-policies .opx-policy-links {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .2rem 1.4rem;
  list-style: none;
}

.opx-product-policies a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  font-size: .9rem;
  font-weight: 650;
  color: #004bb9;
  text-decoration: underline;
  text-underline-offset: .17em;
}

@media (max-width: 749px) {
  .opx-footer__policies { grid-column: 1 / -1; }
}
