/* ==========================================================================
   Senteks — brand layer on top of Bootstrap 5.3
   Only what Bootstrap cannot express with utilities lives here.
   ========================================================================== */

:root {
  --sx-maroon: #8C2138;
  --sx-maroon-deep: #712130;
  --sx-ink: #2A2929;
  --sx-black: #141313;
  --sx-line: #E6E3E3;
  --sx-line-dark: #302C2C;
  --sx-muted: #6B6767;
  --sx-muted-2: #8C8888;
  --sx-soft: #F4F2F2;
  --sx-tint: #FAF9F9;
  --sx-rose: #EBC7CD;
  --sx-rose-2: #F2DEE1;

  /* Bootstrap overrides */
  --bs-body-font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--sx-ink);
  --bs-body-bg: #fff;
  --bs-border-color: var(--sx-line);
  --bs-border-radius: 0;
  --bs-border-radius-sm: 0;
  --bs-border-radius-lg: 0;
  --bs-border-radius-xl: 0;
  /* Bootstrap 5.3 builds link colour from the -rgb triplet, not --bs-link-color.
     Setting only the latter leaves links at the UA default blue. */
  --bs-link-color: #8C2138;
  --bs-link-color-rgb: 140, 33, 56;
  --bs-link-hover-color: #712130;
  --bs-link-hover-color-rgb: 113, 33, 48;
  --bs-primary: #8C2138;
  --bs-primary-rgb: 140, 33, 56;
}

body {
  -webkit-font-smoothing: antialiased;
}

/* Bootstrap 5.3 underlines every link in Reboot. Opt out globally and
   re-enable per element with .text-decoration-underline where wanted. */
a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Container is capped at the prototype's 1280px shell */
.container {
  max-width: 1280px;
}

/* The prototype closed its content sections with a 90px tail before the next
   band or the footer. Bootstrap's p-5 tops out at 48px, so this fills the gap. */
.sx-tail {
  padding-bottom: 5.625rem;
}

/* --------------------------------------------------------------- Buttons */
.btn {
  --bs-btn-border-radius: 0;
  --bs-btn-font-weight: 700;
  --bs-btn-font-size: .875rem;
  letter-spacing: .04em;
}

.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--sx-maroon);
  --bs-btn-border-color: var(--sx-maroon);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--sx-maroon-deep);
  --bs-btn-hover-border-color: var(--sx-maroon-deep);
  --bs-btn-active-bg: var(--sx-maroon-deep);
  --bs-btn-active-border-color: var(--sx-maroon-deep);
  text-transform: uppercase;
}

.btn-brand-light {
  --bs-btn-color: var(--sx-maroon);
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: var(--sx-maroon-deep);
  --bs-btn-hover-bg: var(--sx-rose-2);
  --bs-btn-hover-border-color: var(--sx-rose-2);
  text-transform: uppercase;
}

.btn-outline-light-brand {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, .55);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgba(255, 255, 255, .12);
  --bs-btn-hover-border-color: #fff;
  --bs-btn-active-bg: rgba(255, 255, 255, .18);
  --bs-btn-active-border-color: #fff;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- Typography */
.sx-eyebrow {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sx-maroon);
}

.sx-eyebrow-light {
  color: var(--sx-rose);
}

.sx-rule {
  display: block;
  width: 46px;
  height: 2px;
  background: var(--sx-maroon);
  margin: .625rem 0 1rem;
}

.sx-title {
  font-size: clamp(1.6rem, 3.2vw, 2.125rem);
  font-weight: 400;
  margin: 0;
}

.sx-title strong {
  font-weight: 700;
  color: var(--sx-maroon);
}

.sx-lead {
  color: var(--sx-muted);
}

.text-muted-2 {
  color: var(--sx-muted-2) !important;
}

/* ------------------------------------------------------------------- Topbar */
.sx-topbar {
  background: var(--sx-maroon-deep);
  color: var(--sx-rose-2);
  font-size: .75rem;
  letter-spacing: .06em;
}

.sx-topbar a {
  color: var(--sx-rose-2);
  text-decoration: none;
}

.sx-topbar a:hover {
  color: #fff;
}

.sx-social-sm {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  transition: background .18s, color .18s;
}

.sx-social-sm:hover {
  background: #fff;
  color: var(--sx-maroon-deep) !important;
}

/* ------------------------------------------------------------------- Navbar */
.sx-navbar {
  border-bottom: 1px solid var(--sx-line);
  --bs-navbar-padding-y: 0;
}

.sx-navbar .navbar-brand img {
  height: 30px;
  width: auto;
  display: block;
}

.sx-navbar .nav-link {
  position: relative;
  font-size: .875rem;
  font-weight: 600;
  color: var(--sx-ink);
  padding: .75rem .8125rem;
}

.sx-navbar .nav-link:hover {
  color: var(--sx-maroon);
}

.sx-navbar .nav-link.active {
  color: var(--sx-maroon);
}

.sx-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: .9375rem;
  right: .9375rem;
  bottom: 0;
  height: 2px;
  background: var(--sx-maroon);
}

@media (min-width: 992px) {
  .sx-navbar-inner {
    height: 82px;
  }
}

/* --------------------------------------------------------------------- Hero */
.sx-hero {
  position: relative;
  overflow: hidden;
  background: var(--sx-maroon);
}

.sx-hero-pattern {
  position: absolute;
  inset: -200px;
  background-image: url("../img/senteks-pattern-tile.svg");
  background-size: 199px 200px;
  background-repeat: repeat;
  opacity: .17;
  animation: sx-drift 30s linear infinite;
}

.sx-hero-photo {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.sx-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: sx-kenburns 24s ease-in-out infinite alternate;
}

.sx-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(140, 33, 56, .55) 0%, rgba(140, 33, 56, 0) 40%);
}

@media (min-width: 992px) {
  .sx-hero-photo {
    min-height: 560px;
  }
}

.sx-hero h1 {
  font-size: clamp(2.25rem, 4.4vw, 3.25rem);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -.01em;
}

.sx-hero h1 span.sx-mask {
  display: block;
  overflow: hidden;
}

/* -------------------------------------------------------------- Page banner */
.sx-banner {
  position: relative;
  overflow: hidden;
  background: var(--sx-maroon);
  color: #fff;
}

.sx-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sx-maroon-deep);
  opacity: .55;
  -webkit-mask: url("../img/senteks-pattern-tile.svg") repeat;
  mask: url("../img/senteks-pattern-tile.svg") repeat;
  -webkit-mask-size: 199px 200px;
  mask-size: 199px 200px;
}

.sx-banner > .container {
  position: relative;
}

.sx-banner h1 {
  font-size: clamp(1.75rem, 3.6vw, 2.375rem);
  font-weight: 400;
  margin: 0;
}

.sx-banner h1 strong {
  font-weight: 700;
}

/* ------------------------------------------------------------------- Ticker */
.sx-ticker {
  background: var(--sx-black);
  color: #CFCACA;
  overflow: hidden;
  border-bottom: 1px solid var(--sx-line-dark);
}

.sx-ticker-track {
  display: flex;
  width: max-content;
  animation: sx-marquee 26s linear infinite;
}

.sx-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.625rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sx-ticker-dot {
  width: 5px;
  height: 5px;
  background: var(--sx-maroon);
  border-radius: 999px;
}

/* -------------------------------------------------------------- Category card */
.sx-cat-card {
  position: relative;
  display: block;
  overflow: hidden;
  height: 340px;
  background: #111;
  color: #fff;
  text-decoration: none;
}

.sx-cat-card:hover {
  color: #fff;
}

.sx-cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.2, 0, .2, 1);
}

.sx-cat-card:hover img {
  transform: scale(1.06);
}

.sx-cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 19, 19, .92) 8%, rgba(20, 19, 19, .15) 62%, rgba(20, 19, 19, .35) 100%);
}

.sx-cat-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem;
  z-index: 2;
}

.sx-cat-count {
  font-size: .6875rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #F6C6CF;
  font-weight: 700;
}

.sx-cat-name {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.24;
  margin-top: .5rem;
}

.sx-cat-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--sx-maroon);
  color: #fff;
  z-index: 2;
  transition: background .2s, color .2s;
}

.sx-cat-card:hover .sx-cat-arrow {
  background: #fff;
  color: var(--sx-maroon);
}

/* --------------------------------------------------------------- Product card */
.sx-product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--sx-line);
  color: var(--sx-ink);
  text-decoration: none;
  height: 100%;
}

/* Hover affordances apply only when the card is actually a link. */
.sx-product-card-link {
  transition: transform .3s cubic-bezier(.2, 0, .2, 1), border-color .2s;
}

/* Body fills the leftover space so every card in a row ends level,
   regardless of how many lines the title wraps to. */
.sx-product-body {
  flex: 1 1 auto;
}

.sx-product-card-link:hover {
  border-color: var(--sx-maroon);
  color: var(--sx-ink);
  transform: translateY(-5px);
}

.sx-product-media {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  background: #FCFCFC;
  overflow: hidden;
}

/* The supplied shots are NOT square — ratios run 1.01 to 1.32 — so `cover`
   would clip up to 24% off the wide ones (gloves, glasses, apron). `contain`
   shows all of every image; the letterboxing is invisible because the box
   background matches the shots' own near-white backdrop. */
.sx-product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.sx-code {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fff;
  border: 1px solid var(--sx-line);
  color: var(--sx-maroon);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 5px 9px;
}

.sx-product-name {
  font-size: .9375rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--sx-ink);
}

/* ---------------------------------------------------------- Garment type card */
.sx-type-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #111;
  color: #fff;
}

.sx-type-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sx-type-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 19, 19, .88) 4%, rgba(20, 19, 19, .1) 58%, rgba(20, 19, 19, .3) 100%);
}

.sx-type-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.375rem;
  z-index: 2;
}

.sx-type-name {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.28;
}

/* --------------------------------------------------------------- PDF & map */
.sx-pdf-icon {
  color: var(--sx-maroon);
  font-size: 1rem;
}

/* Bootstrap Icons declares line-height on .bi::before, not .bi, so the <i>
   inherits the body's 1.5 and computes taller than the 21px text line box.
   In the flex nav link that makes the link taller and centres the label a
   pixel or two below its neighbours. Pin the icon's own line box instead. */
.sx-navbar .nav-link .bi {
  line-height: 1;
}

.sx-map {
  border: 1px solid var(--sx-line);
  background: var(--sx-soft);
}

.sx-map iframe {
  border: 0;
  display: block;
  filter: grayscale(.15);
}

@media (max-width: 767.98px) {
  /* 21:9 is too letterboxed on phones */
  .sx-map {
    --bs-aspect-ratio: 90%;
  }
}

/* ------------------------------------------------------------------ Carousel */
.sx-carousel-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--sx-line);
  background: #fff;
  color: var(--sx-maroon);
  font-size: 1rem;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}

.sx-carousel-btn:hover {
  background: var(--sx-maroon);
  border-color: var(--sx-maroon);
  color: #fff;
}

.sx-carousel-btn:focus-visible {
  outline: 2px solid var(--sx-maroon);
  outline-offset: 2px;
}

/* Indicators sit below the track rather than over it, since the slides
   are white product cards and not photography. */
.sx-carousel-indicators {
  position: static;
  margin: 1.5rem 0 0;
  justify-content: center;
}

.sx-carousel-indicators [data-bs-target] {
  width: 28px;
  height: 3px;
  background: #CFCACA;
  border: 0;
  opacity: 1;
  margin: 0 4px;
}

.sx-carousel-indicators .active {
  background: var(--sx-maroon);
}

/* Cards inside a carousel-item need a definite row height to line up */
.carousel-item .row {
  align-items: stretch;
}

/* ------------------------------------------------------------------ Swatches */
.sx-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid #CFCACA;
  display: inline-block;
}

.sx-swatch-btn {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid #CFCACA;
  cursor: pointer;
  padding: 0;
  outline-offset: 2px;
}

.sx-swatch-btn[aria-pressed="true"] {
  outline: 2px solid var(--sx-maroon);
}

.sx-color-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--sx-line);
  padding: 6px 12px 6px 8px;
  font-size: .8125rem;
}

/* --------------------------------------------------------------------- Chips */
.sx-chip {
  border: 1px solid #CFCACA;
  background: #fff;
  color: var(--sx-ink);
  padding: 9px 15px;
  font-size: .8125rem;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

.sx-chip:hover {
  border-color: var(--sx-maroon);
  color: var(--sx-maroon);
}

.sx-chip.active {
  background: var(--sx-maroon);
  border-color: var(--sx-maroon);
  color: #fff;
}

/* ------------------------------------------------------- Product detail page */
.sx-detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  background: var(--sx-soft);
}

.sx-detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sx-detail-wedge {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  color: #fff;
}

.sx-detail-wedge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.sx-detail-wedge-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.125rem 1.75rem;
  background: var(--sx-maroon);
}

@media (min-width: 768px) {
  .sx-detail-wedge {
    width: 60%;
  }

  .sx-detail-wedge-inner {
    background: transparent;
    padding-left: 27%;
  }
}

@media (min-width: 1200px) {
  .sx-detail-wedge {
    width: 46%;
  }
}

.sx-detail-name {
  font-size: 1.625rem;
  font-weight: 400;
  margin-top: .5rem;
}

.sx-detail-name strong {
  font-weight: 700;
}

.sx-gallery-main {
  border: 1px solid var(--sx-line);
  background: var(--sx-tint);
  padding: 1.875rem;
  height: 480px;
}

.sx-gallery-main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 20px 20px rgba(42, 41, 41, .2));
}

.sx-thumb {
  width: 92px;
  height: 92px;
  background: var(--sx-tint);
  border: 1px solid var(--sx-line);
  padding: 8px;
  cursor: pointer;
}

.sx-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.sx-thumb[aria-pressed="true"] {
  border-color: var(--sx-maroon);
}

.sx-spec-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  padding: .875rem 0;
  border-bottom: 1px solid var(--sx-line);
  font-size: .875rem;
}

.sx-spec-row dt {
  font-weight: 700;
  color: var(--sx-ink);
}

.sx-spec-row dd {
  margin: 0;
  color: #4A4747;
  line-height: 1.55;
}

/* --------------------------------------------------------------- Stats strip */
.sx-dark {
  background: var(--sx-black);
  color: #fff;
}

.sx-stat-n {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.sx-stat-suffix {
  font-size: .9375rem;
  font-weight: 600;
  color: #E6A6B1;
}

.sx-stat-label {
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9B9595;
  font-weight: 600;
}

.sx-stat-note {
  font-size: .8125rem;
  color: #B9B2B2;
  line-height: 1.5;
}

.sx-cap-n {
  font-size: .6875rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sx-maroon);
  font-weight: 800;
}

/* -------------------------------------------------------------------- Footer */
.sx-footer {
  background: var(--sx-black);
  color: #DAD5D2;
}

.sx-footer a {
  color: #DAD5D2;
  text-decoration: none;
}

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

.sx-footer-top {
  border-top: 1px solid var(--sx-line-dark);
}

.sx-footer-label {
  font-size: .6875rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sx-maroon);
  font-weight: 800;
}

.sx-social {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--sx-line-dark);
  font-size: 1rem;
  transition: background .18s, color .18s, border-color .18s;
}

.sx-social:hover {
  background: var(--sx-maroon);
  border-color: var(--sx-maroon);
  color: #fff;
}

/* --------------------------------------------------------------------- Forms */
.form-control,
.form-select {
  border-radius: 0;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--sx-maroon);
  box-shadow: 0 0 0 .2rem rgba(140, 33, 56, .12);
}

.sx-field-label {
  font-size: .8125rem;
  font-weight: 600;
  margin-bottom: .4375rem;
}

.sx-color-choice {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid #CFCACA;
  background: #fff;
  padding: 7px 13px 7px 9px;
  font-size: .8125rem;
  font-weight: 500;
  cursor: pointer;
}

.sx-color-choice[aria-pressed="true"] {
  border-color: var(--sx-maroon);
  background: #FBF1F2;
}

/* ---------------------------------------------------------------- Animations */
@keyframes sx-drift {
  from { background-position: 0 0; }
  to   { background-position: 398px 400px; }
}

@keyframes sx-rise {
  from { transform: translateY(112%); }
  to   { transform: translateY(0); }
}

@keyframes sx-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes sx-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes sx-kenburns {
  0%   { transform: scale(1.04); }
  100% { transform: scale(1.15); }
}

@keyframes sx-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.sx-anim-rise > span {
  display: block;
  animation: sx-rise .8s cubic-bezier(.16, 1, .3, 1) both;
}

.sx-anim-up {
  animation: sx-fade-up .8s cubic-bezier(.2, 0, .2, 1) both;
}

.sx-anim-grow {
  transform-origin: left;
  animation: sx-grow .8s cubic-bezier(.2, 0, .2, 1) both;
}

.sx-d1 { animation-delay: .12s; }
.sx-d2 { animation-delay: .24s; }
.sx-d3 { animation-delay: .36s; }
.sx-d4 { animation-delay: .52s; }
.sx-d5 { animation-delay: .64s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* --------------------------------------------------------------- Contact page */
.sx-contact-ico {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--sx-maroon);
  color: #fff;
  font-size: .9375rem;
}

/* Explicit class rather than :has() so styling never depends on selector
   support, and never falls back to the default blue underlined link. */
.sx-contact-link {
  color: var(--sx-ink);
  text-decoration: none;
}

.sx-contact-link:hover {
  color: var(--sx-maroon);
}

.sx-link-plain,
.sx-link-plain:hover {
  color: var(--sx-maroon);
  text-decoration: none;
}

/* ------------------------------------------------------------------ About page */
.sx-about-photo {
  height: 420px;
  object-fit: cover;
  display: block;
}
