@import url("https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;800&display=swap");

:root {
  color-scheme: light;
  /* Skyward Supplies brand palette */
  --navy: #1b456b; /* primary navy */
  --navy-deep: #14324f; /* deep navy */
  --teal: #2e8995; /* secondary teal */
  --orange: #ef8f07; /* CTA / accent orange */
  --info: #0f0fb1; /* info blue */
  --ink: #14324f; /* main text: deep navy */
  --muted: #5b6b7a; /* muted navy-gray */
  --soft: #eef3f7; /* light navy tint background */
  --soft-2: #e6eef3; /* light navy tint background 2 */
  --line: #d6e0e8; /* light navy border */
  --hot: #1b456b; /* primary accent (links/hover) -> navy */
  --hot-2: #2e8995; /* secondary accent -> teal */
  --blue: #0f0fb1; /* info blue */
  --green: #1b456b; /* legacy green slot -> navy */
  --gold: #ef8f07; /* legacy gold slot -> accent orange */
  --page: 1200px;
  --radius: 8px;
  --font: Jost, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: 0;
  font-weight: 500;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
}

body.cart-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

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

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  width: min(var(--page), calc(100% - 32px));
  margin: 0 auto;
}

/* Slightly wider container (side margins reduced to 70% of .page-shell) for header + hero */
.page-shell-wide {
  width: min(calc(30% + 840px), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.utility-bar {
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.utility-inner {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #4d4541;
}

.utility-inner nav,
.primary-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.utility-inner nav {
  gap: 16px;
  white-space: nowrap;
}

.utility-inner a:hover,
.primary-links a:hover {
  color: var(--hot);
}

.main-nav {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.nav-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr minmax(130px, 190px) auto;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  display: flex;
  align-items: center;
  line-height: 1;
  margin-right: 26px;
}

.brand-mark img {
  display: block;
  height: clamp(44px, 5.4vw, 60px);
  width: auto;
}

.brand-mark span {
  display: inline-block;
  color: var(--orange);
  text-transform: uppercase;
  font-weight: 820;
  font-size: 31px;
  border: 2px solid var(--orange);
  border-left: 0;
  border-right: 0;
  padding: 3px 0 2px;
}

.primary-links {
  gap: 18px;
  font-size: 17px;
  font-weight: 650;
  justify-content: center;
}

.primary-links a {
  padding: 24px 0 22px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.primary-links a.is-active {
  border-color: var(--ink);
}

/* Mega menu (Categories) */
.main-nav {
  position: relative;
}

.nav-item.has-mega {
  display: flex;
  align-items: center;
}

.nav-mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.mega-caret {
  font-size: 11px;
  transition: transform 180ms ease;
}

.nav-item.has-mega:hover .mega-caret {
  transform: rotate(180deg);
}

.mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  pointer-events: none;
}

.nav-item.has-mega:hover .mega-panel,
.nav-item.has-mega:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 32px;
  width: min(calc(30% + 840px), calc(100% - 32px));
  margin: 0 auto;
  padding: 32px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 24px 50px rgba(20, 50, 79, 0.16);
}

.mega-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.mega-col h4 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.mega-panel a {
  padding: 0;
  border: 0;
  white-space: normal;
}

.mega-col a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.3;
  transition: color 140ms ease;
}

.mega-col a:hover {
  color: var(--navy);
}

.mega-viewall {
  margin-top: 10px;
  font-weight: 800 !important;
  color: var(--navy) !important;
}

.mega-panel .mega-promo {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 28px 28px 34px 34px;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--teal) 0%, var(--navy) 75%);
  color: #ffffff;
  text-decoration: none;
}

.mega-promo-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.mega-promo strong {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.12;
}

.mega-promo-text {
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.9;
}

.mega-promo-cta {
  align-self: flex-start;
  margin-top: 12px;
  padding: 9px 22px;
  border-radius: 999px;
  background: var(--orange);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
}

.search-form {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #6e6561;
}

.search-form svg,
.icon-button svg,
.floating-help svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-form input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
}

.search-form input::placeholder {
  color: #8d817b;
}

/* Mobile-only search: a magnifier toggle reveals the search field (kept off-row by default). */
.search-toggle {
  display: none;
}

.nav-actions {
  gap: 6px;
  justify-content: flex-end;
}

.icon-button {
  position: relative;
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.icon-button:hover {
  background: var(--soft);
}

.account-control {
  position: relative;
}

.account-control .account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(260px, calc(100vw - 24px));
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.18);
  z-index: 40;
  display: none;
}

.account-control.is-open .account-menu,
.account-control:hover .account-menu {
  display: block;
}

.account-menu-user {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}

.account-menu-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
}

.account-menu-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-button-avatar {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--ink);
  font-size: 16px;
  font-weight: 760;
}

.account-button-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.account-button-avatar--initials {
  text-transform: uppercase;
}

.account-menu-meta strong {
  display: block;
  font-size: 19px;
}

.account-menu-meta p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 16px;
}

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

.account-menu-links .text-link {
  font-size: 16px;
  text-align: left;
}

.account-menu-links .black-button {
  width: 100%;
  justify-content: center;
}

.account-profile-panel {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  padding: 16px;
}

.account-profile-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.account-profile-head h1 {
  margin: 0 0 4px;
}

.account-profile-fields {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.account-profile-field {
  display: grid;
  gap: 4px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.account-profile-field:last-child {
  border-bottom: 0;
}

.account-profile-field span {
  color: var(--muted);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.account-profile-field strong {
  font-size: 20px;
}

.account-profile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.account-profile-actions .black-button {
  border: 0;
}

.account-menu-avatar--large {
  width: 52px;
  height: 52px;
}

.menu-button {
  display: none;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--hot);
  color: #ffffff;
  font-size: 15px;
  font-weight: 750;
}

#app {
  min-height: 60vh;
}

.section {
  margin: 80px 0;
}

.section-tight {
  margin: 18px 0;
}

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

.section-head h2,
.section-head h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
}

.section-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.text-link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  text-decoration: underline;
  cursor: pointer;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  min-height: clamp(340px, 46vw, 560px);
  margin-top: 18px;
  border-radius: 10px;
  background: var(--soft);
  box-shadow: 0 16px 48px rgba(20, 50, 79, 0.12);
  isolation: isolate;
}

.hero-carousel-track {
  height: 100%;
  min-height: inherit;
  display: flex;
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: inherit;
  display: grid;
  align-items: center;
  padding: clamp(26px, 5vw, 62px);
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 34%, rgba(255, 255, 255, 0.1) 70%),
    var(--hero-image);
  background-position: center, var(--hero-pos);
  background-size: cover, cover;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: auto auto -18% -8%;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: color-mix(in srgb, var(--hero-accent) 22%, transparent);
  filter: blur(22px);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(430px, 76%);
}

.hero-copy .eyebrow {
  color: var(--hero-accent);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 390px;
  margin: 16px 0 22px;
  color: #453c38;
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.5;
}

.hero-copy .pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 38px;
  font-weight: 800;
}

.hero-controls {
  position: absolute;
  left: clamp(18px, 4vw, 48px);
  right: clamp(18px, 4vw, 48px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.hero-arrow,
.hero-dot {
  pointer-events: auto;
  cursor: pointer;
}

.hero-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(16px);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
}

.hero-dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(17, 17, 17, 0.28);
  transition: width 180ms ease, background 180ms ease;
}

.hero-dot.is-active {
  width: 24px;
  background: var(--hot);
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 12px;
  margin-top: 80px;
  padding: 0 clamp(20px, 4vw, 72px);
}

.promo-card {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
  isolation: isolate;
}

.promo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.promo-card:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.56) 45%, rgba(255, 255, 255, 0.03) 100%);
}

.promo-card.hot {
  background: var(--hot);
  color: #ffffff;
}

.promo-card.hot:after {
  background: linear-gradient(135deg, rgba(20, 50, 79, 0.96), rgba(46, 137, 149, 0.78));
}

.promo-card.orange {
  background: #fbe6c8;
}

.promo-card.blue {
  background: #d9ebee;
}

.promo-body {
  position: relative;
  z-index: 1;
  max-width: 54%;
  padding: 18px;
}

.promo-card.hot .promo-body {
  max-width: 72%;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--hot);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.promo-card.hot .eyebrow {
  color: #ffffff;
}

.promo-body h1,
.promo-body h2 {
  margin: 0 0 5px;
  font-size: 34px;
  line-height: 1.02;
}

.promo-body h2 {
  font-size: 26px;
}

.promo-body p {
  margin: 0 0 12px;
  font-size: 18px;
  color: #3b302c;
}

.promo-card.hot p,
.promo-card.hot .mini-note {
  color: #ffffff;
}

.mini-note {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: #4a3d38;
}

.live-empty-state {
  min-height: 360px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 14px;
}

.live-empty-state h1 {
  max-width: 620px;
  margin: 0;
  font-size: 48px;
  line-height: 1.05;
}

.live-empty-state p {
  max-width: 620px;
  margin: 0;
  color: #4a3d38;
}

.pill-button,
.black-button,
.cart-summary button,
.newsletter button,
.signup-card button {
  border: 0;
  border-radius: 999px;
  background: var(--hot);
  color: #ffffff;
  font-weight: 750;
  font-size: 18px;
  min-height: 32px;
  padding: 0 24px;
  cursor: pointer;
  transition: background-color 160ms ease, filter 160ms ease;
}

.pill-button.light {
  background: #ffffff;
  color: var(--ink);
}

.promo-discs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: min(260px, 100%);
  margin-top: 10px;
}

.promo-discs span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ffffff;
  color: var(--hot);
  text-align: center;
  font-size: 15px;
  font-weight: 850;
}

.product-row,
.deal-row,
.editorial-row {
  display: grid;
  gap: 12px;
}

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

.deal-row {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

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

.product-card {
  min-width: 0;
}

.product-media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 5px;
  background: var(--soft);
}

.product-sprite,
.category-sprite,
.thumbnail-sprite,
.large-sprite {
  display: block;
}

span.product-sprite,
span.category-sprite,
span.thumbnail-sprite,
span.large-sprite {
  background-image: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--teal) 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.product-sprite {
  position: absolute;
  inset: 0;
  transform: scale(1.01);
  transition: transform 180ms ease;
}

.product-card:hover .product-sprite {
  transform: scale(1.05);
}

img.product-sprite,
img.category-sprite,
img.thumbnail-sprite,
img.large-sprite {
  background: transparent;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 7px;
  border-radius: 2px;
  background: var(--hot);
  color: #ffffff;
  font-size: 14px;
  font-weight: 820;
  text-transform: uppercase;
}

.product-copy {
  padding: 8px 4px 0;
}

.product-copy small,
.rating,
.shade-count,
.breadcrumbs,
.product-meta {
  color: var(--muted);
  font-size: 16px;
}

.brand {
  display: block;
  color: #1b1715;
  font-size: 16px;
  font-weight: 820;
}

.product-title {
  display: -webkit-box;
  min-height: 34px;
  margin: 2px 0 3px;
  overflow: hidden;
  color: #24201e;
  font-size: 18px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rating {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 18px;
}

.stars {
  color: var(--orange);
  font-size: 15px;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 3px 0 8px;
  font-weight: 820;
}

.price-line s {
  color: #8a807b;
  font-size: 16px;
  font-weight: 500;
}

.sale-price {
  color: var(--hot);
}

.add-button {
  min-width: 86px;
  min-height: 28px;
  padding: 9px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--hot);
  color: #ffffff;
  font-size: 16px;
  font-weight: 760;
  cursor: pointer;
  transition: background-color 160ms ease, filter 160ms ease;
}

.add-button:hover,
.black-button:hover,
.pill-button:hover,
.cart-summary button:hover {
  background: var(--orange);
  color: #ffffff;
}

.deal-card {
  border-radius: 6px;
  background: var(--soft-2);
  overflow: hidden;
}

.deal-card .product-media {
  border-radius: 0;
}

.deal-card .product-copy {
  padding: 8px;
}

.event-band {
  display: grid;
  grid-template-columns: 0.92fr repeat(4, 1fr);
  gap: 10px;
  align-items: stretch;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--hot);
  color: #ffffff;
}

.event-lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
}

.event-lead h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1;
}

.event-tile,
.feature-card,
.story-card {
  overflow: hidden;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
}

.event-tile {
  display: grid;
  grid-template-rows: 100px 1fr;
}

.event-tile .event-image,
.feature-card .feature-image,
.story-card .story-image {
  background-image: url("assets/beauty-hero.png");
  background-size: cover;
  background-position: var(--hero-pos, center);
}

.event-tile h3,
.feature-card h3,
.story-card h3 {
  margin: 8px 9px 2px;
  font-size: 18px;
  line-height: 1.2;
}

.event-tile p,
.feature-card p,
.story-card p {
  margin: 0 9px 10px;
  color: #625852;
  font-size: 16px;
}

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

.feature-card .feature-image {
  aspect-ratio: 1.55;
}

.gift-banner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 160px;
  overflow: hidden;
  border-radius: 6px;
  background: #eef7d4;
}

.gift-copy {
  padding: 38px 46px;
}

.gift-copy h2 {
  margin: 0 0 6px;
  font-size: 34px;
}

.gift-copy p {
  margin: 0 0 12px;
  color: var(--muted);
}

.gift-image {
  background-image: url("assets/beauty-hero.png");
  background-size: cover;
  background-position: 78% 50%;
}

.obsession-strip {
  display: grid;
  grid-template-columns: 0.58fr repeat(4, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 6px;
  background: #f6f2c8;
}

.obsession-copy {
  padding: 16px;
  align-self: center;
}

.obsession-copy h2 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 0.98;
}

.story-card .story-image {
  aspect-ratio: 1.35;
}

.coupon-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 12px 18px;
  border-radius: 4px;
  background: #f5f8d9;
}

.coupon-band strong {
  display: block;
  font-size: 19px;
}

.coupon-band span {
  color: var(--muted);
  font-size: 16px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px 24px;
  text-align: center;
}

.category-card {
  display: grid;
  gap: 8px;
  justify-items: center;
  min-width: 0;
}

.category-media {
  width: min(104px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: #f1f7d8;
}

.category-sprite {
  width: 100%;
  height: 100%;
}

.category-card span {
  font-size: 18px;
  font-weight: 650;
}

/* Featured categories mosaic (reference-style tiles, full-width, gray) */
.category-mosaic {
  margin: 88px 0;
  padding: 0 clamp(20px, 4vw, 72px);
}

.category-mosaic .section-head {
  margin-bottom: 16px;
}

.cat-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 12px;
}

.cat-mosaic-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.cat-mosaic-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.cat-mosaic-link span {
  transition: transform 160ms ease;
}

.cat-mosaic-link:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.cat-mosaic-link:hover span {
  transform: translateX(3px);
}

.cat-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
}

.cat-tile.feature {
  grid-row: span 2;
}

.cat-tile.wide {
  grid-column: span 2;
}

.cat-tile-img {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
  transition: transform 240ms ease;
}

/* Ropes & Cordage already reads well at the larger inset — keep it. */
.cat-tile[data-cat="ropes-cordage"] .cat-tile-img {
  padding: 16px;
}

.cat-tile-label {
  padding: 0 16px 14px;
  color: var(--navy-deep);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.15;
}

.cat-tile.feature .cat-tile-label,
.cat-tile.wide .cat-tile-label {
  font-size: 20px;
}

.cat-tile:hover .cat-tile-img {
  transform: scale(1.04);
}

/* Power Ascenders is a square product in a wide tile — scale it up so it reads as large as the rest. */
.cat-tile[data-cat="power-ascenders"] .cat-tile-img {
  padding: 2px;
  transform: scale(1.35);
}
.cat-tile[data-cat="power-ascenders"]:hover .cat-tile-img {
  transform: scale(1.4);
}

@media (max-width: 980px) {
  .cat-mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 170px;
  }
}

@media (max-width: 560px) {
  .cat-mosaic-grid {
    grid-auto-rows: 140px;
  }
  .cat-tile.feature {
    grid-row: auto;
  }
  /* SRLs is a very tall product; in the shrunk phone tile it reads small — scale it up. */
  .cat-tile[data-cat="srls"] .cat-tile-img {
    padding: 2px;
    transform: scale(1.5);
  }
}

/* Trust bar (3 features) */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 84px 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.trust-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--navy);
}

.trust-icon svg {
  width: 34px;
  height: 34px;
}

.trust-text strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.trust-text span {
  color: var(--muted);
  font-size: 17px;
}

/* Empty category state */
.shop-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 72px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.shop-empty-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--navy);
}

.shop-empty-icon svg {
  width: 36px;
  height: 36px;
}

.shop-empty h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
}

.shop-empty p {
  margin: 0;
  max-width: 460px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.shop-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

/* Service promises strip (4 icons) */
.service-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 8px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 4px 16px;
}

.service-item + .service-item {
  border-left: 1px solid var(--line);
}

.service-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--navy);
}

.service-icon svg {
  width: 34px;
  height: 34px;
}

.service-label {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

@media (max-width: 760px) {
  .service-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
  }
  .service-item:nth-child(odd) {
    border-left: none;
  }
}

@media (max-width: 420px) {
  .service-strip {
    grid-template-columns: 1fr;
  }
  .service-item {
    border-left: none !important;
    justify-content: flex-start;
    padding-left: 10px;
  }
}

/* Product tabs */
.tabs-nav {
  display: flex;
  gap: 30px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 24px;
}

.tab-btn {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0 0 14px;
  font-family: inherit;
  font-size: 23px;
  font-weight: 800;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.tab-btn.is-active {
  color: var(--ink);
  border-bottom-color: var(--orange);
}

@media (max-width: 560px) {
  .tabs-nav {
    gap: 16px;
  }
  .tab-btn {
    font-size: 17px;
  }
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

/* Feature boxes (2 large animated) */
.feature-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 88px 0 168px;
  padding: 0 clamp(20px, 4vw, 72px);
}

.feature-box {
  position: relative;
  overflow: visible;
  border-radius: var(--radius);
  min-height: 440px;
  display: flex;
  align-items: center;
  padding: 56px;
}

.feature-box.navy {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
}

.feature-box.teal {
  background: linear-gradient(135deg, #1d6e77 0%, var(--teal) 100%);
}

.feature-box.dark {
  background: radial-gradient(68% 78% at 72% 62%, #41464d 0%, #23272d 42%, #0c0e11 100%);
}

.feature-box.dark .feature-box-img {
  filter: drop-shadow(0 0 34px rgba(255, 255, 255, 0.14)) drop-shadow(0 24px 38px rgba(0, 0, 0, 0.6));
}

.feature-box-copy {
  position: relative;
  z-index: 2;
  max-width: 52%;
}

.feature-box-copy .eyebrow {
  color: var(--orange);
  font-size: 15px;
}

.feature-box-copy h2 {
  color: #ffffff;
  font-size: 44px;
  line-height: 1.03;
  margin: 8px 0 14px;
}

.feature-box-copy p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  margin: 0 0 26px;
}

.feature-box .pill-button.cta {
  display: inline-block;
  background: var(--orange);
  color: #ffffff;
}

.feature-box-img {
  position: absolute;
  right: -2%;
  bottom: -6%;
  width: 66%;
  max-width: 600px;
  height: auto;
  z-index: 1;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.45));
  animation: featureFloat 4.5s ease-in-out infinite;
}

@keyframes featureFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(-2deg);
  }
}

@media (max-width: 760px) {
  .trust-bar {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .feature-boxes {
    grid-template-columns: 1fr;
    margin: 56px 0 72px;
  }
  .feature-box-copy {
    max-width: 62%;
  }
}

/* Weekly Hot Deals */
.deals-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.deal-countdown {
  display: flex;
  gap: 10px;
}

.cd-box {
  min-width: 62px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--navy);
  color: #ffffff;
  text-align: center;
}

.cd-box strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.cd-box span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.deal-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.deal-card:hover {
  box-shadow: 0 16px 36px rgba(20, 50, 79, 0.12);
  transform: translateY(-3px);
}

.deal-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--soft);
}

.deal-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--orange);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
}

.deal-badge.hot {
  background: var(--navy);
}

.deal-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px 18px 18px;
}

.deal-cat {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.deal-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.deal-price {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.deal-price .now {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
}

.deal-price s {
  color: var(--muted);
  font-size: 15px;
}

.deal-bar {
  height: 7px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.deal-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), #ffb14d);
}

.deal-stock {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.deal-card .add-button {
  margin-top: 4px;
}

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

@media (max-width: 560px) {
  .deal-grid {
    grid-template-columns: 1fr;
  }
}

/* New In Market */
.new-market-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 18px;
  margin-top: 24px;
  align-items: stretch;
}

.nm-feature {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 34px;
  display: flex;
  min-height: 360px;
}

/* Dark scrim behind the copy so the white text keeps contrast where the product's
   white halo bleeds under it (desktop overlap only; disabled on stacked mobile). */
.nm-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(100deg, var(--navy-deep) 0%, rgba(20, 50, 79, 0.85) 32%, rgba(20, 50, 79, 0) 60%);
  pointer-events: none;
}

.nm-feature-copy {
  position: relative;
  z-index: 2;
  max-width: 60%;
}

.nm-feature-copy .eyebrow {
  color: var(--orange);
}

.nm-feature-copy h3 {
  color: #ffffff;
  font-size: 26px;
  line-height: 1.12;
  margin: 8px 0 12px;
}

.nm-price {
  display: block;
  color: #ffffff;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 20px;
}

.nm-feature .pill-button.cta {
  display: inline-block;
  background: var(--orange);
  color: #ffffff;
}

.nm-feature-media {
  position: absolute;
  right: 2%;
  bottom: 3%;
  width: 64%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  z-index: 1;
}

.nm-feature-media::before {
  content: "";
  position: absolute;
  inset: -4%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 46%,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.92) 40%,
    rgba(255, 255, 255, 0.6) 58%,
    rgba(255, 255, 255, 0) 72%
  );
}

.nm-feature-media .product-sprite {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.nm-feature-media img.product-sprite {
  object-fit: contain;
  filter: drop-shadow(0 16px 26px rgba(15, 32, 50, 0.4));
}

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

.nm-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.nm-item:hover {
  box-shadow: 0 12px 28px rgba(20, 50, 79, 0.1);
  transform: translateY(-2px);
}

.nm-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--soft);
}

.nm-thumb .product-sprite {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.nm-thumb img.product-sprite {
  object-fit: contain;
}

.nm-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.nm-item-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.nm-item-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nm-item-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}

.nm-add {
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .new-market-grid {
    grid-template-columns: 1fr;
  }
  .nm-feature {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  /* Stack the Top pick card on phones: text first, then product (with its halo) below.
     Avoids the white-on-white overlap and the absolute image being cropped. */
  .nm-feature {
    flex-direction: column;
    min-height: 0;
    padding: 26px;
  }
  .nm-feature::after {
    display: none;
  }
  .nm-feature-copy {
    max-width: 100%;
  }
  .nm-feature-media {
    position: static;
    width: 100%;
    max-width: 175px;
    margin: 18px auto 0;
    right: auto;
    bottom: auto;
  }
}

/* Deals slider (product carousel) */
.deals-slider .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.slider-nav {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.slider-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.slider-arrow:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.slider-viewport {
  overflow: hidden;
  margin-top: 24px;
}

.slider-track {
  display: flex;
  gap: 16px;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.slide-cell {
  flex: 0 0 calc((100% - 2 * 16px) / 3);
  min-width: 0;
}

@media (max-width: 900px) {
  .slide-cell {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (max-width: 560px) {
  .slide-cell {
    flex-basis: 100%;
  }
}

/* Product showcase with sidebar (Top Sellers / Trendy / Popular) */
.showcase-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: stretch;
}

.showcase-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.side-promo {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 26px 26px 84px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--teal) 0%, var(--navy) 72%);
  color: #ffffff;
  text-decoration: none;
  overflow: hidden;
}

.side-promo-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.side-promo h3 {
  margin: 10px 0 20px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  color: #ffffff;
}

.side-promo-cta {
  align-self: flex-start;
  border: 0;
  padding: 11px 24px;
  border-radius: 999px;
  background: var(--orange);
  color: #ffffff;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: filter 160ms ease;
}

.side-promo-cta:hover {
  filter: brightness(0.9);
}

.side-featured h4 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.mini-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mini-product {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.mini-media {
  position: relative;
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background: #f1f5f8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mini-media .thumbnail-sprite,
.mini-media img {
  max-width: 78%;
  max-height: 78%;
  object-fit: contain;
}

.mini-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mini-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.mini-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
}

.mini-product:hover .mini-name {
  color: var(--teal);
}

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

.showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.showcase-tabs {
  display: flex;
  gap: 26px;
}

.showcase-tab {
  position: relative;
  padding: 0 0 14px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  color: #9aa6b0;
  transition: color 160ms ease;
}

.showcase-tab.is-active {
  color: var(--ink);
}

.showcase-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--orange);
}

.showcase-nav {
  display: flex;
  gap: 8px;
}

.showcase-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.showcase-arrow:hover {
  background: var(--orange);
  color: #ffffff;
  border-color: var(--orange);
}

.showcase-panel {
  display: none;
}

.showcase-panel.is-active {
  display: block;
}

.showcase-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 1000px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .showcase-side {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .side-promo {
    flex: 1 1 240px;
    min-height: auto;
    justify-content: center;
    padding: 30px 26px;
  }
  .side-featured {
    flex: 1 1 260px;
  }
}

@media (max-width: 720px) {
  .showcase-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .showcase-row {
    grid-template-columns: 1fr;
  }
  .showcase-side {
    flex-direction: column;
  }
}

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

.story-card .story-image.tall {
  aspect-ratio: 1.2;
}

.shop-hero {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  align-items: center;
  min-height: 164px;
  overflow: hidden;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--hot), var(--orange));
  color: #ffffff;
}

.shop-hero-copy {
  padding: 28px 36px;
}

.shop-hero-copy .eyebrow {
  color: #ffffff;
  opacity: 0.9;
}

.shop-hero-copy h1 {
  margin: 0 0 8px;
  font-size: 40px;
  line-height: 1.04;
  text-transform: uppercase;
}

.shop-hero-copy p {
  margin: 0;
  max-width: 410px;
}

.shop-hero-image {
  align-self: stretch;
  min-height: 164px;
  background-image: url("assets/beauty-hero.png");
  background-size: cover;
  background-position: 78% 45%;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip,
.shade-chip {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  padding: 0 13px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 680;
  cursor: pointer;
}

.filter-chip.is-active,
.shade-chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.sort-select {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
  padding: 0 32px 0 10px;
  color: var(--ink);
}

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

.load-more {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 34px 0 10px;
  color: var(--muted);
  font-size: 18px;
}

/* ===== Shop page: category slider + sidebar + banners ===== */
.shop-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  margin-top: 48px;
}

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

.shop-main-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.shop-main-head h1 {
  margin: 0;
  font-size: 26px;
}

.shop-main-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
}

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

/* Category slider cells */
.shop-cat-cell {
  flex: 0 0 calc((100% - 4 * 16px) / 5);
}

.shop-cat-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.shop-cat-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(20, 50, 79, 0.12);
}

.shop-cat-media {
  position: relative;
  height: 168px;
  background: var(--soft);
  overflow: hidden;
}

.shop-cat-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-cat-name {
  padding: 12px 14px 2px;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.25;
}

.shop-cat-count {
  padding: 0 14px 14px;
  color: var(--muted);
  font-size: 13px;
}

/* Sidebar filters */
.shop-sidebar {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.filter-block h4 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.cat-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cat-filter {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 8px;
  border: 0;
  border-radius: 6px;
  background: none;
  font: inherit;
  font-size: 15.5px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: background-color 140ms ease, color 140ms ease;
}

.cat-filter:hover {
  background: var(--soft);
}

.cat-filter.is-active {
  background: var(--navy);
  color: #ffffff;
  font-weight: 700;
}

.cat-filter-count {
  color: var(--muted);
  font-size: 14px;
}

.cat-filter.is-active .cat-filter-count {
  color: rgba(255, 255, 255, 0.8);
}

.price-fields {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
}

.price-sep {
  color: var(--muted);
}

.price-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.price-actions .pill-button {
  min-height: 38px;
  padding: 0 22px;
  font-size: 14px;
}

.toggle-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}

.toggle-box {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #cdd8e1;
  position: relative;
  flex: 0 0 auto;
  transition: background-color 160ms ease;
}

.toggle-box::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 160ms ease;
}

.toggle-filter.is-active .toggle-box {
  background: var(--orange);
}

.toggle-filter.is-active .toggle-box::after {
  transform: translateX(16px);
}

/* Product Tags cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  padding: 6px 13px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.tag-chip:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.tag-chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.tag-chip-extra {
  display: none;
}

.tag-toggle {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  cursor: pointer;
}

.tag-toggle:hover {
  color: var(--teal);
}

.sidebar-banner {
  border-radius: var(--radius);
  padding: 22px;
  background: linear-gradient(160deg, var(--teal) 0%, var(--navy) 75%);
  color: #ffffff;
}

.sidebar-banner .sb-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.sidebar-banner h4 {
  margin: 8px 0 6px;
  padding: 0;
  border: 0;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.sidebar-banner p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.45;
  opacity: 0.92;
}

.sidebar-banner .pill-button {
  min-height: 40px;
}

/* Bottom promo banners */
.shop-banners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 48px 0 8px;
}

.shop-banner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 34px;
  border-radius: var(--radius);
  text-decoration: none;
  min-height: 200px;
  justify-content: center;
}

.shop-banner .sb-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-banner h3 {
  margin: 6px 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
}

.shop-banner p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.45;
  max-width: 360px;
}

.shop-banner.promo-power {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #ffffff;
}

.shop-banner.promo-power .sb-eyebrow {
  color: var(--orange);
}

.shop-banner.promo-quote {
  background: var(--soft);
  color: var(--ink);
  border: 1px solid var(--line);
}

.shop-banner.promo-quote .sb-eyebrow {
  color: var(--teal);
}

/* Pagination */
.shop-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 8px;
}

.pager-info {
  color: var(--muted);
  font-size: 14px;
}

.pager-nav {
  display: flex;
  gap: 6px;
}

.pager-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.pager-btn:hover:not(:disabled):not(.is-active) {
  border-color: var(--ink);
}

.pager-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.pager-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* Compact "Popular this week" */
.feat-cell {
  flex: 0 0 calc((100% - 4 * 16px) / 5);
}

.feat-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.feat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(20, 50, 79, 0.12);
}

.feat-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 140px;
  background: var(--soft);
}

.feat-media .thumbnail-sprite,
.feat-media img {
  max-width: 72%;
  max-height: 72%;
  object-fit: contain;
}

.feat-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 16px;
}

.feat-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.feat-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.feat-price {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
}

@media (max-width: 1000px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .shop-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 22px 28px;
  }
  .filter-block,
  .sidebar-banner {
    flex: 1 1 220px;
  }
  .shop-cat-cell,
  .feat-cell {
    flex-basis: calc((100% - 3 * 16px) / 4);
  }
}

@media (max-width: 760px) {
  .shop-banners {
    grid-template-columns: 1fr;
  }
  .shop-main .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shop-cat-cell,
  .feat-cell {
    flex-basis: calc((100% - 2 * 16px) / 3);
  }
}

@media (max-width: 480px) {
  .shop-main .shop-grid {
    grid-template-columns: 1fr;
  }
  .shop-cat-cell,
  .feat-cell {
    flex-basis: calc((100% - 16px) / 2);
  }
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0;
}

.breadcrumbs a {
  text-decoration: underline;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.85fr);
  gap: 54px;
  align-items: start;
}

.gallery {
  position: sticky;
  top: 112px;
}

.gallery-main {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  background: var(--soft);
}

.large-sprite {
  width: 100%;
  height: 100%;
}

.try-on {
  position: absolute;
  left: 14px;
  bottom: 14px;
  min-height: 30px;
  border: 0;
  border-radius: 2px;
  background: #ffffff;
  padding: 0 13px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--soft);
  cursor: pointer;
}

.thumb.is-active {
  border-color: var(--ink);
}

.thumbnail-sprite {
  width: 100%;
  height: 100%;
}

.product-info h1 {
  margin: 4px 0 8px;
  font-size: 34px;
  line-height: 1.12;
}

.product-subtitle {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
}

.detail-keyfacts {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.01em;
}

.product-info .brand {
  font-size: 18px;
}

.detail-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  font-size: 18px;
}

.detail-rating a {
  text-decoration: underline;
}

.detail-price {
  margin: 14px 0 4px;
  color: var(--hot);
  font-size: 26px;
  font-weight: 850;
}

.detail-price s {
  color: var(--muted);
  font-size: 19px;
  font-weight: 500;
  margin-left: 8px;
}

.points-note {
  color: var(--gold);
  font-size: 18px;
}

.shade-section,
.delivery-section,
.routine-box,
.bought-box {
  margin-top: 20px;
}

.shade-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.shade-head strong {
  display: block;
  font-size: 19px;
}

.shade-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shade-dot {
  width: 28px;
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 2px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shade-dot span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--shade);
}

.shade-dot-label {
  font-size: 13px;
  line-height: 1;
  font-weight: 650;
  color: #1f1f1f;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.shade-dot.is-active {
  border-color: var(--ink);
}

/* Text variants (sizes, lengths, etc.) render as readable pills, not tiny circles. */
.shade-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  background: #fff;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.shade-chip:hover {
  border-color: var(--ink);
}

.shade-chip.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.delivery-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.delivery-card {
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  text-align: center;
  font-size: 16px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.delivery-card:hover {
  border-color: var(--ink);
}

.delivery-card:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.delivery-card.is-active {
  border-color: var(--ink);
  background: #f7fbef;
}

.delivery-card strong {
  display: block;
  margin-bottom: 3px;
  font-size: 18px;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 14px;
}

.detail-actions .black-button {
  min-height: 42px;
}

.favorite-button {
  width: 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
}

.promo-box {
  margin-top: 12px;
  padding: 12px;
  border-radius: 4px;
  background: #fff5ec;
  font-size: 18px;
}

.accordion {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-item button {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  padding: 0;
  font-weight: 760;
  cursor: pointer;
}

.accordion-body {
  display: none;
  padding: 0 0 14px;
  color: #3e3632;
  font-size: 18px;
}

.accordion-item.is-open .accordion-body {
  display: block;
}

.accordion-body p {
  margin: 0 0 10px;
  line-height: 1.55;
}

/* Real product specifications (Selldone `spec`) */
.spec-group {
  margin: 0 0 18px;
}

.spec-group:last-child {
  margin-bottom: 0;
}

.spec-group h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.spec-table th,
.spec-table td {
  text-align: left;
  vertical-align: top;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.4;
}

.spec-table th {
  width: 42%;
  padding-right: 16px;
  color: var(--muted);
  font-weight: 600;
}

.spec-table td {
  color: var(--ink);
  font-weight: 600;
}

/* Pros / cons */
.proscons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin-top: 6px;
}

.proscons-col {
  flex: 1 1 200px;
}

.proscons-col h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
}

.proscons-col ul {
  margin: 0;
  padding-left: 18px;
}

.proscons-col li {
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 1.45;
}

.proscons-col.pros h4 {
  color: #1f7a4d;
}

.proscons-col.cons h4 {
  color: #b23b3b;
}

.bought-box,
.routine-box {
  padding: 14px;
  border-radius: 6px;
  background: var(--soft-2);
}

/* Frequently bought together (individual add) */
.fbt-box {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.fbt-box h2 {
  margin: 0 0 2px;
  font-size: 20px;
  font-weight: 800;
}

.fbt-sub {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.fbt-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fbt-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.fbt-media {
  position: relative;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  overflow: hidden;
}

.fbt-media .thumbnail-sprite,
.fbt-media img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.fbt-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
  min-width: 0;
}

.fbt-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.fbt-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
}

.fbt-add {
  flex: 0 0 auto;
  padding: 8px 20px;
  font-size: 14px;
}

.mini-product {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.mini-product:last-child {
  border-bottom: 0;
}

.mini-media {
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--soft);
}

.mini-product h4 {
  margin: 0 0 3px;
  font-size: 18px;
  line-height: 1.2;
}

.mini-product p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.routine-step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 4px;
  background: #ffffff;
}

.routine-step + .routine-step {
  margin-top: 10px;
}

.reviews-block {
  margin: 50px 0 20px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.review-summary {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 24px;
  align-items: start;
}

.rating-big {
  font-size: 38px;
  font-weight: 860;
}

.review-bars {
  display: grid;
  gap: 7px;
}

.bar-row {
  display: grid;
  grid-template-columns: 38px 1fr 34px;
  gap: 8px;
  align-items: center;
  font-size: 16px;
}

.bar-track {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #eee7e2;
}

.bar-fill {
  height: 100%;
  width: var(--value);
  background: var(--ink);
}

.review-card {
  margin-top: 20px;
  padding: 18px;
  border-radius: 4px;
  background: var(--soft);
}

.review-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.review-card p {
  margin: 0 0 10px;
  color: #3d3531;
  font-size: 18px;
}

.site-footer {
  margin-top: 100px;
  background: #0d1b29;
  color: rgba(255, 255, 255, 0.72);
}

/* Newsletter CTA band */
.newsletter-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #2e8995 0%, #1b456b 68%, #14324f 100%);
}

.newsletter-band::before {
  content: "";
  position: absolute;
  top: -55%;
  right: 8%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.newsletter-band::after {
  content: "";
  position: absolute;
  bottom: -60%;
  left: 4%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(239, 143, 7, 0.16);
}

.newsletter-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 50px 0;
  flex-wrap: wrap;
}

.newsletter-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.newsletter-copy h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 32px;
  line-height: 1.1;
}

.newsletter-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 19px;
}

.newsletter-form {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.newsletter-form input {
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 18px;
  min-height: 54px;
  font-size: 16px;
}

.newsletter-form input[name="name"] {
  width: clamp(90px, 10vw, 125px);
}

.newsletter-form input[type="email"] {
  width: clamp(145px, 16vw, 195px);
}

.newsletter-form button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  background: var(--orange);
  color: #ffffff;
  font-family: inherit;
  font-weight: 800;
  font-size: 16px;
  padding: 0 30px;
  min-height: 54px;
  transition: filter 160ms ease;
}

.newsletter-form button:hover {
  filter: brightness(1.07);
}

/* Footer main (dark) */
.footer-main {
  padding: 58px 0 42px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo img {
  height: 66px;
  width: auto;
  display: block;
}

.footer-logo span {
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.footer-brand p {
  margin: 18px 0 20px;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16.5px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: background 180ms ease;
}

.footer-social a:hover {
  background: var(--orange);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-grid h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 19px;
  font-weight: 800;
}

.footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-grid nav a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 16.5px;
  transition: color 160ms ease;
}

.footer-grid nav a:hover {
  color: #ffffff;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  min-height: 64px;
  padding: 14px 0;
}

.footer-bottom-inner > span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
}

.footer-pay {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.secure-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
}

.secure-note svg {
  width: 17px;
  height: 17px;
  color: var(--orange);
}

.payment-methods {
  display: flex;
  gap: 8px;
}

.payment-methods span {
  padding: 7px 13px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.footer-bottom-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-inner nav a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
  transition: color 160ms ease;
}

.footer-bottom-inner nav a:hover {
  color: #ffffff;
}

@media (max-width: 860px) {
  .newsletter-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .newsletter-form {
    width: 100%;
    flex-wrap: wrap;
    border-radius: 18px;
  }
  .newsletter-form input[name="name"],
  .newsletter-form input[type="email"] {
    flex: 1 1 calc(50% - 5px);
    width: auto;
    min-width: 0;
    padding: 0 14px;
  }
  .newsletter-form button {
    flex: 0 0 100%;
  }
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

.cart-drawer.is-open {
  pointer-events: auto;
}

.cart-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 180ms ease;
}

.cart-drawer.is-open .cart-scrim {
  background: rgba(0, 0, 0, 0.28);
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(390px, 100%);
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #ffffff;
  box-shadow: -22px 0 48px rgba(0, 0, 0, 0.18);
  transform: translateX(104%);
  transition: transform 220ms ease;
}

.cart-drawer.is-open .cart-panel {
  transform: translateX(0);
}

.cart-head {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.cart-head span {
  display: block;
  color: var(--muted);
  font-size: 18px;
}

.cart-head strong {
  font-size: 29px;
}

.cart-items {
  overflow: auto;
  padding: 10px 18px;
}

.cart-empty {
  padding: 30px 0;
  color: var(--muted);
  text-align: center;
}

.cart-status {
  margin: 8px 0 10px;
  padding: 10px 12px;
  border: 1px solid #bfe0e4;
  border-radius: 10px;
  background: #e6f3f5;
  color: #216575;
  font-size: 18px;
}

.cart-status--error {
  border-color: #ffd0dc;
  background: #fff4f7;
  color: #9b163f;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item.is-updating {
  opacity: 0.72;
}

.cart-item-media {
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--soft);
  overflow: hidden;
}

.cart-item-link,
.cart-item-title-link {
  color: inherit;
  text-decoration: none;
}

.cart-item-link:hover,
.cart-item-title-link:hover {
  text-decoration: underline;
}

.cart-item h3 {
  margin: 0 0 3px;
  font-size: 18px;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.cart-item-copy {
  min-width: 0;
}

.cart-item-prices {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.cart-item-prices strong {
  font-size: 18px;
}

.cart-item-prices span {
  color: var(--muted);
  font-size: 16px;
  white-space: nowrap;
}

.cart-remove {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hot);
  font-size: 16px;
  font-weight: 750;
  text-decoration: underline;
  cursor: pointer;
}

.qty-stepper {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-height: 34px;
}

.qty-stepper button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
}

.qty-input {
  width: 48px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  text-align: center;
}

.qty-stepper button:disabled,
.qty-input:disabled,
.cart-remove:disabled,
.cart-summary button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.cart-item-sync {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cart-summary {
  padding: 18px;
  border-top: 1px solid var(--line);
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 18px;
}

.cart-summary .cart-total-row {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 20px;
}

.cart-summary p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.cart-summary .cart-min-note {
  margin: 0 0 14px;
  padding: 11px 13px;
  border: 1px solid rgba(214, 122, 38, 0.35);
  border-radius: 10px;
  background: rgba(214, 122, 38, 0.08);
  color: #a95a17;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.cart-summary .cart-min-note[hidden] {
  display: none;
}

.cart-summary button {
  width: 100%;
  min-height: 44px;
}

.checkout-page {
  margin-top: 4px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 18px;
  align-items: start;
}

.checkout-form-box {
  min-width: 0;
}

.checkout-panel,
.checkout-summary-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
}

.checkout-form-box h1 {
  margin: 0 0 6px;
  font-size: 40px;
}

.checkout-form-fields {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.checkout-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkout-form-fields label {
  display: grid;
  gap: 6px;
  font-size: 16px;
  color: var(--muted);
}

.checkout-form-fields input,
.checkout-form-fields textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 10px;
  outline: none;
  font-size: 18px;
  resize: vertical;
}

.checkout-form-fields textarea {
  padding-top: 9px;
}

.checkout-form-fields input:focus,
.checkout-form-fields textarea:focus {
  border-color: var(--ink);
}

.checkout-login-note {
  margin: 8px 0 0;
  font-size: 16px;
  color: var(--muted);
}

.checkout-payment-options {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.checkout-payment-option {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.checkout-payment-option.is-active,
.checkout-payment-option:has(input:checked) {
  border-color: var(--ink);
  background: #f7fbef;
}

.checkout-payment-option input {
  accent-color: var(--hot);
}

.checkout-payment-option strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.checkout-payment-option small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 16px;
}

.checkout-status {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #bfe0e4;
  border-radius: 8px;
  background: #e6f3f5;
  color: #216575;
  font-size: 18px;
}

.checkout-status p {
  margin: 0 0 4px;
}

.checkout-status p:last-child {
  margin-bottom: 0;
}

.checkout-status--error {
  border-color: #ffd0dc;
  background: #fff4f7;
  color: #9b163f;
}

.checkout-summary-box h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.checkout-summary-list {
  display: grid;
  gap: 10px;
}

.checkout-line-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px dashed #d8dfbc;
}

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

.checkout-line-media {
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--soft);
  overflow: hidden;
}

.checkout-line-link,
.checkout-title-link {
  color: inherit;
  text-decoration: none;
}

.checkout-line-link:hover,
.checkout-title-link:hover {
  text-decoration: underline;
}

.checkout-line-item h4 {
  margin: 0 0 4px;
  font-size: 18px;
}

.checkout-line-item p {
  margin: 0;
}

.checkout-line-pricing {
  text-align: right;
  font-size: 18px;
}

.checkout-line-pricing strong {
  display: block;
  margin-top: 3px;
}

.checkout-summary-total {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.checkout-summary-total div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.checkout-summary-total-final {
  font-size: 19px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .checkout-form-box h1 {
    font-size: 31px;
  }

  .checkout-field-row {
    grid-template-columns: 1fr;
  }
}

.floating-help {
  position: fixed;
  right: 18px;
  top: 46%;
  z-index: 20;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px 0 0 8px;
  background: linear-gradient(135deg, var(--hot), var(--orange));
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(242, 10, 99, 0.25);
  cursor: pointer;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 60;
  min-width: 220px;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  padding: 11px 18px;
  text-align: center;
  font-size: 18px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 980px) {
  .utility-inner nav {
    display: none;
  }

  .nav-inner {
    grid-template-columns: auto auto 1fr auto;
    gap: 12px;
  }

  .menu-button {
    display: inline-grid;
  }

  .brand-mark {
    margin-right: 12px;
  }
  .brand-mark img {
    height: 52px;
  }

  .primary-links {
    position: fixed;
    top: 93px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 16px;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
  }

  .primary-links.is-open {
    display: flex;
  }

  .primary-links a {
    padding: 13px 0;
  }

  /* Mega menu collapses inline inside the mobile menu */
  .nav-item.has-mega {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-mega-trigger {
    padding: 13px 0;
  }
  .nav-item.has-mega .mega-caret {
    display: none;
  }
  .mega-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .mega-inner {
    width: auto;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 0 6px 10px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .mega-cols {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .mega-col h4 {
    margin: 12px 0 4px;
  }
  .mega-promo {
    display: none;
  }

  .search-form {
    grid-column: 1 / -1;
    order: 5;
    display: none;
    height: 44px;
  }
  .search-form.is-open {
    display: flex;
  }
  .search-toggle {
    display: inline-grid;
  }

  .promo-grid,
  .shop-hero,
  .product-detail-layout,
  .gift-banner,
  .review-summary {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    min-height: 460px;
  }

  .hero-slide {
    align-items: start;
    padding: 34px 28px 86px;
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.76) 48%, rgba(255, 255, 255, 0.04) 100%),
      var(--hero-image);
    background-position: center, center bottom;
  }

  .hero-copy {
    width: min(520px, 100%);
  }

  .promo-card {
    min-height: 180px;
  }

  .promo-body,
  .promo-card.hot .promo-body {
    max-width: 76%;
  }

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

  .deal-row,
  .shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .event-band,
  .obsession-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-lead,
  .obsession-copy {
    grid-column: 1 / -1;
  }

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

  .gallery {
    position: static;
  }

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

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 24px, var(--page));
  }

  .utility-inner {
    justify-content: center;
    text-align: center;
  }

  .nav-inner {
    min-height: 64px;
  }

  .brand-mark {
    font-size: 26px;
  }

  .nav-actions .icon-button:first-child {
    display: none;
  }

  .hero-carousel {
    min-height: 420px;
    border-radius: 8px;
  }

  .hero-slide {
    padding: 26px 18px 78px;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .hero-copy p {
    margin: 12px 0 16px;
    font-size: 19px;
  }

  .hero-controls {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .hero-arrow {
    width: 34px;
    height: 34px;
  }

  .promo-body,
  .promo-card.hot .promo-body {
    max-width: 92%;
    padding: 16px;
  }

  .promo-body h1 {
    font-size: 31px;
  }

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

  .product-row,
  .deal-row,
  .shop-grid,
  .feature-grid,
  .magazine-row,
  .editorial-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .shop-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .delivery-cards {
    grid-template-columns: 1fr;
  }

  .thumb-row {
    grid-template-columns: repeat(5, 1fr);
  }

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

  .footer-bottom .page-shell {
    align-items: start;
    flex-direction: column;
    padding: 12px 0;
  }
}

/* Quote-only products: button + price label */
.quote-price {
  color: var(--navy);
  font-weight: 800;
}

.add-button.quote-button,
.black-button.quote-button,
.nm-add.quote-button {
  background: var(--orange);
  border-color: var(--orange);
  color: #ffffff;
}

.add-button.quote-button:hover,
.black-button.quote-button:hover,
.nm-add.quote-button:hover {
  background: var(--orange);
  filter: brightness(0.88);
}

/* Request a Quote modal */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.quote-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.quote-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  cursor: pointer;
  background: rgba(13, 27, 41, 0.55);
}

.quote-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(13, 27, 41, 0.4);
  transform: translateY(14px);
  transition: transform 220ms ease;
}

.quote-modal.is-open .quote-panel {
  transform: translateY(0);
}

/* Quote success popup */
.quote-success {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.quote-success.is-open {
  opacity: 1;
  pointer-events: auto;
}

.quote-success-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 40px 36px 32px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(13, 27, 41, 0.4);
  text-align: center;
  transform: translateY(14px);
  transition: transform 220ms ease;
}

.quote-success.is-open .quote-success-panel {
  transform: translateY(0);
}

.quote-success-media {
  display: block;
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: var(--soft);
  overflow: hidden;
}

.quote-success-media img,
.quote-success-media .product-sprite {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  box-sizing: border-box;
}

.quote-success-check {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #1f7a4d;
}

.quote-success-check svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quote-success-panel h2 {
  margin: 4px 0 8px;
  font-size: 26px;
  color: var(--ink);
}

.quote-success-panel p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.quote-success-panel .quote-submit {
  width: 100%;
}

/* Quote confirmation popup */
.quote-confirm {
  position: fixed;
  inset: 0;
  z-index: 65;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.quote-confirm.is-open {
  opacity: 1;
  pointer-events: auto;
}

.quote-confirm-panel {
  width: min(420px, 100%);
}

.quote-confirm.is-open .quote-panel {
  transform: translateY(0);
}

.quote-confirm-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.quote-confirm-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.quote-confirm-form input {
  font: inherit;
  font-weight: 500;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
}

.quote-confirm-form input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 69, 107, 0.12);
}

.confirm-phone-field {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
}

.confirm-phone-field:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 69, 107, 0.12);
}

.confirm-phone-flag {
  flex: 0 0 auto;
  width: 24px;
  height: 18px;
  margin: 0 10px 0 12px;
  border-radius: 2px;
  background-color: #e6ebef;
}

.quote-confirm-form .confirm-phone-field input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding-left: 0;
}

.quote-confirm-form .confirm-phone-field input:focus {
  outline: none;
  border-color: transparent;
  box-shadow: none;
}

.quote-confirm-actions {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.quote-confirm-actions .quote-submit {
  flex: 1 1 auto;
}

.quote-back {
  flex: 0 0 auto;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.quote-back:hover {
  border-color: var(--ink);
}

.quote-x {
  position: absolute;
  top: 14px;
  right: 14px;
}

.quote-x svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
}

.quote-eyebrow {
  color: var(--orange);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quote-panel h2 {
  margin: 6px 0 8px;
  color: var(--ink);
  font-size: 27px;
}

.quote-sub {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
}

.quote-product {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--ink);
  font-size: 15px;
}

.quote-product strong {
  color: var(--navy);
}

.quote-product span {
  color: var(--muted);
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.quote-grid[hidden] {
  display: none;
}

.quote-form label[hidden] {
  display: none;
}

.quote-consent {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  cursor: pointer;
}

.quote-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--navy);
  cursor: pointer;
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.quote-form input,
.quote-form textarea {
  font: inherit;
  font-weight: 500;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
}

.quote-form textarea {
  resize: vertical;
}

.quote-form select {
  font: inherit;
  font-weight: 500;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
}

.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 69, 107, 0.12);
}

/* Phone field: one unified box (flag/dial + number share a single border) */
.phone-field {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  overflow: visible;
}

.phone-field:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 69, 107, 0.12);
}

.phone-field .ctry-picker {
  flex: 0 0 auto;
}

.phone-field .ctry-toggle {
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 10px 0 0 10px;
  background: transparent;
  min-height: 0;
}

.phone-field input[name="phone"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  border-radius: 0 10px 10px 0;
  background: transparent;
}

.phone-field input[name="phone"]:focus {
  outline: none;
  border-color: transparent;
  box-shadow: none;
}

.ctry-field .ctry-picker {
  width: 100%;
}

/* Flag country picker (used for phone prefix and country) */
.ctry-picker {
  position: relative;
}

.ctry-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 47px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.ctry-picker.is-open .ctry-toggle {
  border-color: var(--navy);
}

.ctry-toggle .fi,
.ctry-option .fi {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  flex: 0 0 auto;
}

.ctry-flag-empty {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  background: #e6ebef;
  flex: 0 0 auto;
}

.ctry-toggle-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ctry-picker--country .ctry-toggle-label {
  flex: 1 1 auto;
  text-align: left;
  font-weight: 500;
}

.ctry-caret {
  font-size: 15px;
  line-height: 1;
  color: var(--ink);
  margin-left: auto;
}

.ctry-picker--dial .ctry-caret {
  margin-left: 4px;
}

.ctry-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 4px);
  left: 0;
  min-width: 250px;
  max-width: 330px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(20, 50, 79, 0.18);
}

.ctry-search {
  width: 100%;
  margin-bottom: 6px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 500;
}

.ctry-list {
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.ctry-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  background: none;
  font: inherit;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.ctry-option:hover {
  background: var(--soft);
}

.ctry-option-name {
  flex: 1 1 auto;
}

.ctry-option-dial {
  color: var(--muted);
  font-size: 13px;
}

.quote-feedback {
  font-size: 14px;
}

.quote-feedback.is-error {
  color: #b4232a;
}

.quote-feedback.is-success {
  color: #216575;
  font-weight: 700;
}

.quote-submit {
  border: 0;
  cursor: pointer;
  padding: 15px;
  border-radius: 999px;
  background: var(--orange);
  color: #ffffff;
  font-family: inherit;
  font-weight: 800;
  font-size: 17px;
  transition: filter 160ms ease;
}

.quote-submit:hover {
  filter: brightness(1.06);
}

.quote-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

body.quote-open {
  overflow: hidden;
}

@media (max-width: 520px) {
  .quote-grid {
    grid-template-columns: 1fr;
  }
  .quote-panel {
    padding: 26px 20px;
  }
}

/* ===== Contact page ===== */
.contact-page {
  margin: 8px 0 48px;
}

.contact-intro {
  max-width: 640px;
  margin-bottom: 36px;
}

.contact-intro h1 {
  margin: 6px 0 12px;
  font-size: 40px;
  line-height: 1.05;
}

.contact-intro p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.contact-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-info-item h4 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.contact-info-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-weight: 400;
  font-size: 15px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.contact-submit {
  align-self: flex-start;
  min-height: 46px;
  padding: 0 30px;
}

.contact-feedback {
  margin: 0;
  font-size: 14px;
}

.contact-feedback:empty {
  display: none;
}

.contact-feedback.is-error {
  color: #b23b3b;
}

.contact-feedback.is-success {
  color: #1f7a4d;
}

@media (max-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  /* On phones, show the form first so visitors don't scroll past all the info text to reach it. */
  .contact-form {
    order: -1;
  }
  .contact-fields {
    grid-template-columns: 1fr;
  }
}

/* Corporate hero with background video */
.corp-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
}

.corp-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.corp-hero-mp4 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 0;
  pointer-events: none;
}

.corp-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(20, 50, 79, 0.92) 0%, rgba(20, 50, 79, 0.62) 46%, rgba(20, 50, 79, 0.22) 100%);
}

.corp-hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(30% + 840px), calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  color: #ffffff;
}

.corp-hero-inner > * {
  max-width: 640px;
}

.corp-hero-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.corp-hero-inner h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  color: #ffffff;
}

.corp-hero-inner p {
  margin: 0 0 28px;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.corp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.corp-hero-actions .pill-button {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 32px;
  font-size: 16px;
}

@media (max-width: 700px) {
  .corp-hero {
    min-height: 68vh;
  }
}

/* Who we are (corporate value proposition) — photo + intro, then pillar row */
.about-block {
  position: relative;
  margin-top: 104px;
  margin-bottom: 104px;
  overflow: hidden;
}

/* Soft decorative background — blurred brand-colour glow + faint dotted texture */
.about-bg {
  position: absolute;
  inset: -60px -10% -40px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(420px 420px at 88% 8%, rgba(46, 137, 149, 0.12), transparent 70%),
    radial-gradient(520px 520px at 2% 86%, rgba(27, 69, 107, 0.08), transparent 72%),
    radial-gradient(rgba(27, 69, 107, 0.06) 1.2px, transparent 1.2px);
  background-size: auto, auto, 22px 22px;
  background-position: 0 0, 0 0, 0 0;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000 60%, transparent 100%);
  mask-image: radial-gradient(80% 80% at 50% 40%, #000 60%, transparent 100%);
}

.about-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: 64px;
  align-items: center;
  margin-bottom: 56px;
}

/* Photo with offset accent frame + floating certification badge */
.about-visual {
  position: relative;
  isolation: isolate;
}

.about-visual-frame {
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 2px solid var(--teal);
  border-radius: 18px;
  z-index: -1;
  opacity: 0.5;
}

.about-photo {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  box-shadow: 0 26px 60px rgba(20, 50, 79, 0.22);
}

.about-badge {
  position: absolute;
  left: -18px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(20, 50, 79, 0.16);
}

.about-badge-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--teal);
  color: #fff;
}

.about-badge-icon svg {
  width: 22px;
  height: 22px;
}

.about-badge-text {
  font-size: 13px;
  line-height: 1.3;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-badge-text strong {
  color: var(--navy);
  font-weight: 800;
}

.about-intro {
  align-self: center;
}

/* Teal eyebrow with a leading dash (corporate accent from the design) */
.about-intro .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal);
  letter-spacing: 0.08em;
}

.about-intro .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--teal);
}

.about-intro h2 {
  margin: 16px 0 22px;
  font-size: 40px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.about-intro p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.8;
  max-width: 48ch;
}

.about-intro .text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--navy);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--orange);
}

.about-intro .text-link:hover {
  border-bottom-color: var(--navy);
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.about-pillar {
  position: relative;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px 30px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

/* Subtle top accent line that grows on hover */
.about-pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--teal);
  transition: width 0.25s ease;
}

.about-pillar:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: 0 16px 36px rgba(20, 50, 79, 0.12);
}

.about-pillar:hover::before {
  width: 100%;
}

.about-pillar-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  margin-bottom: 22px;
}

.about-pillar-icon svg {
  width: 26px;
  height: 26px;
}

.about-pillar h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}

.about-pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .about-block {
    margin-top: 64px;
    margin-bottom: 64px;
  }
  .about-top {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 44px;
  }
  .about-intro h2 {
    font-size: 32px;
  }
  .about-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .about-pillars {
    grid-template-columns: 1fr;
  }
  .about-badge {
    left: 0;
  }
}

/* Scroll-reveal — subtle fade + rise as elements enter the viewport */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

[data-reveal].reveal-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Certifications — full-bleed dark navy band with EN/ANSI/CE typography */
.certs-band {
  position: relative;
  background: var(--navy-deep);
  color: #fff;
  padding: 76px 0 72px;
  margin: 0 0 0;
  overflow: hidden;
}

.certs-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(560px 560px at 92% -8%, rgba(46, 137, 149, 0.2), transparent 70%),
    radial-gradient(620px 620px at 4% 110%, rgba(239, 143, 7, 0.08), transparent 72%),
    radial-gradient(rgba(255, 255, 255, 0.045) 1.2px, transparent 1.2px);
  background-size: auto, auto, 26px 26px;
}

.certs-deco {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.certs-inner {
  position: relative;
  z-index: 1;
}

.certs-eyebrow {
  color: var(--orange);
}

.certs-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--orange);
}

.certs-title {
  margin: 14px 0 44px;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 17ch;
  color: #fff;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cert-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 32px 30px 34px;
}

.cert-code {
  display: inline-block;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--orange);
  margin-bottom: 22px;
}

.cert-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.cert-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.certs-support {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cert-support-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 18px 20px;
}

.cert-support-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--orange);
}

.cert-support-icon svg {
  width: 27px;
  height: 27px;
}

@media (max-width: 980px) {
  .certs-title {
    font-size: 30px;
  }
  .certs-grid {
    grid-template-columns: 1fr;
  }
  .certs-support {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

@media (max-width: 520px) {
  .certs-support {
    grid-template-columns: 1fr;
  }
}

/* Industries we serve — calm uniform grid */
.industries {
  position: relative;
  margin-top: 80px;
  margin-bottom: 150px;
  overflow: hidden;
}

.industries-bg {
  position: absolute;
  inset: -40px -8%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(480px 480px at 2% 6%, rgba(46, 137, 149, 0.1), transparent 70%),
    radial-gradient(520px 520px at 98% 96%, rgba(27, 69, 107, 0.07), transparent 72%),
    radial-gradient(rgba(27, 69, 107, 0.05) 1.2px, transparent 1.2px);
  background-size: auto, auto, 24px 24px;
  -webkit-mask-image: radial-gradient(85% 85% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(85% 85% at 50% 50%, #000 55%, transparent 100%);
}

.industries-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 40px;
}

.industries .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal);
  letter-spacing: 0.08em;
}

.industries .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--teal);
}

.industries-intro h2 {
  margin: 16px 0 0;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
  max-width: 16ch;
}

.industries-lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

/* Body: photo + borderless icon list */
.industries-body {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 52px;
  align-items: stretch;
}

.industries-photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 340px;
  box-shadow: 0 24px 56px rgba(20, 50, 79, 0.2);
}

.industries-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.industries-photo-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 9px 16px;
  background: rgba(20, 50, 79, 0.78);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 8px;
}

.industries-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 40px;
}

.industry-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
}

.industry-row-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--teal);
  transition: background 0.16s ease, color 0.16s ease;
}

.industry-row-icon svg {
  width: 23px;
  height: 23px;
}

.industry-row-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.industry-row:hover .industry-row-icon {
  background: var(--teal);
  color: #fff;
}

@media (max-width: 980px) {
  .industries {
    margin-top: 56px;
    margin-bottom: 56px;
  }
  .industries-head {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }
  .industries-intro h2 {
    font-size: 30px;
  }
  .industries-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .industries-photo {
    min-height: 260px;
  }
}

@media (max-width: 540px) {
  .industries-list {
    grid-template-columns: 1fr;
  }
}

/* Authorized distributor — quiet logo strip on a soft band */
.dist-band {
  position: relative;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 72px 0;
  overflow: hidden;
}

.dist-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(620px 360px at 50% -20%, rgba(46, 137, 149, 0.12), transparent 70%),
    radial-gradient(rgba(27, 69, 107, 0.05) 1.2px, transparent 1.2px);
  background-size: auto, 24px 24px;
  -webkit-mask-image: radial-gradient(80% 120% at 50% 0%, #000 55%, transparent 100%);
  mask-image: radial-gradient(80% 120% at 50% 0%, #000 55%, transparent 100%);
}

.dist-inner {
  position: relative;
  z-index: 1;
}

.dist-intro {
  text-align: center;
  max-width: 44ch;
  margin: 0 auto 44px;
}

.dist-intro .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal);
  letter-spacing: 0.08em;
}

.dist-intro .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--teal);
}

.dist-intro h2 {
  margin: 16px 0 0;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--navy);
}

/* Continuous auto-scrolling logo strip */
.dist-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.dist-track {
  display: flex;
  width: max-content;
  animation: dist-scroll 38s linear infinite;
}

.dist-marquee:hover .dist-track {
  animation-play-state: paused;
}

@keyframes dist-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.dist-logo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 200px;
  height: 84px;
}

.dist-logo-img {
  display: block;
  max-width: 150px;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.dist-logo:hover .dist-logo-img {
  filter: grayscale(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .dist-track {
    animation: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (max-width: 980px) {
  .dist-intro h2 {
    font-size: 24px;
  }
  .dist-logo {
    width: 168px;
  }
}

/* Explore our equipment — category tiles + Browse the shop CTA */
.explore {
  margin-top: 96px;
  margin-bottom: 96px;
}

.explore-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.explore-intro .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal);
  letter-spacing: 0.08em;
}

.explore-intro .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--teal);
}

.explore-intro h2 {
  margin: 16px 0 0;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
  max-width: 18ch;
}

.explore-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
}

.explore-cta:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
}

.explore-cta span {
  transition: transform 0.18s ease;
}

.explore-cta:hover span {
  transform: translateX(4px);
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.explore-tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.explore-tile:hover {
  transform: translateY(-5px);
  border-color: var(--teal);
  box-shadow: 0 20px 44px rgba(20, 50, 79, 0.12);
}

.explore-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
}

.explore-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 18px;
  box-sizing: border-box;
  object-fit: contain;
  object-position: center;
  transition: transform 0.25s ease;
}

.explore-foot {
  margin-top: auto;
}

.explore-tile:hover .explore-media img {
  transform: scale(1.06);
}

.explore-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
}

.explore-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.explore-arrow {
  flex: 0 0 auto;
  color: var(--orange);
  font-size: 19px;
  font-weight: 700;
  transition: transform 0.18s ease;
}

.explore-tile:hover .explore-arrow {
  transform: translateX(4px);
}

@media (max-width: 1080px) {
  .explore-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .explore {
    margin-top: 64px;
    margin-bottom: 64px;
  }
  .explore-intro h2 {
    font-size: 30px;
  }
}

@media (max-width: 720px) {
  .explore-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .explore-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 460px) {
  .explore-grid {
    grid-template-columns: 1fr;
  }
}

/* Testimonials — sober role-based quote cards on a soft band */
.tm-band {
  position: relative;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 88px 0;
  overflow: hidden;
}

.tm-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 520px at 6% 4%, rgba(46, 137, 149, 0.1), transparent 70%),
    radial-gradient(560px 560px at 98% 96%, rgba(27, 69, 107, 0.07), transparent 72%),
    radial-gradient(rgba(27, 69, 107, 0.05) 1.2px, transparent 1.2px);
  background-size: auto, auto, 24px 24px;
  -webkit-mask-image: radial-gradient(90% 90% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(90% 90% at 50% 50%, #000 55%, transparent 100%);
}

.tm-deco {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.tm-inner {
  position: relative;
  z-index: 1;
}

.tm-head {
  margin-bottom: 40px;
  max-width: 30ch;
}

.tm-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal);
  letter-spacing: 0.08em;
}

.tm-head .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--teal);
}

.tm-head h2 {
  margin: 16px 0 0;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.tm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tm-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 32px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 50, 79, 0.1);
}

.tm-quote-mark {
  display: block;
  font-size: 56px;
  line-height: 0.6;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 18px;
}

.tm-text {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  font-style: normal;
}

.tm-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.tm-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--teal);
  flex: 0 0 auto;
}

.tm-avatar svg {
  width: 26px;
  height: 26px;
}

.tm-person-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.tm-person-meta strong {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy);
}

.tm-person-meta span {
  font-size: 13.5px;
  color: var(--muted);
}

@media (max-width: 920px) {
  .tm-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .tm-head h2 {
    font-size: 30px;
  }
}

/* In-the-field gallery — bento layout (1 large + 4 small).
   NOTE: uses the `infield-*` namespace, NOT `gallery` — there is a separate `.gallery`
   (the product image gallery) that is position:sticky, and reusing it here made this
   section stick on scroll and overlap the RFQ band. */
.infield {
  margin-top: 96px;
  margin-bottom: 56px;
}

.infield-head {
  margin-bottom: 36px;
  max-width: 640px;
}

.infield-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal);
  letter-spacing: 0.08em;
}

.infield-head .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--teal);
}

.infield-head h2 {
  margin: 16px 0 0;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.infield-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 230px);
  gap: 16px;
}

.infield-item {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
}

.infield-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.infield-item img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.infield-item:hover img {
  transform: scale(1.05);
}

/* Placeholder shown behind the image (visible only when the photo is missing) */
.infield-ph {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  background:
    radial-gradient(rgba(27, 69, 107, 0.05) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
}

.infield-ph svg {
  width: 30px;
  height: 30px;
  opacity: 0.55;
}

.infield-ph span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .infield {
    margin-top: 64px;
    margin-bottom: 64px;
  }
  .infield-head h2 {
    font-size: 30px;
  }
  .infield-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
  }
  .infield-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 520px) {
  .infield-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: 200px;
  }
  .infield-item:nth-child(1) {
    grid-column: span 1;
  }
}

/* Request a quote — closing conversion band */
.rfq {
  margin-top: 56px;
  margin-bottom: 96px;
}

.rfq-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
  padding: 56px 56px;
  background: var(--navy-deep);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(20, 50, 79, 0.22);
}

/* Subtle diagonal stripe texture */
.rfq-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 22px),
    radial-gradient(460px 460px at 88% 12%, rgba(46, 137, 149, 0.22), transparent 70%);
}

.rfq-copy,
.rfq-actions {
  position: relative;
  z-index: 1;
}

.rfq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--orange);
  letter-spacing: 0.08em;
}

.rfq-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
}

.rfq-copy h2 {
  margin: 16px 0 16px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #fff;
}

.rfq-copy p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.74);
  max-width: 52ch;
}

.rfq-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rfq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 26px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 11px;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.rfq-btn.primary {
  background: var(--orange);
  color: var(--navy-deep);
}

.rfq-btn.primary span {
  transition: transform 0.18s ease;
}

.rfq-btn.primary:hover {
  transform: translateY(-2px);
  background: #ff9e1f;
}

.rfq-btn.primary:hover span {
  transform: translateX(4px);
}

.rfq-btn.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
}

.rfq-btn.ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.rfq-note {
  margin-top: 4px;
  text-align: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 860px) {
  .rfq {
    margin-top: 64px;
    margin-bottom: 64px;
  }
  .rfq-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 30px;
  }
  .rfq-copy h2 {
    font-size: 28px;
  }
}

/* ============ About / Company page (abt-*) ============ */
.abt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal);
  letter-spacing: 0.08em;
}

.abt-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--teal);
}

/* Header */
.abt-header {
  position: relative;
  margin-top: 28px;
  margin-bottom: 24px;
}

.abt-header-bg {
  position: absolute;
  inset: -40px -10% 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(460px 460px at 92% -20%, rgba(46, 137, 149, 0.12), transparent 70%),
    radial-gradient(rgba(27, 69, 107, 0.05) 1.2px, transparent 1.2px);
  background-size: auto, 24px 24px;
  -webkit-mask-image: radial-gradient(80% 100% at 50% 0%, #000 55%, transparent 100%);
  mask-image: radial-gradient(80% 100% at 50% 0%, #000 55%, transparent 100%);
}

.abt-header-inner {
  max-width: 760px;
  margin-top: 18px;
}

.abt-header-inner h1 {
  margin: 16px 0 18px;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.abt-header-inner p {
  margin: 0;
  font-size: 19px;
  line-height: 1.7;
  color: var(--muted);
}

/* Story */
.abt-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
  margin-top: 72px;
  margin-bottom: 72px;
}

.abt-story-media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(20, 50, 79, 0.18);
}

.abt-story-media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.abt-story-copy h2 {
  margin: 16px 0 18px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.abt-story-copy p {
  margin: 0 0 18px;
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* How we work */
.abt-how {
  margin-top: 72px;
  margin-bottom: 72px;
}

.abt-how-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.abt-how-head h2 {
  margin: 16px 0 0;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.abt-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.abt-step {
  position: relative;
  padding: 30px 26px 32px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.abt-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--teal);
  transition: width 0.25s ease;
}

.abt-step:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: 0 16px 36px rgba(20, 50, 79, 0.1);
}

.abt-step:hover::before {
  width: 100%;
}

.abt-step-num {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 16px;
}

.abt-step-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  margin-bottom: 18px;
}

.abt-step-icon svg {
  width: 25px;
  height: 25px;
}

.abt-step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.abt-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* Global presence — dotted world map band */
.abt-globe {
  background: var(--navy-deep);
  color: #fff;
  padding: 72px 0 64px;
  margin: 80px 0;
}

.abt-globe-head {
  max-width: 640px;
  margin-bottom: 28px;
}

.abt-globe-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #4fc3ce;
  letter-spacing: 0.08em;
}

.abt-globe-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: #4fc3ce;
}

.abt-globe-head h2 {
  margin: 16px 0 14px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #fff;
}

.abt-globe-head p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.abt-globe-map svg {
  display: block;
  width: 100%;
  height: auto;
}

.gp-map-img {
  opacity: 0.22;
}

.gp-dot {
  stroke: var(--navy-deep);
  stroke-width: 3;
}

.gp-wh .gp-dot {
  fill: var(--orange);
}

.gp-pt .gp-dot {
  fill: #4fc3ce;
}

.gp-ring {
  fill: none;
  stroke-width: 2.5;
  opacity: 0;
}

.gp-wh .gp-ring {
  stroke: var(--orange);
  animation: gp-pulse 2.6s ease-out infinite;
}

.gp-pt .gp-ring {
  stroke: #4fc3ce;
  animation: gp-pulse 2.6s ease-out infinite 1.3s;
}

.gp-star {
  fill: var(--orange);
  stroke: #fff;
  stroke-width: 2;
  stroke-linejoin: round;
}

.gp-ring-hq {
  stroke: var(--orange);
  animation: gp-pulse-hq 2.8s ease-out infinite;
}

@keyframes gp-pulse {
  0% { r: 9; opacity: 0.8; }
  70% { opacity: 0; }
  100% { r: 34; opacity: 0; }
}

@keyframes gp-pulse-hq {
  0% { r: 15; opacity: 0.85; }
  70% { opacity: 0; }
  100% { r: 46; opacity: 0; }
}

.abt-globe-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 24px;
}

.gp-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

.gp-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.gp-legend-wh { background: var(--orange); }
.gp-legend-pt { background: #4fc3ce; }

.gp-legend-star {
  width: 16px;
  height: 16px;
  fill: var(--orange);
  stroke: #fff;
  stroke-width: 1.5;
  stroke-linejoin: round;
}

@media (prefers-reduced-motion: reduce) {
  .gp-ring { display: none; }
}

@media (max-width: 980px) {
  .abt-globe-head h2 {
    font-size: 27px;
  }
}

/* Temporary comparison labels (remove after choosing How-we-work version) */
.abt-compare-label {
  display: inline-block;
  margin: 8px 0 0;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--soft);
  border: 1px dashed var(--line);
  border-radius: 999px;
}

.abt-compare-label--new {
  color: var(--teal);
  border-color: var(--teal);
}

/* How we work — Option B: connected process flow (no boxes) */
.abt-how--flow {
  margin-top: 108px;
  margin-bottom: 108px;
}

.abt-how--flow .abt-how-head {
  margin-bottom: 100px;
}

.abt-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 8px;
}

.abt-flow-line {
  position: absolute;
  top: 44px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  opacity: 0.45;
  z-index: 0;
}

.abt-flow-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.abt-flow-node {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  margin-bottom: 26px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.abt-flow-step:hover .abt-flow-node {
  transform: translateY(-5px);
  border-color: var(--teal);
  box-shadow: 0 16px 34px rgba(20, 50, 79, 0.14);
}

.abt-flow-icon {
  display: grid;
  place-items: center;
}

.abt-flow-icon svg {
  width: 38px;
  height: 38px;
}

.abt-flow-num {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 7px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: var(--orange);
  border-radius: 15px;
  border: 3px solid #fff;
}

.abt-flow-step h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
}

.abt-flow-step p {
  margin: 0;
  max-width: 30ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

@media (max-width: 900px) {
  .abt-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 28px;
  }
  .abt-flow-line {
    display: none;
  }
  .abt-how--flow .abt-how-head {
    margin-bottom: 48px;
  }
}

@media (max-width: 540px) {
  .abt-flow {
    grid-template-columns: 1fr;
  }
}

/* Standards band */
.abt-standards {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: #fff;
  padding: 64px 0;
  margin: 80px 0;
}

.abt-standards-deco {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.abt-standards-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 48px;
  align-items: center;
}

.abt-standards-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--orange);
  letter-spacing: 0.08em;
}

.abt-standards-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
}

.abt-standards-copy h2 {
  margin: 16px 0 14px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #fff;
}

.abt-standards-copy p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.74);
  max-width: 52ch;
}

.abt-standards-codes {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

.abt-standards-codes span {
  flex: 1;
  max-width: 110px;
  display: grid;
  place-items: center;
  padding: 18px 0;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
}

@media (max-width: 980px) {
  .abt-header-inner h1 {
    font-size: 36px;
  }
  .abt-story {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .abt-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .abt-standards-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .abt-standards-codes {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .abt-steps {
    grid-template-columns: 1fr;
  }
}

/* Behind Skyward — small auto-scrolling photo strip (about gallery) */
.abx {
  margin: 96px 0;
}

.abx-head {
  max-width: 640px;
  margin-bottom: 34px;
}

.abx-head h2 {
  margin: 16px 0 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.abx-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.abx-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: abx-scroll 80s linear infinite;
}

.abx-marquee:hover .abx-track {
  animation-play-state: paused;
}

@keyframes abx-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.abx-item {
  position: relative;
  flex: 0 0 auto;
  width: 320px;
  height: 213px;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
}

.abx-item img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.abx-ph {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: radial-gradient(rgba(27, 69, 107, 0.05) 1.2px, transparent 1.2px);
  background-size: 16px 16px;
}

.abx-ph svg {
  width: 26px;
  height: 26px;
  opacity: 0.5;
}

@media (prefers-reduced-motion: reduce) {
  .abx-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .abx-item {
    width: 260px;
    height: 173px;
  }
  .abx-head h2 {
    font-size: 25px;
  }
}

/* Header — Request a Quote CTA button */
.nav-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 30px;
  background: var(--orange);
  color: var(--navy-deep);
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease;
}

.nav-quote-btn:hover {
  background: #ff9e1f;
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .nav-quote-btn {
    display: none;
  }
}

/* Order confirmation screen (after successful payment) */
.order-confirm {
  display: flex;
  justify-content: center;
  margin: 60px auto 90px;
}

.order-confirm-card {
  max-width: 560px;
  text-align: center;
  padding: 12px 20px;
}

.order-confirm-icon {
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
}

.order-confirm-icon svg {
  width: 40px;
  height: 40px;
}

.order-confirm-card h1 {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.order-confirm-num {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 16px;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.order-confirm-text {
  margin: 0 auto 28px;
  max-width: 44ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.order-confirm-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Stripe on-site payment modal */
.stripe-pay-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20, 50, 79, 0.55);
}

.stripe-pay-modal {
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 26px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(20, 50, 79, 0.3);
}

.stripe-pay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.stripe-pay-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}

.stripe-pay-close {
  border: 0;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}

.stripe-pay-element {
  margin-bottom: 16px;
  min-height: 40px;
}

.stripe-pay-error {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.45;
  color: #c0392b;
}

.stripe-pay-error:empty {
  display: none;
}

.stripe-pay-submit {
  width: 100%;
}

.stripe-pay-secure {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

body.stripe-pay-open {
  overflow: hidden;
}

/* Contact — direct email/phone block */
.contact-info-direct a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}

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

/* Legal / policy pages (Privacy, Terms, Shipping, Returns) */
.legal-page {
  max-width: 820px;
  margin: 36px auto 88px;
}

.legal-head {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-head h1 {
  margin: 14px 0 10px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.legal-updated {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
}

.legal-intro {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
}

.legal-section {
  margin-bottom: 30px;
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
}

.legal-section p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

.legal-section ul {
  margin: 0 0 12px;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.legal-section li {
  margin-bottom: 6px;
}

.legal-section a {
  color: var(--teal);
}

.legal-contact {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
  .legal-head h1 {
    font-size: 30px;
  }
}

/* Home corporate skeleton — placeholder sections (pending real content) */
.home-placeholder {
  margin-top: 40px;
  margin-bottom: 40px;
}

.home-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 44px 24px;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.home-placeholder-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}

.home-placeholder h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
}

.home-placeholder p {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
