:root {
  --navy-950: #061a38;
  --navy-900: #082342;
  --navy-800: #123d69;
  --blue-700: #0035b2;
  --blue-600: #075bdc;
  --blue-100: #dce8ff;
  --blue-50: #f0f5ff;
  --red-600: #eb0214;
  --gold-500: #fdc101;
  --green-600: #247b57;
  --ink: #152233;
  --muted: #647183;
  --line: #dfe4e8;
  --surface: #ffffff;
  --canvas: #f6f7f8;
  --warm: #f3f1ec;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 18px rgba(15, 32, 50, 0.07);
  --shadow-lg: 0 24px 70px rgba(9, 28, 47, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  font-family: Inter, "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

button {
  border: 0;
}

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

h1,
h2,
h3 {
  color: var(--navy-950);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.site-container {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  color: var(--blue-700);
  transform: translateY(-150%);
}

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

.utility-bar {
  background: var(--navy-950);
  color: #dce5ed;
  font-size: 0.86rem;
  letter-spacing: 0.025em;
}

.utility-bar__inner {
  min-height: 33px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.utility-bar p {
  margin: 0;
}

.utility-bar__links {
  display: flex;
  align-items: center;
  gap: 11px;
}

.utility-bar a:hover {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(11, 32, 53, 0.1);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 9px 30px rgba(7, 24, 41, 0.08);
}

.site-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

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

.brand__mark {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--blue-700);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
}

.brand__mark span {
  position: relative;
  z-index: 1;
}

.brand__mark i {
  position: absolute;
  right: -9px;
  bottom: -14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red-600);
}

.brand__logo {
  position: relative;
  width: 80px;
  height: 44px;
  flex: 0 0 80px;
  overflow: hidden;
}

.brand__logo img {
  position: absolute;
  top: -18px;
  left: 0;
  width: 80px;
  height: 80px;
  max-width: none;
  object-fit: contain;
}

.brand__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__wordmark strong {
  color: var(--navy-950);
  font-size: 0.98rem;
  font-weight: 760;
  letter-spacing: -0.01em;
}

.brand__wordmark small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.primary-nav__links {
  display: flex;
  align-items: center;
  gap: 27px;
}

.primary-nav__links > a,
.nav-dropdown__toggle {
  position: relative;
  padding: 28px 0;
  background: transparent;
  color: #364558;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 600;
}

.primary-nav__links > a::after,
.nav-dropdown__toggle::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  background: var(--blue-700);
  transform: scaleX(0);
  transition: transform 0.18s ease;
}

.primary-nav__links > a:hover,
.primary-nav__links > a.active,
.nav-dropdown__toggle:hover {
  color: var(--blue-700);
}

.primary-nav__links > a:hover::after,
.primary-nav__links > a.active::after,
.nav-dropdown__toggle:hover::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% - 7px);
  left: -24px;
  width: 290px;
  padding: 9px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.nav-dropdown__menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 7px;
  color: #35465a;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-dropdown__menu a:hover {
  background: var(--blue-50);
  color: var(--blue-700);
}

.cart-link {
  min-height: 42px;
  padding: 0 8px 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--navy-900);
  font-size: 0.93rem;
  font-weight: 700;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.cart-link:hover {
  border-color: #aebdca;
  box-shadow: 0 5px 16px rgba(12, 36, 59, 0.08);
}

.cart-count {
  min-width: 26px;
  height: 26px;
  padding-inline: 7px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--blue-700);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.menu-toggle {
  width: 43px;
  height: 43px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--navy-900);
  cursor: pointer;
}

.main {
  flex: 1 0 auto;
}

.messages {
  padding-top: 22px;
}

.alert {
  margin-bottom: 16px;
  padding: 12px 15px;
  border: 1px solid #f1cfd1;
  border-left: 3px solid var(--red-600);
  border-radius: var(--radius-sm);
  background: #fff7f7;
  color: #9b252e;
  font-size: 0.96rem;
}

/* Home */
.home-hero {
  overflow: hidden;
  padding: 66px 0 74px;
  background: var(--surface);
}

.home-hero__grid {
  min-height: 490px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 0.95fr);
  align-items: center;
  gap: 74px;
}

.home-hero__copy {
  padding: 16px 0;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--blue-700);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-hero__copy > .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-hero__copy > .eyebrow span {
  width: 24px;
  height: 2px;
  background: var(--red-600);
}

.home-hero h1 {
  max-width: 650px;
  margin-bottom: 23px;
  font-size: clamp(2.8rem, 5.2vw, 4.55rem);
  font-weight: 760;
  letter-spacing: -0.055em;
}

.home-hero__lead {
  max-width: 610px;
  margin-bottom: 30px;
  color: #526174;
  font-size: 1.14rem;
  line-height: 1.7;
}

.home-hero__actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-900);
  font-size: 0.96rem;
  font-weight: 750;
}

.text-link svg {
  transition: transform 0.18s ease;
}

.text-link:hover {
  color: var(--blue-700);
}

.text-link:hover svg {
  transform: translateX(3px);
}

.hero-assurances {
  margin: 40px 0 0;
  padding: 21px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 13px 24px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-assurances li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #5f6c7d;
  font-size: 0.86rem;
  font-weight: 600;
}

.hero-assurances svg {
  width: 18px;
  color: var(--green-600);
}

.home-hero__showcase {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 8px 36px 8px 8px;
  background: var(--navy-900);
  box-shadow: var(--shadow-lg);
}

.home-hero__showcase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--red-600);
}

.showcase-copy {
  position: relative;
  z-index: 2;
  width: 49%;
  padding: 58px 30px 100px 42px;
  color: #fff;
}

.showcase-copy--empty {
  width: 100%;
}

.showcase-kicker {
  display: block;
  margin-bottom: 18px;
  color: #9bc4e8;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.showcase-copy h2 {
  margin-bottom: 15px;
  color: #fff;
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  font-weight: 700;
}

.showcase-copy p {
  margin-bottom: 26px;
  color: #c5d2df;
  font-size: 1rem;
  line-height: 1.65;
}

.showcase-copy a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 4px;
  border-bottom: 1px solid #7699b7;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 750;
}

.showcase-image {
  position: absolute;
  top: 23px;
  right: 23px;
  bottom: 23px;
  width: 48%;
  overflow: hidden;
  border-radius: 7px 25px 7px 7px;
  background: #ccd5dc;
}

.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.5s ease;
}

.showcase-image:hover img {
  transform: scale(1.025);
}

.showcase-note {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #aebfce;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.025em;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #69c497;
  box-shadow: 0 0 0 4px rgba(105, 196, 151, 0.13);
}

.category-strip {
  padding: 34px 0 60px;
  background: var(--surface);
}

.section-heading--compact .eyebrow {
  margin-bottom: 13px;
}

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

.category-card {
  min-height: 124px;
  padding: 20px 18px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.category-card:hover {
  z-index: 1;
  border-color: #b9c9d7;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.category-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--blue-50);
  color: var(--blue-700);
}

.category-card__icon svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-card__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.category-card__copy strong {
  overflow: hidden;
  color: var(--navy-900);
  font-size: 0.96rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-card__copy small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-card__arrow {
  width: 18px;
  fill: none;
  stroke: #8695a5;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease;
}

.category-card:hover .category-card__arrow {
  stroke: var(--blue-700);
  transform: translateX(3px);
}

.shop-section {
  padding: 86px 0 96px;
  background: var(--canvas);
}

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

.section-heading .eyebrow {
  margin-bottom: 11px;
}

.section-heading h2 {
  margin-bottom: 11px;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 720;
}

.section-heading p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.section-heading__link {
  padding-bottom: 4px;
  flex: none;
  border-bottom: 1px solid #b9c4ce;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.section-heading__link span {
  margin-left: 4px;
  color: var(--blue-700);
}

.catalog-toolbar {
  margin-bottom: 26px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

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

.filter-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #d9dfe4;
  border-radius: 999px;
  background: transparent;
  color: #586779;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 680;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.filter-button:hover {
  border-color: #a7b6c4;
  color: var(--navy-900);
}

.filter-button.active {
  border-color: var(--blue-700);
  background: var(--blue-700);
  color: #fff;
}

.catalog-count {
  margin: 0;
  flex: none;
  color: var(--muted);
  font-size: 0.88rem;
}

.catalog-count strong {
  color: var(--navy-900);
}

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

.product-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #dfe3e7;
  border-radius: 10px;
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card[hidden] {
  display: none;
}

.product-card:hover {
  border-color: #bdc9d3;
  box-shadow: 0 16px 40px rgba(10, 31, 51, 0.1);
  transform: translateY(-3px);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: block;
  border-bottom: 1px solid #e2e6e9;
  background: #edf0f2;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

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

.product-card__flag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 9px;
  border-radius: 5px;
  background: var(--surface);
  box-shadow: 0 4px 14px rgba(13, 31, 48, 0.12);
  color: var(--blue-700);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-card__view {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 5px;
  background: rgba(7, 24, 41, 0.88);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.product-card:hover .product-card__view {
  opacity: 1;
  transform: translateY(0);
}

.product-card__body {
  padding: 20px 20px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__category {
  margin-bottom: 8px;
  color: var(--blue-700);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  font-weight: 730;
  letter-spacing: -0.018em;
}

.product-card h3 a:hover {
  color: var(--blue-700);
}

.product-card__body > p {
  margin-bottom: 23px;
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.product-card__footer {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #ebedef;
}

.product-card__price {
  display: block;
  color: var(--navy-950);
  font-size: 1.28rem;
  font-weight: 790;
  letter-spacing: -0.02em;
}

.stock-status {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.stock-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-600);
}

.stock-status--unavailable {
  color: #9b4c51;
}

.add-button {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-700);
  color: #fff;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.add-button:hover {
  background: var(--navy-900);
}

.add-button:active {
  transform: scale(0.95);
}

.add-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.add-button.added {
  background: var(--green-600);
}

.add-button--disabled {
  background: #e5e9ec;
  color: #617181;
}

.add-button--disabled:hover {
  background: #dce2e6;
}

.empty-state {
  padding: 40px;
  grid-column: 1 / -1;
  border: 1px dashed #c6d0d8;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  text-align: center;
}

.empty-state h3 {
  margin-bottom: 8px;
}

.empty-state p {
  margin-bottom: 18px;
}

.empty-state--filter {
  margin-top: 10px;
}

.service-banner {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
  background: var(--navy-900);
  color: #fff;
}

.service-banner::after {
  content: "";
  position: absolute;
  top: -190px;
  right: -90px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
}

.service-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.eyebrow--light {
  margin-bottom: 13px;
  color: #ffd65a;
}

.service-banner h2 {
  max-width: 700px;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
}

.service-banner p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: #bccad6;
  font-size: 1.05rem;
}

.service-banner__actions {
  min-width: 225px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
}

.service-banner__email {
  color: #afc2d2;
  font-size: 0.82rem;
}

.trust-section {
  padding: 70px 0 78px;
  background: var(--surface);
}

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

.trust-grid article {
  padding: 7px 45px;
  border-left: 1px solid var(--line);
}

.trust-grid article:first-child {
  padding-left: 0;
  border-left: 0;
}

.trust-grid article:last-child {
  padding-right: 0;
}

.trust-grid article > span {
  display: block;
  margin-bottom: 22px;
  color: var(--red-600);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.trust-grid h2 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.trust-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* Shared storefront pages */
.main > .card {
  width: min(100% - 48px, 1180px);
  margin: 46px auto;
}

.main > .narrow-card {
  width: min(100% - 48px, 520px);
  margin-block: 72px;
}

.page-breadcrumb {
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #7a8796;
  font-size: 0.84rem;
}

.page-breadcrumb a:hover {
  color: var(--blue-700);
}

.track-form-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.track-form-row .form-control {
  flex: 1;
}

.card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.card + .card {
  margin-top: -22px;
}

.card h1 {
  margin-bottom: 13px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.card h2 {
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.card > p,
.product-description {
  color: var(--muted);
}

.card > p {
  font-size: 1rem;
}

.product-description {
  font-size: 1.05rem;
}

.btn {
  min-height: 43px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 750;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-large {
  min-height: 50px;
  padding-inline: 22px;
}

.btn-primary {
  background: var(--blue-700);
  color: #fff;
  box-shadow: 0 9px 20px rgba(13, 79, 145, 0.18);
}

.btn-primary:hover {
  background: var(--navy-900);
}

.btn-accent {
  background: var(--red-600);
  color: #fff;
}

.btn-accent:hover {
  background: #a92931;
}

.btn-outline {
  border-color: #b8c5cf;
  background: transparent;
  color: var(--navy-900);
}

.btn-outline:hover {
  border-color: var(--blue-700);
  color: var(--blue-700);
}

.btn-light {
  background: var(--blue-50);
  color: var(--blue-700);
}

.btn-white {
  background: #fff;
  color: var(--navy-900);
}

.btn-white:hover {
  background: var(--blue-50);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.pill,
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 750;
}

.price {
  color: var(--navy-950);
  font-weight: 800;
}

.meta {
  color: var(--muted);
  font-size: 0.94rem;
}

.product-detail-card {
  padding: 38px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  align-items: flex-start;
  gap: 50px;
}

.product-detail-grid > * {
  min-width: 0;
}

.product-gallery {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-main-image {
  width: 100%;
  height: min(590px, 56vw);
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #edf0f2;
}

.product-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.product-thumbnails .thumb {
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.product-thumbnails .thumb img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 4px;
}

.product-thumbnails .thumb.active {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 1px var(--blue-700);
}

.product-info {
  position: sticky;
  top: 128px;
  padding-top: 8px;
}

.product-info h1 {
  margin: 15px 0 16px;
}

.product-info .price {
  margin-bottom: 3px;
  font-size: 2rem;
}

.product-info .meta {
  margin-bottom: 23px;
}

.product-description {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.product-description p {
  margin-bottom: 13px;
}

.product-actions {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-video {
  width: 100%;
  margin-top: 26px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  height: 0;
  padding-bottom: 56.25%;
  border-radius: 8px;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.cart-table th,
.cart-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.cart-table th {
  color: #667587;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.cart-table td {
  color: #354558;
}

.cart-actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.cart-actions strong {
  font-size: 1.15rem;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.quantity-control button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.quantity-control input {
  width: 52px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
}

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

.form-group-spaced {
  margin-top: 18px;
}

.form-section-title {
  margin-top: 28px;
}

.conditional-fields {
  display: none;
  margin-top: 18px;
}

.conditional-fields--compact {
  margin-top: 12px;
}

.initially-hidden {
  display: none;
}

.order-total {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.btn-block {
  width: 100%;
}

.form-submit {
  margin-top: 20px;
}

label {
  display: inline-block;
  margin-bottom: 6px;
  color: #344357;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-control {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cfd7de;
  border-radius: 7px;
  background: #fff;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea.form-control {
  min-height: 90px;
  resize: vertical;
}

.form-control:focus {
  outline: 0;
  border-color: var(--blue-700);
  box-shadow: 0 0 0 3px rgba(13, 79, 145, 0.11);
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.radio-option {
  margin: 0;
  padding: 10px 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
  font-weight: 600;
}

#checkoutForm {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 35px;
}

#checkoutForm aside {
  align-self: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f8f9fa;
}

.status-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-timeline li {
  position: relative;
  min-height: 52px;
  margin-left: 7px;
  padding: 0 0 19px 28px;
  border-left: 1px solid #d7dee4;
}

.status-timeline li:last-child {
  border-left-color: transparent;
}

.status-timeline li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: -7px;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #b7c1ca;
  box-shadow: 0 0 0 1px #b7c1ca;
}

.status-timeline li.completed::before {
  background: var(--green-600);
  box-shadow: 0 0 0 1px var(--green-600);
}

.modal-backdrop {
  position: fixed;
  z-index: 2000;
  inset: 0;
  padding: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(4, 16, 28, 0.72);
}

.modal-card {
  width: min(100%, 430px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 28px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.modal-card h2 {
  margin-top: 0;
}

.modal-card p {
  color: var(--muted);
}

.modal-card .btn {
  width: 100%;
}

.modal-card img.modal-qr {
  width: min(100%, 220px);
  height: auto;
  margin: 0 auto 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.modal-card iframe {
  width: 100%;
  height: 60vh;
  margin-bottom: 16px;
  border: 0;
  border-radius: 8px;
}

.spinner {
  width: 46px;
  height: 46px;
  margin: 0 auto 17px;
  border: 5px solid rgba(13, 79, 145, 0.14);
  border-top-color: var(--blue-700);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-banner {
  margin-top: 18px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #bfd4e6;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.93rem;
  font-weight: 700;
}

.loading-banner .spinner {
  width: 30px;
  height: 30px;
  margin: 0;
  border-width: 3px;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding-top: 58px;
  background: var(--navy-950);
  color: #adbac6;
}

.site-footer__grid {
  padding-bottom: 47px;
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1fr;
  gap: 55px;
}

.brand--footer .brand__wordmark strong {
  color: #fff;
}

.brand--footer .brand__logo {
  width: 86px;
  height: 48px;
  flex-basis: 86px;
  border-radius: 8px;
  background: #fff;
}

.brand--footer .brand__logo img {
  top: -19px;
  width: 86px;
  height: 86px;
}

.brand--footer .brand__wordmark small {
  color: #8294a4;
}

.site-footer__brand p {
  max-width: 330px;
  margin: 20px 0 0;
  color: #8ea0af;
  font-size: 0.92rem;
  line-height: 1.65;
}

.site-footer h2 {
  margin: 5px 0 17px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 9px;
}

.site-footer a,
.site-footer address {
  color: #9eafbd;
  font-size: 0.88rem;
  font-style: normal;
  line-height: 1.6;
}

.site-footer address {
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__bottom {
  padding: 18px 0 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #748898;
  font-size: 0.8rem;
}

@media (max-width: 1080px) {
  .site-header__inner {
    gap: 18px;
  }

  .primary-nav {
    gap: 19px;
  }

  .primary-nav__links {
    gap: 18px;
  }

  .primary-nav__links > a,
  .nav-dropdown__toggle {
    font-size: 0.86rem;
  }

  .home-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr);
    gap: 42px;
  }

  .showcase-copy {
    padding-left: 33px;
  }

  .showcase-note {
    left: 33px;
  }

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

  .category-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .site-container {
    width: min(100% - 36px, 1240px);
  }

  .menu-toggle {
    display: grid;
  }

  .primary-nav {
    position: fixed;
    z-index: 1100;
    top: 111px;
    right: 0;
    bottom: 0;
    width: min(88vw, 380px);
    padding: 20px 22px 30px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: -18px 30px 45px rgba(7, 24, 41, 0.14);
    visibility: hidden;
    transform: translateX(105%);
    transition: transform 0.22s ease, visibility 0.22s;
  }

  .primary-nav.is-open {
    visibility: visible;
    transform: translateX(0);
  }

  .primary-nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-nav__links > a,
  .nav-dropdown__toggle {
    width: 100%;
    padding: 14px 4px;
    justify-content: space-between;
    border-bottom: 1px solid #edf0f2;
    font-size: 0.98rem;
    text-align: left;
  }

  .primary-nav__links > a::after,
  .nav-dropdown__toggle::after {
    display: none;
  }

  .nav-dropdown__menu {
    position: static;
    width: 100%;
    padding: 5px 0 7px 11px;
    display: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    border: 0;
    border-bottom: 1px solid #edf0f2;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-dropdown:hover .nav-dropdown__menu,
  .nav-dropdown:focus-within .nav-dropdown__menu {
    display: none;
  }

  .nav-dropdown.is-open .nav-dropdown__menu,
  .nav-dropdown.is-open:hover .nav-dropdown__menu {
    display: block;
  }

  .cart-link {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .home-hero {
    padding: 48px 0 58px;
  }

  .home-hero__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .home-hero__copy {
    max-width: 710px;
  }

  .home-hero h1 {
    font-size: clamp(2.7rem, 8vw, 4.2rem);
  }

  .home-hero__showcase {
    min-height: 440px;
  }

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

  .service-banner__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-banner__actions {
    min-width: 0;
    align-items: flex-start;
  }

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

  .product-main-image {
    height: min(720px, 90vw);
  }

  .product-info {
    position: static;
  }

  #checkoutForm {
    grid-template-columns: 1fr !important;
  }

  .site-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .site-container,
  .main > .card {
    width: min(100% - 28px, 1240px);
  }

  .utility-bar__inner {
    justify-content: center;
  }

  .utility-bar p {
    display: none;
  }

  .site-header__inner {
    min-height: 70px;
  }

  .primary-nav {
    top: 103px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand__logo {
    width: 68px;
    height: 38px;
    flex-basis: 68px;
  }

  .brand__logo img {
    top: -15px;
    width: 68px;
    height: 68px;
  }

  .brand__wordmark strong {
    font-size: 0.96rem;
  }

  .brand__wordmark small {
    font-size: 0.7rem;
  }

  .home-hero {
    padding-top: 38px;
  }

  .home-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(2.45rem, 12vw, 3.4rem);
  }

  .home-hero__lead {
    margin-bottom: 24px;
    font-size: 1.05rem;
  }

  .home-hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .home-hero__actions .btn {
    width: 100%;
  }

  .hero-assurances {
    margin-top: 31px;
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-hero__showcase {
    min-height: 520px;
    border-radius: 7px 28px 7px 7px;
  }

  .showcase-copy {
    width: 100%;
    padding: 34px 30px 0;
  }

  .showcase-copy p {
    max-width: 420px;
    margin-bottom: 17px;
  }

  .showcase-image {
    top: 244px;
    right: 18px;
    bottom: 18px;
    left: 18px;
    width: auto;
    border-radius: 6px 18px 6px 6px;
  }

  .showcase-image img {
    object-position: center 42%;
  }

  .showcase-note {
    display: none;
  }

  .category-strip {
    padding-bottom: 44px;
  }

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

  .category-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .shop-section {
    padding: 64px 0 70px;
  }

  .section-heading {
    margin-bottom: 28px;
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

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

  .filter-list {
    width: calc(100vw - 28px);
    margin-right: -14px;
    padding-right: 14px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filter-list::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    flex: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .product-card__view {
    opacity: 1;
    transform: none;
  }

  .service-banner {
    padding: 58px 0;
  }

  .trust-section {
    padding: 55px 0;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .trust-grid article,
  .trust-grid article:first-child,
  .trust-grid article:last-child {
    padding: 0 0 30px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-grid article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .trust-grid article > span {
    margin-bottom: 10px;
  }

  .card,
  .product-detail-card {
    padding: 21px 18px;
  }

  .main > .narrow-card {
    width: min(100% - 28px, 520px);
    margin-block: 38px;
  }

  .track-form-row {
    flex-direction: column;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .table-wrap {
    margin-inline: -18px;
    width: calc(100% + 36px);
    padding-inline: 18px;
  }

  .cart-table {
    min-width: 620px;
  }

  .cart-table--items {
    min-width: 0;
  }

  .cart-table--items thead {
    display: none;
  }

  .cart-table--items,
  .cart-table--items tbody,
  .cart-table--items tr,
  .cart-table--items td {
    display: block;
    width: 100%;
  }

  .cart-table--items tr {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .cart-table--items td {
    min-height: 38px;
    padding: 7px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 0;
    text-align: right;
  }

  .cart-table--items td::before {
    content: attr(data-label);
    color: #697789;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-align: left;
    text-transform: uppercase;
  }

  .cart-table--items td:first-child {
    padding-bottom: 11px;
    display: block;
    color: var(--navy-900);
    font-size: 1rem;
    text-align: left;
  }

  .cart-table--items td:first-child::before {
    display: none;
  }

  .cart-table--items td:last-child .btn {
    min-height: 38px;
    padding-inline: 13px;
  }

  #checkoutForm .cart-table {
    min-width: 0;
  }

  .cart-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cart-actions .btn {
    width: 100%;
  }

  .product-main-image {
    height: 100vw;
  }

  .product-actions {
    display: grid;
  }

  .site-footer {
    padding-top: 45px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 25px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 400px) {
  .brand__wordmark small {
    display: none;
  }

  .home-hero__showcase {
    min-height: 550px;
  }

  .showcase-image {
    top: 272px;
  }

  .category-card {
    grid-template-columns: 43px minmax(0, 1fr) 18px;
    padding-inline: 14px;
  }

  .category-card__icon {
    width: 43px;
    height: 43px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
