:root {
  --black: #050505;
  --panel: #0d0d0f;
  --line: #242428;
  --text: #f5f5f0;
  --muted: #9d9d96;
  --red: #e31322;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, .48) 0%, rgba(5, 5, 5, .26) 48%, rgba(5, 5, 5, .12) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, .16) 0%, rgba(5, 5, 5, .38) 100%),
    url("/generated/training-shoot-house-background-v2.webp") center top / cover fixed no-repeat,
    var(--black);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  animation: siteFadeIn .9s ease-out both;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .24;
}

.home-intro-fade {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background: #000;
  animation: homeIntroFade 2.4s ease-out .25s forwards;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
  min-height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(0, 0, 0, .28);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.brand img {
  display: block;
  width: min(300px, 48vw);
  height: auto;
}

nav {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  min-width: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
}

nav a {
  color: var(--muted);
}

nav a:hover {
  color: var(--text);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 18px 80px;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: min(1120px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 26px 18px 34px;
  color: rgba(170, 170, 162, .78);
  border-top: 1px solid rgba(255, 255, 255, .075);
  background:
    linear-gradient(90deg, transparent, rgba(227, 19, 34, .08), transparent),
    rgba(0, 0, 0, .18);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  color: rgba(245, 245, 240, .9);
  background: rgba(0, 0, 0, .34);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 6px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-credit:hover {
  color: #fff;
  border-color: rgba(227, 19, 34, .55);
  box-shadow: 0 0 18px rgba(227, 19, 34, .14);
}

.site-footer small {
  color: rgba(140, 140, 134, .72);
  font-size: 12px;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto auto;
  gap: 14px;
  align-items: center;
  width: min(1040px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 16px;
  color: rgba(245, 245, 240, .94);
  background:
    radial-gradient(circle at 0% 0%, rgba(227, 19, 34, .12), transparent 42%),
    rgba(5, 5, 5, .92);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .58);
  backdrop-filter: blur(14px);
}

.cookie-copy {
  display: grid;
  gap: 4px;
}

.cookie-copy strong {
  color: #fff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cookie-copy p {
  margin: 0;
  color: rgba(200, 200, 192, .86);
  font-size: 13px;
  line-height: 1.4;
}

.cookie-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  color: rgba(245, 245, 240, .9);
  background: rgba(0, 0, 0, .34);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 6px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.cookie-toggle input {
  accent-color: var(--red);
}

.cookie-toggle.is-required {
  color: rgba(190, 190, 184, .82);
}

.cookie-actions {
  display: inline-flex;
  gap: 8px;
}

.cookie-actions button {
  min-height: 38px;
  padding: 0 14px;
  color: #fff;
  background: rgba(0, 0, 0, .36);
  border: 1px solid rgba(255, 255, 255, .12);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.cookie-actions .cookie-accept {
  background: rgba(227, 19, 34, .84);
}

.cookie-actions button:hover {
  border-color: rgba(227, 19, 34, .7);
  box-shadow: 0 0 18px rgba(227, 19, 34, .16);
}

@keyframes siteFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes homeIntroFade {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.logo-video-stage {
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: clamp(18px, 3vw, 34px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(16px, 3vw, 34px) 0 clamp(18px, 3vw, 34px);
}

.logo-stage,
.hero-content-grid {
  width: min(1360px, calc(100vw - clamp(28px, 4vw, 64px)));
}

.hero-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(24px, 3vw, 46px);
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(24px, 3.2vw, 44px);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .035), transparent 28%),
    linear-gradient(180deg, rgba(6, 6, 7, .68), rgba(0, 0, 0, .48));
  border: 1px solid rgba(255, 255, 255, .08);
  outline: 1px solid rgba(0, 0, 0, .78);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, .58),
    inset 0 1px 0 rgba(255, 255, 255, .05);
  backdrop-filter: blur(3px);
}

.hero-content-grid > h1 {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  margin: 0;
  transform: none;
  padding-inline: 0;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(42px, 5vw, 72px);
}

.hero-social-media {
  display: grid;
  align-content: center;
  justify-self: center;
  gap: 14px;
  width: 100%;
  max-width: 640px;
  min-width: 0;
}

.logo-stage {
  display: grid;
  justify-items: center;
  position: relative;
}

.logo-stage img {
  position: relative;
  width: min(900px, 88vw);
  height: auto;
  display: block;
  border-radius: 14px;
  opacity: 1;
  mix-blend-mode: normal;
  border: 0;
  filter:
    drop-shadow(0 0 2px rgba(0, 0, 0, 1))
    drop-shadow(0 0 5px rgba(0, 0, 0, .98))
    drop-shadow(0 0 10px rgba(0, 0, 0, .92))
    drop-shadow(0 18px 42px rgba(0, 0, 0, .74));
  background: transparent;
  transition: transform .28s ease;
}

.logo-stage:hover img {
  transform: translateY(-1px);
}

.hero-copy {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 640px;
  text-align: left;
  padding: clamp(24px, 3vw, 38px) clamp(24px, 3.2vw, 46px);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 0%, rgba(227, 19, 34, .12), transparent 34%),
    linear-gradient(180deg, rgba(12, 12, 13, .68), rgba(0, 0, 0, .5));
  border: 1px solid rgba(255, 255, 255, .07);
  outline: 1px solid rgba(0, 0, 0, .74);
  box-shadow:
    0 18px 54px rgba(0, 0, 0, .44),
    inset 0 1px 0 rgba(255, 255, 255, .035);
  text-shadow: 0 3px 22px rgba(0, 0, 0, .85);
}

.hero-copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(24px, 3.2vw, 46px);
  right: clamp(24px, 3.2vw, 46px);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(227, 19, 34, .9), transparent);
  box-shadow: 0 0 18px rgba(227, 19, 34, .45);
}

.kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(44px, 5.25vw, 78px);
  line-height: .92;
  text-transform: uppercase;
}

.hero-copy p {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(245, 245, 240, .86);
  font-size: clamp(16px, 1.16vw, 18px);
  line-height: 1.6;
}

.hero-copy .hero-lead {
  margin-top: clamp(14px, 1.8vw, 22px);
  color: rgba(255, 255, 250, .96);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: .6px;
  text-align: center;
  text-transform: uppercase;
}

.red-divider {
  width: min(820px, 82vw);
  height: 2px;
  margin: 0 auto clamp(24px, 4vw, 42px);
  background: linear-gradient(90deg, transparent 0%, rgba(227, 19, 34, .25) 18%, rgba(255, 38, 52, 1) 50%, rgba(227, 19, 34, .25) 82%, transparent 100%);
  box-shadow:
    0 0 12px rgba(227, 19, 34, .72),
    0 0 34px rgba(227, 19, 34, .46);
}

.red-divider-secondary {
  width: min(700px, 76vw);
  margin-top: 0;
  margin-bottom: clamp(30px, 4vw, 54px);
}

.red-divider-gallery {
  width: min(760px, 78vw);
  margin-top: 0;
  margin-bottom: clamp(36px, 5vw, 70px);
}

.red-divider-formations {
  width: min(820px, 82vw);
  margin-top: clamp(10px, 2vw, 22px);
  margin-bottom: clamp(34px, 5vw, 64px);
}

.red-divider-shop {
  width: min(820px, 82vw);
  margin-top: clamp(4px, 1vw, 14px);
  margin-bottom: clamp(34px, 5vw, 64px);
}

.quick-links-section {
  width: min(1120px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
  margin: 0 auto clamp(46px, 6vw, 84px);
}

.home-main {
  padding-bottom: 30px;
}

.home-main .quick-links-section {
  margin-bottom: clamp(20px, 3vw, 34px);
}

.partners-section {
  width: min(1120px, calc(100vw - 36px));
  margin: 0 auto clamp(34px, 5vw, 62px);
  overflow: hidden;
  overflow: clip;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .08), #000 16%, #000 84%, rgba(0, 0, 0, .08));
}

.partners-carousel {
  padding: 10px 0 18px;
}

.partners-track {
  display: flex;
  width: max-content;
  gap: clamp(14px, 2vw, 22px);
  animation: imageScroll 58s linear infinite;
}

.partners-section:hover .partners-track {
  animation-play-state: paused;
}

.partner-card {
  flex: 0 0 clamp(260px, 28vw, 340px);
  display: grid;
  grid-template-rows: 170px 1fr;
  gap: 14px;
  padding: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(227, 19, 34, .12), transparent 44%),
    linear-gradient(180deg, rgba(8, 8, 9, .72), rgba(0, 0, 0, .58));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .42);
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.partner-card:hover {
  transform: translateY(-3px);
  border-color: rgba(227, 19, 34, .32);
  box-shadow: 0 28px 82px rgba(0, 0, 0, .52);
}

.partner-image {
  display: grid;
  place-items: center;
  height: 170px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .08), transparent 34%),
    radial-gradient(circle at 50% 50%, rgba(227, 19, 34, .16), transparent 42%),
    rgba(8, 8, 9, .84);
  border: 1px solid rgba(255, 255, 255, .1);
}

.partner-image img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  padding: 0;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .42));
  transition: transform .3s ease, filter .3s ease;
}

.partner-faird .partner-image img {
  width: 70%;
  height: 70%;
}

.partner-mission .partner-image img {
  width: 82%;
  height: 82%;
  object-position: 50% 52%;
}

.partner-goweb .partner-image img {
  width: 88%;
  height: 72%;
  object-position: 50% 50%;
}

.partner-card:hover .partner-image img {
  transform: scale(1.04);
}

.partner-card p {
  margin: 0;
  color: rgba(245, 245, 240, .74);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.quick-link-card {
  display: grid;
  justify-items: center;
  grid-template-rows: 118px auto;
  gap: 16px;
  min-height: 178px;
  align-content: start;
  padding: clamp(18px, 2.4vw, 28px);
  color: rgba(245, 245, 240, .94);
  background:
    radial-gradient(circle at 50% 0%, rgba(227, 19, 34, .11), transparent 46%),
    linear-gradient(180deg, rgba(8, 8, 9, .7), rgba(0, 0, 0, .52));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  outline: 1px solid rgba(0, 0, 0, .72);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, .44),
    inset 0 1px 0 rgba(255, 255, 255, .04);
  text-align: center;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

button.quick-link-card {
  font: inherit;
}

.quick-link-icon {
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  align-self: end;
}

.quick-link-icon img {
  width: clamp(74px, 8vw, 118px);
  height: 118px;
  object-fit: contain;
  filter:
    drop-shadow(0 18px 22px rgba(0, 0, 0, .58))
    drop-shadow(0 0 18px rgba(227, 19, 34, .18));
  transition: transform .25s ease, filter .25s ease;
}

.quick-link-card:nth-child(3) .quick-link-icon img,
.quick-link-card:nth-child(4) .quick-link-icon img {
  transform: translateY(-14px);
}

.quick-link-card span {
  color: rgba(180, 180, 172, .9);
  font-size: 14px;
  line-height: 1.35;
}

.quick-link-card strong {
  color: #fff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: .95;
  max-width: 10ch;
  text-transform: uppercase;
}

.quick-link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 19, 34, .7);
  box-shadow:
    0 26px 78px rgba(0, 0, 0, .52),
    0 0 28px rgba(227, 19, 34, .18),
    inset 0 1px 0 rgba(255, 255, 255, .05);
}

.quick-link-card:hover .quick-link-icon img {
  transform: translateY(-3px) scale(1.04);
  filter:
    drop-shadow(0 22px 28px rgba(0, 0, 0, .68))
    drop-shadow(0 0 24px rgba(227, 19, 34, .28));
}

.quick-link-card:nth-child(3):hover .quick-link-icon img,
.quick-link-card:nth-child(4):hover .quick-link-icon img {
  transform: translateY(-17px) scale(1.04);
}

.trainers-section {
  max-width: 1120px;
  margin: 0 auto clamp(38px, 5vw, 70px);
}

.trainers-page-section {
  margin-top: clamp(28px, 4vw, 58px);
}

.trainers-section h2 {
  margin: 0 0 clamp(18px, 3vw, 30px);
  color: var(--text);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(42px, 5vw, 74px);
  line-height: .95;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .85);
}

.trainer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 42px);
  align-items: stretch;
}

.trainer-profile {
  display: grid;
  min-width: 0;
}

.trainer-card {
  position: relative;
  overflow: hidden;
  height: clamp(520px, 46vw, 680px);
  border-radius: 18px;
  background: #050505;
  border: 5px solid rgba(0, 0, 0, .94);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, .72),
    inset 0 0 0 1px rgba(255, 255, 255, .04);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.trainer-card::after {
  content: attr(data-name);
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  color: #fff;
  background: rgba(0, 0, 0, .34);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(38px, 4.2vw, 62px);
  font-weight: 800;
  line-height: .95;
  text-align: center;
  text-transform: uppercase;
  text-shadow:
    0 4px 22px rgba(0, 0, 0, .95),
    0 0 16px rgba(227, 19, 34, .42);
  transition: opacity .28s ease;
}

.trainer-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 19, 34, .72);
  box-shadow:
    0 28px 78px rgba(0, 0, 0, .78),
    0 0 18px rgba(227, 19, 34, .62),
    0 0 46px rgba(227, 19, 34, .44),
    0 0 86px rgba(227, 19, 34, .22),
    inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.trainer-card:hover::after {
  opacity: 1;
}

.trainer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.04) saturate(.94) brightness(.88);
  transition: transform .28s ease, filter .28s ease;
}

.trainer-card:hover img {
  transform: scale(1.025);
  filter: contrast(1.07) saturate(.98) brightness(.72);
}

.trainer-sam {
  object-position: 50% 20%;
  transform: scaleX(-1);
}

.trainer-card:hover .trainer-sam {
  transform: scaleX(-1) scale(1.025);
}

.trainer-jo {
  object-position: 50% 8%;
}

.credentials-section {
  max-width: 1120px;
  margin: clamp(28px, 4vw, 52px) auto clamp(42px, 5vw, 76px);
  padding: clamp(22px, 3.5vw, 42px);
  border-radius: 12px;
  background: rgba(5, 5, 5, .44);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 26px 72px rgba(0, 0, 0, .46);
}

.credentials-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  margin-bottom: clamp(20px, 3vw, 34px);
}

.credentials-copy p {
  margin: 0;
  color: rgba(245, 245, 240, .88);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
}

.credentials-list h3 {
  margin: 0 0 16px;
  color: var(--text);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(30px, 3.3vw, 48px);
  line-height: .95;
  text-transform: uppercase;
}

.credentials-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credentials-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(220, 220, 214, .84);
  line-height: 1.48;
}

.credentials-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 9px;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 10px rgba(227, 19, 34, .55);
}

.image-bank {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto clamp(42px, 5vw, 76px);
  overflow: hidden;
  overflow: clip;
  padding: 8px 0 22px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .68) 14%, black 30%, black 70%, rgba(0, 0, 0, .68) 86%, rgba(0, 0, 0, .18) 100%);
}

.image-bank-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: imageScroll 116s linear infinite;
}

.image-bank:hover .image-bank-track {
  animation-play-state: paused;
}

.image-bank-card {
  position: relative;
  flex: 0 0 min(520px, 70vw);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  padding: 0;
  background: #050505;
  cursor: pointer;
  box-shadow: 0 22px 64px rgba(0, 0, 0, .54);
}

.image-bank-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  display: block;
  filter: brightness(.82) contrast(1.04) saturate(.92);
  transition: transform .3s ease, filter .3s ease;
}

.image-bank-card:hover img {
  transform: scale(1.035);
  filter: brightness(.94) contrast(1.08) saturate(1);
}

.image-bank-card span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  max-width: min(78%, 300px);
  padding: 10px 12px;
  color: rgba(245, 245, 240, .92);
  background: rgba(0, 0, 0, .68);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

.about-company-section {
  max-width: 1120px;
  margin: clamp(12px, 2vw, 26px) auto clamp(42px, 5vw, 76px);
  padding: clamp(24px, 3.6vw, 46px);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .035), transparent 28%),
    linear-gradient(180deg, rgba(6, 6, 7, .68), rgba(0, 0, 0, .5));
  border: 1px solid rgba(255, 255, 255, .08);
  outline: 1px solid rgba(0, 0, 0, .78);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, .58),
    inset 0 1px 0 rgba(255, 255, 255, .05);
  backdrop-filter: blur(3px);
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 800;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
}

.about-company-section h2 {
  margin: 0 0 clamp(22px, 3vw, 34px);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(44px, 5vw, 74px);
  line-height: .95;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .85);
}

.about-company-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.about-company-card {
  padding: clamp(18px, 2.5vw, 28px);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 0%, rgba(227, 19, 34, .09), transparent 42%),
    rgba(3, 3, 4, .58);
  border: 1px solid rgba(255, 255, 255, .075);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .36);
}

.about-company-card-wide {
  grid-column: 1 / -1;
}

.about-company-logo-card {
  display: grid;
  place-items: center;
  min-height: 260px;
  overflow: hidden;
  padding: 0;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 50%, rgba(227, 19, 34, .12), transparent 46%),
    linear-gradient(180deg, rgba(10, 10, 11, .62), rgba(0, 0, 0, .48));
  border: 1px solid rgba(255, 255, 255, .075);
  box-shadow:
    0 18px 54px rgba(0, 0, 0, .36),
    inset 0 1px 0 rgba(255, 255, 255, .035);
}

.about-company-logo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center;
  filter:
    drop-shadow(0 0 2px rgba(0, 0, 0, 1))
    drop-shadow(0 0 9px rgba(0, 0, 0, .95))
    drop-shadow(0 16px 34px rgba(0, 0, 0, .66));
  opacity: .9;
}

.about-company-card h3 {
  margin: 0 0 12px;
  color: var(--red);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.about-company-card p {
  margin: 0;
  color: rgba(245, 245, 240, .86);
  font-size: clamp(15px, 1.14vw, 17px);
  line-height: 1.62;
}

.about-company-card p + p {
  margin-top: 12px;
}

@keyframes imageScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 54px);
  background: rgba(0, 0, 0, .86);
  backdrop-filter: blur(8px);
}

.lightbox.is-open {
  display: flex;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox-figure {
  position: relative;
  max-width: min(94vw, 1380px);
  max-height: 88vh;
  margin: 0;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, .82);
}

.lightbox-figure figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  max-width: min(520px, calc(100% - 32px));
  padding: 12px 14px;
  color: rgba(245, 245, 240, .94);
  background: rgba(0, 0, 0, .72);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  line-height: 1.4;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  z-index: 101;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, .46);
  cursor: pointer;
}

.lightbox-close {
  top: 22px;
  right: 24px;
  width: 48px;
  height: 48px;
  font-size: 38px;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  width: 54px;
  height: 78px;
  transform: translateY(-50%);
  font-size: 56px;
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(227, 19, 34, .62);
}

.event-section {
  max-width: 1120px;
  margin: 0 auto clamp(46px, 6vw, 84px);
}

.event-page-section {
  margin-top: clamp(34px, 5vw, 72px);
}

.events-dashboard {
  width: min(1240px, calc(100vw - clamp(32px, 5vw, 78px)));
  max-width: none;
  margin-inline: auto;
}

.events-dashboard-header {
  margin-bottom: clamp(26px, 3.6vw, 44px);
  text-align: center;
}

.events-dashboard-header h1,
.event-upcoming-heading h2 {
  margin: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(48px, 5vw, 78px);
  line-height: .92;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .85);
}

.events-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(560px, 1.1fr);
  gap: clamp(22px, 3.2vw, 40px);
  align-items: stretch;
}

.event-summary-card,
.event-calendar-card,
.event-upcoming,
.event-modal-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .035), transparent 28%),
    linear-gradient(180deg, rgba(6, 6, 7, .7), rgba(0, 0, 0, .52));
  border: 1px solid rgba(255, 255, 255, .08);
  outline: 1px solid rgba(0, 0, 0, .78);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, .58),
    inset 0 1px 0 rgba(255, 255, 255, .05);
  backdrop-filter: blur(3px);
}

.event-summary-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: end;
  min-height: 100%;
  padding: clamp(22px, 2.8vw, 32px);
  border-radius: 14px;
}

.event-summary-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: brightness(.82) contrast(1.06) saturate(.94);
}

.event-summary-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 36%, rgba(0, 0, 0, .78) 100%);
}

.event-summary-card .event-more {
  position: relative;
  z-index: 1;
  justify-self: center;
}

.event-summary-card dl {
  display: grid;
  gap: 22px;
  margin: 10px 0 0;
}

.event-summary-card dt {
  color: var(--red);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: 1.4px;
  line-height: 1;
  text-transform: uppercase;
}

.event-summary-card dd {
  margin: 8px 0 0;
  color: rgba(245, 245, 240, .9);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 700;
  line-height: 1.35;
}

.event-calendar-card {
  position: relative;
  padding: clamp(22px, 2.8vw, 34px);
  border-radius: 14px;
}

.event-calendar-top {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.event-calendar-top div {
  display: grid;
  justify-items: center;
  color: rgba(245, 245, 240, .96);
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}

.event-calendar-top span {
  color: var(--red);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
}

.event-calendar-top strong {
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: .95;
}

.calendar-nav {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(245, 245, 240, .9);
  background: rgba(0, 0, 0, .4);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.event-calendar-weekdays,
.event-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(7px, .8vw, 10px);
}

.event-calendar-weekdays {
  margin-bottom: 8px;
  color: rgba(165, 165, 158, .82);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

.event-calendar-grid button,
.calendar-empty {
  aspect-ratio: 1;
}

.calendar-empty {
  visibility: hidden;
}

.event-calendar-grid button {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .075);
  color: rgba(225, 225, 219, .78);
  background: rgba(0, 0, 0, .32);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(19px, 2vw, 27px);
  font-weight: 800;
  cursor: pointer;
}

.event-calendar-grid button:disabled {
  cursor: not-allowed;
  opacity: .72;
}

.event-calendar-grid button:disabled:hover {
  color: rgba(225, 225, 219, .78);
  border-color: rgba(255, 255, 255, .075);
  background: rgba(0, 0, 0, .32);
  box-shadow: none;
}

.event-calendar-grid button:hover,
.event-calendar-grid .is-selected {
  color: #fff;
  border-color: rgba(227, 19, 34, .9);
  background: rgba(227, 19, 34, .22);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .06),
    0 0 24px rgba(227, 19, 34, .24);
}

.event-calendar-grid .is-today {
  outline: 1px solid rgba(255, 255, 255, .28);
  outline-offset: -3px;
}

.event-calendar-grid .is-unavailable {
  position: relative;
  color: rgba(150, 150, 144, .54);
  background: rgba(0, 0, 0, .24);
}

.event-calendar-grid .is-unavailable::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 50%;
  height: 2px;
  transform: rotate(-18deg);
  background: rgba(227, 19, 34, .95);
  box-shadow: 0 0 10px rgba(227, 19, 34, .75);
}

.event-calendar-grid .is-unavailable:hover,
.event-calendar-grid .is-unavailable.is-selected {
  color: rgba(235, 235, 228, .74);
  background: rgba(227, 19, 34, .1);
}

.reservation-menu {
  display: grid;
  gap: 14px;
  padding: clamp(16px, 2.2vw, 24px);
  border-radius: 10px;
  background: rgba(0, 0, 0, .46);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .035),
    0 18px 54px rgba(0, 0, 0, .34);
}

.reservation-date {
  margin: 0;
  color: rgba(245, 245, 240, .94);
  font-weight: 800;
  line-height: 1.45;
}

.reservation-menu label {
  display: grid;
  gap: 7px;
}

.reservation-actions {
  display: grid;
  gap: 14px;
}

.reservation-actions.is-disabled {
  opacity: .46;
  filter: grayscale(.7);
  pointer-events: none;
  text-decoration: line-through;
  text-decoration-color: rgba(227, 19, 34, .95);
  text-decoration-thickness: 2px;
}

.reservation-menu label span,
.reservation-note {
  color: rgba(185, 185, 178, .9);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.reservation-menu select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: rgba(245, 245, 240, .94);
  background: rgba(8, 8, 9, .88);
  border: 1px solid rgba(255, 255, 255, .14);
  font: inherit;
}

.reservation-note {
  margin: 0;
  color: rgba(227, 19, 34, .92);
  letter-spacing: .8px;
}

.reservation-confirm {
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  background: rgba(227, 19, 34, .86);
  border: 1px solid rgba(255, 255, 255, .12);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.event-upcoming {
  margin-top: clamp(76px, 8vw, 128px);
  padding: clamp(26px, 3.4vw, 42px);
  border-radius: 14px;
}

.event-upcoming.formations-section {
  max-width: none;
  margin: clamp(34px, 4vw, 58px) 0 0;
}

.event-upcoming .formation-grid {
  gap: clamp(18px, 2.4vw, 28px);
}

.event-upcoming-heading {
  margin-bottom: clamp(22px, 3vw, 34px);
  text-align: center;
}

.event-poster-card {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 5px solid rgba(0, 0, 0, .92);
  border-radius: 16px;
  background: #050505;
  cursor: pointer;
  box-shadow: 0 28px 84px rgba(0, 0, 0, .62);
}

.event-poster-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  filter: brightness(.82) contrast(1.06) saturate(.96);
  transition: transform .3s ease, filter .3s ease;
}

.event-poster-card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  color: #fff;
  background: rgba(0, 0, 0, .68);
  border: 1px solid rgba(255, 255, 255, .1);
  text-align: left;
}

.event-poster-card strong {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(26px, 3vw, 42px);
  line-height: .95;
  text-transform: uppercase;
}

.event-poster-card small {
  color: rgba(235, 235, 228, .82);
  font-size: 14px;
  text-transform: uppercase;
}

.event-poster-card:hover img {
  transform: scale(1.025);
  filter: brightness(.94) contrast(1.08) saturate(1);
}

.event-feature {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(420px, 1.18fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
}

.event-copy {
  justify-self: start;
  max-width: 460px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 12px;
  background: rgba(5, 5, 5, .46);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .48);
  text-align: center;
}

.event-kicker {
  margin: 0 0 10px;
  color: var(--red);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.event-copy h2 {
  margin: 0 0 18px;
  color: var(--text);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(48px, 5vw, 78px);
  line-height: .9;
  text-transform: uppercase;
}

.event-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 18px;
  color: rgba(245, 245, 240, .92);
  font-weight: 700;
}

.event-date span {
  color: rgba(190, 190, 184, .78);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 18px;
  text-transform: uppercase;
}

.event-copy p:last-child {
  margin: 0;
  color: rgba(230, 230, 224, .86);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.45;
}

.event-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  background: rgba(227, 19, 34, .84);
  border: 1px solid rgba(255, 255, 255, .12);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .34);
}

.event-more:hover {
  background: var(--red);
  box-shadow: 0 0 24px rgba(227, 19, 34, .36);
}

.event-image {
  overflow: hidden;
  border-radius: 16px;
  border: 5px solid rgba(0, 0, 0, .92);
  background: #050505;
  box-shadow: 0 28px 84px rgba(0, 0, 0, .62);
}

.event-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: brightness(.9) contrast(1.05) saturate(.96);
}

.event-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(20px, 3vw, 34px);
}

.detail-card,
.detail-list {
  background: rgba(5, 5, 5, .46);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, .34);
}

.detail-card {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
}

.detail-card span,
.detail-list h3 {
  color: var(--red);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.detail-card strong {
  color: rgba(245, 245, 240, .94);
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.25;
}

.detail-list {
  padding: 20px;
}

.detail-list h3 {
  margin: 0 0 12px;
}

.detail-list ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 20px;
  color: rgba(225, 225, 219, .88);
  line-height: 1.45;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 10px rgba(227, 19, 34, .5);
}

.course-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(8px);
}

.course-modal.is-open {
  display: flex;
}

.course-modal-panel {
  position: relative;
  width: min(860px, 94vw);
  max-height: 86vh;
  overflow: auto;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 14px;
  background: rgba(7, 7, 8, .94);
  border: 1px solid rgba(227, 19, 34, .32);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, .82),
    0 0 42px rgba(227, 19, 34, .18);
}

.course-modal-panel h2 {
  margin: 0 0 22px;
  color: var(--text);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .9;
  text-transform: uppercase;
}

.course-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  color: #fff;
  background: rgba(0, 0, 0, .46);
  border: 0;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.course-modal-close:hover {
  background: rgba(227, 19, 34, .62);
}

.course-modules {
  columns: 2;
  column-gap: clamp(24px, 4vw, 52px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-modules li {
  break-inside: avoid;
  position: relative;
  margin: 0 0 11px;
  padding-left: 22px;
  color: rgba(230, 230, 224, .9);
  line-height: 1.42;
}

.course-modules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 9px;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 10px rgba(227, 19, 34, .52);
}

.formations-section {
  max-width: 1120px;
  margin: 0 auto clamp(48px, 6vw, 88px);
}

.formations-section h2 {
  margin: 0 0 clamp(22px, 3vw, 36px);
  color: var(--text);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(44px, 5vw, 78px);
  line-height: .92;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .85);
}

.formations-section h2 span {
  display: block;
  margin-top: 8px;
  color: rgba(190, 190, 184, .78);
  font-size: .55em;
  letter-spacing: 2px;
}

.formation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.formation-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: clamp(18px, 2.2vw, 26px);
  border-radius: 12px;
  background: rgba(5, 5, 5, .48);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .44);
}

.formation-kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.formation-card h3 {
  margin: 0 0 18px;
  min-height: 96px;
  color: var(--text);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: .92;
  text-transform: uppercase;
}

.formation-card p {
  margin: 0 0 12px;
  color: rgba(225, 225, 219, .84);
  line-height: 1.45;
}

.formation-card p:not(.formation-kicker) {
  min-height: 46px;
}

.formation-card strong {
  color: rgba(245, 245, 240, .94);
}

.formation-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  margin: 4px 0 16px;
  border-radius: 10px;
  border: 3px solid rgba(0, 0, 0, .88);
  outline: 1px solid rgba(255, 255, 255, .06);
  background: #050505;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .46);
  filter: brightness(.86) contrast(1.05) saturate(.94);
}

.formation-options {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 0;
}

.formation-options span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  color: rgba(245, 245, 240, .9);
  background: rgba(0, 0, 0, .34);
  border-left: 3px solid var(--red);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
}

.formation-options-stack span {
  text-transform: none;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.shop-section {
  max-width: 1120px;
  margin: 0 auto clamp(48px, 6vw, 88px);
}

.shop-page-section {
  margin-top: clamp(34px, 5vw, 72px);
}

.shop-section h2 {
  margin: 0 0 clamp(22px, 3vw, 36px);
  color: var(--text);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(48px, 5.5vw, 86px);
  line-height: .9;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .85);
}

.shop-section h2 span {
  display: block;
  margin-top: 10px;
  color: rgba(190, 190, 184, .78);
  font-size: .43em;
  letter-spacing: 2px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.shop-grid-secondary {
  margin-top: 0;
}

.shop-subtitle {
  margin: clamp(32px, 5vw, 58px) 0 clamp(18px, 3vw, 28px);
  color: rgba(245, 245, 240, .94);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: .95;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 4px 22px rgba(0, 0, 0, .82);
}

.shop-subtitle::before,
.shop-subtitle::after {
  content: "";
  display: inline-block;
  width: clamp(28px, 5vw, 70px);
  height: 1px;
  margin: 0 14px .22em;
  background: rgba(227, 19, 34, .9);
  box-shadow: 0 0 14px rgba(227, 19, 34, .55);
}

.shop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(5, 5, 5, .5);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .44);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.shop-card:hover {
  transform: translateY(-5px);
  border-color: rgba(227, 19, 34, .7);
  box-shadow:
    0 28px 78px rgba(0, 0, 0, .58),
    0 0 28px rgba(227, 19, 34, .22);
}

.shop-image {
  display: grid;
  place-items: center;
  height: clamp(210px, 20vw, 252px);
  aspect-ratio: auto;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 46%, rgba(227, 19, 34, .16), transparent 42%),
    linear-gradient(180deg, rgba(30, 30, 32, .9), rgba(12, 12, 13, .88));
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  border-top: 0;
  border-right: 0;
  border-left: 0;
  cursor: zoom-in;
}

.shop-image img {
  width: 100%;
  height: 100%;
  max-width: 182px;
  max-height: 182px;
  object-fit: contain;
  display: block;
  filter:
    brightness(.98)
    contrast(1.08)
    saturate(.94)
    drop-shadow(0 18px 24px rgba(0, 0, 0, .62));
  transition: transform .28s ease, filter .28s ease;
}

.shop-card:hover .shop-image img,
.shop-image:hover img {
  transform: scale(1.06);
  filter:
    brightness(1.05)
    contrast(1.1)
    saturate(.98)
    drop-shadow(0 22px 30px rgba(0, 0, 0, .7));
}

.shop-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.shop-content-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.shop-kicker {
  margin: 0;
  color: var(--red);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.shop-card h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: .95;
  text-transform: uppercase;
}

.shop-price {
  margin: 0;
  color: rgba(245, 245, 240, .96);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 34px;
  font-weight: 800;
}

.shop-sizes {
  margin: 4px 0 0;
  color: rgba(190, 190, 184, .86);
  font-weight: 700;
}

.shop-size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.shop-size-options button {
  min-width: 44px;
  min-height: 34px;
  padding: 0 10px;
  color: rgba(235, 235, 228, .9);
  background: rgba(0, 0, 0, .36);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 4px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.shop-size-options button:hover,
.shop-size-options button.is-active {
  color: #fff;
  border-color: rgba(227, 19, 34, .82);
  background: rgba(227, 19, 34, .2);
}

.shop-variants {
  display: none;
  gap: 8px;
  margin-top: 18px;
}

.shop-variants button {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 6px 8px;
  color: rgba(235, 235, 228, .9);
  background: rgba(0, 0, 0, .34);
  border-left: 3px solid var(--red);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.shop-variants button:hover,
.shop-variants button.is-active {
  color: #fff;
  background: rgba(227, 19, 34, .18);
  border-left-color: rgba(255, 45, 58, 1);
}

.shop-variants img {
  width: 42px;
  height: 34px;
  object-fit: contain;
  padding: 2px;
  background: rgba(34, 34, 36, .94);
  filter: brightness(.98) contrast(1.08) saturate(.94);
}

.shop-add-cart,
.shop-cart-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 16px;
  padding: 0 16px;
  color: #fff;
  background: rgba(227, 19, 34, .84);
  border: 1px solid rgba(255, 255, 255, .12);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.shop-add-cart {
  position: static;
  z-index: 2;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  margin-top: 0;
  padding: 0;
  overflow: visible;
  border-radius: 999px;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .44);
}

.shop-add-cart::before {
  content: none;
}

.shop-add-cart::after {
  content: "Ajouter au panier";
  position: absolute;
  top: 50%;
  right: calc(100% + 8px);
  width: max-content;
  max-width: 180px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(0, 0, 0, .86);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity .18s ease, transform .18s ease;
}

.shop-add-cart:hover::after,
.shop-add-cart:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.shop-add-cart:hover,
.shop-cart-checkout:hover {
  background: var(--red);
  box-shadow: 0 0 24px rgba(227, 19, 34, .28);
}

.shop-cart {
  display: grid;
  gap: 16px;
  width: min(720px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 48px));
  margin: auto;
  padding: clamp(18px, 2.6vw, 28px);
  overflow: auto;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(227, 19, 34, .1), transparent 42%),
    rgba(5, 5, 5, .58);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .44);
}

.shop-cart-toggle-row {
  display: flex;
  justify-content: flex-end;
  width: min(1120px, calc(100vw - 36px));
  margin: 0 auto 14px;
}

.shop-closed-notice {
  position: fixed;
  top: 88px;
  right: 18px;
  z-index: 60;
  width: min(460px, calc(100vw - 36px));
  pointer-events: none;
}

.shop-closed-panel {
  position: relative;
  width: 100%;
  padding: clamp(22px, 4vw, 34px);
  color: #fff;
  background:
    radial-gradient(circle at 22% 0%, rgba(227, 19, 34, .18), transparent 38%),
    rgba(8, 8, 9, .94);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .48);
  pointer-events: auto;
}

.shop-closed-panel button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  cursor: pointer;
}

.shop-closed-panel span,
.shop-closed-panel h2 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}

.shop-closed-panel span {
  color: var(--red);
  font-weight: 900;
  letter-spacing: 1px;
}

.shop-closed-panel h2 {
  margin: 10px 0 12px;
  font-size: clamp(34px, 6vw, 52px);
  line-height: .9;
}

.shop-closed-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .74);
  line-height: 1.55;
}

.shop-cart-toggle {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 12px 6px 8px;
  color: #fff;
  background: rgba(5, 5, 5, .8);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .46);
}

.shop-cart-toggle img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.shop-cart-toggle.has-items {
  background: rgba(227, 19, 34, .88);
}

.shop-cart-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  padding: 24px 16px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(6px);
}

.shop-cart-modal.is-open {
  display: grid;
}

.shop-cart-header,
.shop-cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.shop-cart-close {
  width: 42px;
  height: 42px;
  color: #fff;
  background: rgba(0, 0, 0, .44);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.shop-cart h3 {
  margin: 0;
  color: var(--text);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: .95;
  text-transform: uppercase;
}

.shop-cart-count,
.shop-cart-total {
  color: #fff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
}

.shop-cart-items {
  display: grid;
  gap: 10px;
}

.shop-cart-empty {
  margin: 0;
  color: rgba(190, 190, 184, .78);
}

.shop-cart-closed {
  margin: 0;
  padding: 12px 14px;
  color: #fff;
  background: rgba(227, 19, 34, .16);
  border: 1px solid rgba(227, 19, 34, .42);
  border-radius: 8px;
  font-weight: 800;
}

.shop-cart-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: rgba(0, 0, 0, .34);
  border: 1px solid rgba(255, 255, 255, .075);
}

.shop-cart-item img {
  width: 64px;
  height: 54px;
  object-fit: contain;
  background: rgba(34, 34, 36, .94);
}

.shop-cart-item-main,
.shop-cart-edit {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.shop-cart-edit {
  grid-column: 2 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.shop-cart-edit label {
  display: grid;
  gap: 5px;
}

.shop-cart-edit label span {
  color: var(--red);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.shop-cart-edit select {
  width: 100%;
  min-height: 36px;
  color: rgba(245, 245, 240, .94);
  background: rgba(0, 0, 0, .48);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 0 10px;
}

.shop-cart-item strong,
.shop-cart-footer strong {
  color: #fff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

.shop-cart-item span,
.shop-cart-item small {
  color: rgba(190, 190, 184, .82);
  font-size: 13px;
}

.shop-cart-controls {
  display: inline-grid;
  grid-template-columns: 34px 28px 34px;
  align-items: center;
  justify-items: center;
}

.shop-cart-controls span {
  color: #fff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.shop-cart-item button {
  min-height: 34px;
  padding: 0 10px;
  color: rgba(245, 245, 240, .9);
  background: rgba(0, 0, 0, .36);
  border: 1px solid rgba(255, 255, 255, .1);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.shop-cart-controls button {
  width: 34px;
  padding: 0;
  font-size: 20px;
}

.shop-cart-remove {
  grid-column: 3;
}

.shop-cart-item button:hover {
  color: #fff;
  border-color: rgba(227, 19, 34, .72);
}

.shop-cart-footer {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.shop-showroom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 12px;
}

.shop-card.is-featured {
  min-height: 1px;
  border-color: rgba(255, 255, 255, .08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .44);
}

.shop-showroom .shop-card.is-featured {
  transform: none;
}

.shop-showroom .shop-image,
.cms-shop-manager .shop-image {
  height: clamp(210px, 20vw, 252px);
}

.shop-status-tag {
  position: absolute;
  z-index: 5;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(0, 0, 0, .68);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.shop-featured-tag {
  position: absolute;
  z-index: 6;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: #111827;
  background: linear-gradient(135deg, #facc15, #f59e0b);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(250, 204, 21, .24);
}

.shop-featured-tag i {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  color: #facc15;
  background: #111827;
  border-radius: 999px;
  font-style: normal;
  font-size: 11px;
  line-height: 1;
}

.shop-featured-star {
  position: absolute;
  z-index: 6;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #111827;
  background: linear-gradient(135deg, #facc15, #f59e0b);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(250, 204, 21, .24);
}

.shop-featured-star i {
  font-style: normal;
  font-size: 15px;
  line-height: 1;
}

.shop-status-tag i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.shop-status-available i {
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34, 197, 94, .86);
}

.shop-status-soldout i {
  background: #ef4444;
  box-shadow: 0 0 14px rgba(239, 68, 68, .86);
}

.shop-status-soon i {
  background: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, .86);
}

.shop-card.is-soldout {
  filter: grayscale(1);
  opacity: .74;
}

.shop-card.is-soldout .shop-add-cart {
  cursor: not-allowed;
  opacity: .45;
}

.cms-body {
  background: #050505;
  overflow: hidden;
}

.cms-app {
  width: 100vw;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.cms-login {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.cms-login[hidden],
.cms-shell[hidden] {
  display: none !important;
}

.cms-login form[hidden],
.cms-password-change-form[hidden] {
  display: none !important;
}

.cms-login form {
  display: grid;
  gap: 14px;
  width: min(420px, 100%);
  padding: 28px;
  background: rgba(5, 5, 5, .82);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .62);
}

.cms-login img,
.cms-sidebar img {
  max-width: 190px;
}

.cms-login h1,
.cms-editor h1,
.cms-form h2 {
  margin: 0;
  color: #fff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}

.cms-login label,
.cms-form label,
.cms-tool-panel label {
  display: grid;
  gap: 7px;
}

.cms-login span,
.cms-form span,
.cms-tool-panel span {
  color: var(--red);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cms-login input,
.cms-form input,
.cms-form textarea,
.cms-form select,
.cms-tool-panel input,
.cms-tool-panel textarea,
.cms-tool-panel select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: rgba(245, 245, 240, .94);
  background: rgba(0, 0, 0, .48);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  font: inherit;
}

.cms-form textarea,
.cms-tool-panel textarea {
  padding-block: 10px;
  resize: vertical;
}

.cms-login button,
.cms-sidebar button,
.cms-editor-actions button,
.cms-form button {
  min-height: 40px;
  padding: 0 14px;
  color: #fff;
  background: rgba(0, 0, 0, .38);
  border: 1px solid rgba(255, 255, 255, .12);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.cms-login button,
.cms-editor-actions button:last-child,
.cms-form button:hover,
.cms-sidebar button.is-active {
  background: rgba(227, 19, 34, .84);
}

.cms-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

.cms-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  height: 100vh;
  padding: 18px;
  background: rgba(0, 0, 0, .72);
  border-right: 1px solid rgba(255, 255, 255, .09);
}

.cms-sidebar button {
  text-align: left;
}

.cms-preview {
  position: relative;
  min-width: 0;
  height: 100vh;
  padding: 0;
  overflow: hidden;
}

.cms-sidebar-actions {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.cms-sidebar-backup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.cms-sidebar-backup small {
  grid-column: 1 / -1;
  color: rgba(210, 210, 202, .78);
  font-size: 12px;
}

.cms-sidebar-divider {
  height: 4px;
  margin: 10px 0 4px;
  background: #111827;
  border-radius: 999px;
}

.cms-orders-button {
  justify-content: center;
  min-height: 58px !important;
  color: #111827 !important;
  background: rgba(248, 250, 252, .92) !important;
  border: 4px solid #111827 !important;
  border-radius: 0 !important;
  text-align: center !important;
}

.cms-sidebar-status {
  display: grid;
  gap: 7px;
  padding: 18px 14px;
  color: #111827;
  background: rgba(226, 235, 246, .74);
  border: 4px solid #111827;
}

.cms-sidebar-status div {
  display: grid;
  grid-template-columns: 14px 1fr;
  align-items: center;
  gap: 9px;
  font-weight: 900;
}

.cms-sidebar-status i {
  width: 14px;
  height: 14px;
  border-radius: 999px;
}

.cms-sidebar-status .is-ok {
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34, 197, 94, .72);
}

.cms-sidebar-status .is-slow {
  background: #f59e0b;
  box-shadow: 0 0 14px rgba(245, 158, 11, .72);
}

.cms-sidebar-status .is-down {
  background: #ef4444;
  box-shadow: 0 0 14px rgba(239, 68, 68, .72);
}

.cms-sidebar-status hr {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(17, 24, 39, .16);
}

.cms-sidebar-status p {
  margin: 0;
  font-weight: 900;
  line-height: 1.25;
}

.cms-sidebar .cms-publish-button {
  background: rgba(22, 163, 74, .9);
  border-color: rgba(74, 222, 128, .72);
}

.cms-sidebar .cms-publish-button:hover {
  background: rgba(21, 128, 61, .96);
}

.cms-sidebar .cms-reset-button {
  background: rgba(227, 19, 34, .9);
  border-color: rgba(248, 113, 113, .72);
}

.cms-sidebar .cms-reset-button:hover {
  background: rgba(185, 28, 28, .96);
}

.cms-preview > div:first-of-type {
  display: none;
}

.cms-preview > div {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 0;
  padding: 8px 10px;
  pointer-events: none;
}

.cms-preview > div > * {
  pointer-events: auto;
}

.cms-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cms-status {
  min-height: 22px;
  color: rgba(210, 210, 202, .82);
  margin: 0;
  padding: 4px 8px;
  background: rgba(0, 0, 0, .68);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 6px;
}

.cms-form {
  display: grid;
  gap: 16px;
}

.cms-edit-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: rgba(10, 10, 10, .78);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .24);
}

.cms-list {
  display: grid;
  gap: 12px;
}

.cms-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.cms-checkbox {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.cms-checkbox input {
  width: auto;
  min-height: auto;
}

.cms-stripe-placeholder {
  margin: 0;
  padding: 12px;
  color: rgba(245, 245, 240, .9);
  background: rgba(217, 145, 37, .12);
  border: 1px solid rgba(217, 145, 37, .34);
}

.cms-preview iframe {
  width: 100%;
  height: 100vh;
  display: block;
  background: #fff;
  border: 0;
  border-radius: 0;
}

.cms-preview iframe[hidden] {
  display: none !important;
}

.cms-shop-reorder {
  position: absolute;
  top: 58px;
  left: 12px;
  right: 12px;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
  padding: 10px 12px;
  color: rgba(245, 245, 240, .92);
  background: rgba(8, 8, 8, .92);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
}

.cms-shop-reorder[hidden] {
  display: none !important;
}

.cms-shop-reorder span {
  color: #fff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
}

.cms-editable-zone {
  outline: 3px solid rgba(255, 214, 10, .95) !important;
  outline-offset: 4px;
  cursor: pointer;
}

.shop-card[data-shop-product] {
  cursor: grab;
}

.shop-card[data-shop-product].is-dragging {
  opacity: .64;
  outline: 3px solid rgba(74, 222, 128, .9);
  outline-offset: 4px;
}

.cms-tool-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .76);
  backdrop-filter: blur(8px);
}

.cms-tool-modal[hidden] {
  display: none !important;
}

.cms-tool-panel {
  position: relative;
  display: grid;
  gap: 16px;
  width: min(680px, 96vw);
  max-height: min(820px, 92vh);
  overflow: auto;
  padding: 26px;
  color: rgba(245, 245, 240, .94);
  background: rgba(5, 5, 5, .96);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .62);
}

.cms-tool-panel h2 {
  margin: 0;
  color: #fff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  text-transform: uppercase;
}

.cms-tool-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
}

.cms-change-list {
  max-height: 340px;
  overflow: auto;
  padding: 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
}

.cms-change-list ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.cms-backstore {
  display: grid;
  gap: 18px;
  height: 100vh;
  overflow: auto;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(227, 19, 34, .08), transparent 32%),
    rgba(0, 0, 0, .34);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
}

.cms-backstore[hidden] {
  display: none !important;
}

.cms-backstore-toolbar {
  position: sticky;
  top: -18px;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 190px 160px repeat(4, auto);
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: rgba(8, 8, 8, .96);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .34);
}

.cms-backstore-toolbar input,
.cms-backstore-toolbar select {
  min-height: 40px;
  padding: 0 10px;
  color: rgba(245, 245, 240, .94);
  background: rgba(0, 0, 0, .48);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
}

.cms-manager-toolbar {
  grid-template-columns: minmax(260px, 1fr) auto auto;
}

.cms-manager-toolbar div {
  display: grid;
  gap: 3px;
}

.cms-manager-toolbar strong {
  color: #fff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 22px;
  text-transform: uppercase;
}

.cms-manager-toolbar small {
  color: rgba(245, 245, 240, .62);
  font-size: 12px;
  line-height: 1.35;
}

.cms-backstore-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cms-category-list {
  display: grid;
  gap: 8px;
}

.cms-category-row,
.cms-category-add {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.cms-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cms-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.cms-card-header h2,
.cms-edit-card h2 {
  margin: 0;
  color: #fff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}

.cms-card-header strong {
  display: grid;
  gap: 2px;
  color: #fff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

.cms-product-summary {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.cms-product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cms-product-badges span {
  padding: 4px 7px;
  color: rgba(245, 245, 240, .9);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.cms-card-header small {
  color: rgba(245, 245, 240, .62);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.cms-inventory-table-card {
  padding: 0;
  overflow: hidden;
}

.cms-inventory-table-card h2 {
  padding: 16px 18px 0;
}

.cms-inventory-table-wrap {
  overflow: auto;
}

.cms-inventory-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  color: rgba(245, 245, 240, .9);
  font-size: 14px;
}

.cms-inventory-table th,
.cms-inventory-table td {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  text-align: left;
}

.cms-inventory-table th {
  position: sticky;
  top: 0;
  color: #fff;
  background: rgba(227, 19, 34, .72);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 16px;
  text-transform: uppercase;
}

.cms-inventory-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, .035);
}

.cms-inventory-table tbody tr {
  cursor: pointer;
  scroll-margin-top: 86px;
}

.cms-inventory-table tbody tr:hover td {
  background: rgba(227, 19, 34, .14);
}

.cms-product-card {
  gap: 16px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .055), transparent 30%),
    rgba(8, 8, 8, .92);
  border-color: rgba(255, 255, 255, .18);
}

.cms-product-card.is-collapsed {
  padding-block: 12px;
}

.cms-product-card.is-collapsed .cms-product-layout {
  display: none;
}

.cms-product-card.is-collapsed .cms-card-header {
  min-height: 38px;
}

.cms-product-card.is-highlighted {
  border-color: rgba(227, 19, 34, .9);
  box-shadow: 0 0 0 3px rgba(227, 19, 34, .18), 0 22px 58px rgba(0, 0, 0, .5);
}

.cms-event-card,
.cms-course-card {
  border-color: rgba(255, 255, 255, .16);
}

.cms-event-status-public {
  color: #dfffe8 !important;
  border-color: rgba(48, 209, 88, .36) !important;
}

.cms-event-status-prive {
  color: #fff0d1 !important;
  border-color: rgba(217, 145, 37, .46) !important;
}

.cms-event-status-secret {
  color: #ffd7d7 !important;
  border-color: rgba(227, 19, 34, .46) !important;
}

.cms-schedule-dashboard {
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(360px, 1.05fr);
  gap: 22px;
}

.cms-schedule-dashboard-v2 {
  align-items: start;
}

.cms-event-create-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

.cms-event-pill {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  color: var(--cms-ink);
  background: rgba(248, 250, 252, .88);
  border: 1px solid rgba(25, 35, 56, .12);
  border-left: 5px solid #38bdf8;
  border-radius: 14px;
  text-align: left;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
}

.cms-event-pill-main {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.cms-event-pill span {
  color: var(--cms-accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cms-event-pill strong {
  color: var(--cms-ink);
}

.cms-event-pill-delete {
  display: grid;
  place-items: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  padding: 0;
  color: #fff;
  background: linear-gradient(135deg, #dc2626, #fb3446);
  border: 1px solid rgba(220, 38, 38, .28);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(220, 38, 38, .2);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.cms-event-pill-delete:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(220, 38, 38, .28);
}

.cms-event-pill.is-reservation {
  border-left-color: #f59e0b;
}

.cms-event-pill.is-event {
  border-left-color: #38bdf8;
}

.cms-event-pill.is-closure {
  border-left-color: #ef4444;
}

.cms-schedule-calendar,
.cms-schedule-agenda,
.cms-schedule-selected {
  align-content: start;
}

.cms-schedule-weekdays,
.cms-schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.cms-schedule-weekdays span {
  color: var(--cms-muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.cms-schedule-grid > span,
.cms-schedule-grid button {
  min-height: 54px;
  border-radius: 14px;
}

.cms-schedule-grid button {
  position: relative;
  display: grid;
  place-items: center;
  color: var(--cms-ink);
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--cms-border);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.cms-schedule-grid button:hover,
.cms-schedule-grid button.is-selected {
  border-color: rgba(37, 99, 235, .48);
  box-shadow: 0 14px 28px rgba(37, 99, 235, .13);
  transform: translateY(-1px);
}

.cms-schedule-grid button.is-selected {
  background: linear-gradient(135deg, rgba(37, 99, 235, .14), rgba(6, 182, 212, .12));
}

.cms-schedule-grid button:has(.cms-calendar-planned) {
  border-color: rgba(37, 99, 235, .34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(239, 246, 255, .86));
}

.cms-schedule-grid button::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.cms-schedule-grid .has-public::after {
  background: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, .5);
}

.cms-schedule-grid .has-prive::after {
  background: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, .5);
}

.cms-schedule-grid .has-secret::after {
  background: #ef4444;
  box-shadow: 0 0 12px rgba(239, 68, 68, .5);
}

.cms-schedule-grid .is-full::after {
  background: #dc2626;
  box-shadow: 0 0 12px rgba(220, 38, 38, .54);
}

.cms-schedule-grid .is-closed {
  color: rgba(100, 116, 139, .64);
  background: repeating-linear-gradient(135deg, rgba(100, 116, 139, .12), rgba(100, 116, 139, .12) 5px, rgba(255, 255, 255, .58) 5px, rgba(255, 255, 255, .58) 10px);
}

.cms-schedule-grid small {
  position: absolute;
  right: 7px;
  bottom: 6px;
  min-width: 20px;
  padding: 2px 5px;
  color: #fff;
  background: var(--cms-accent);
  border-radius: 999px;
  font-size: 11px;
}

.cms-calendar-planned {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 6px;
  height: 4px;
  overflow: hidden;
  color: transparent;
  background: linear-gradient(90deg, var(--cms-accent), var(--cms-accent-2));
  border-radius: 999px;
}

.cms-schedule-legend,
.cms-schedule-day-summary,
.cms-schedule-day-events,
.cms-schedule-closed-days div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.cms-schedule-legend span,
.cms-schedule-day-summary span,
.cms-schedule-closed-days label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: var(--cms-ink);
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--cms-border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.cms-schedule-legend i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.cms-schedule-legend .public { background: #16a34a; }
.cms-schedule-legend .private { background: #f59e0b; }
.cms-schedule-legend .secret { background: #64748b; }
.cms-schedule-legend .full { background: #dc2626; }

.cms-schedule-closed-days {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--cms-border);
  border-radius: 16px;
}

.cms-schedule-closed-days legend {
  padding: 0 7px;
  color: var(--cms-accent);
  font-weight: 800;
}

.cms-schedule-closed-days input {
  width: auto;
  min-height: auto;
}

.cms-schedule-upcoming {
  display: grid;
  gap: 10px;
}

.cms-schedule-upcoming button {
  display: grid;
  gap: 6px;
  padding: 14px;
  text-align: left;
}

.cms-schedule-upcoming button.is-active,
.cms-schedule-day-events button.is-active {
  border-color: rgba(37, 99, 235, .48);
  box-shadow: 0 14px 32px rgba(37, 99, 235, .16);
  transform: translateY(-1px);
}

.cms-schedule-day-events button {
  display: inline-grid;
  gap: 4px;
  text-align: left;
}

.cms-schedule-upcoming em {
  color: var(--cms-muted);
  font-style: normal;
  line-height: 1.35;
}

.cms-danger-button {
  color: rgba(255, 210, 210, .94) !important;
  border-color: rgba(227, 19, 34, .36) !important;
}

.cms-product-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 18px;
}

.cms-product-media {
  position: sticky;
  top: 10px;
  align-self: start;
}

.cms-product-media.is-dragging {
  outline: 3px solid rgba(227, 19, 34, .9);
  outline-offset: 6px;
}

.cms-live-shop-card {
  width: 100%;
  min-height: 0;
  transform: none !important;
  box-shadow: 0 22px 58px rgba(0, 0, 0, .52);
}

.cms-live-shop-card .shop-image {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1px dashed rgba(255, 255, 255, .18);
}

.cms-live-shop-card .shop-image img {
  width: 82%;
  height: 82%;
  border-radius: var(--cms-preview-radius, 8px);
  transform: translate(var(--cms-preview-x, 0), var(--cms-preview-y, 0)) scale(var(--cms-preview-zoom, 1));
}

.cms-live-shop-card:hover .shop-image img,
.cms-live-shop-card .shop-image:hover img {
  transform: translate(var(--cms-preview-x, 0), var(--cms-preview-y, 0)) scale(var(--cms-preview-zoom, 1));
}

.cms-upload-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 8px;
  color: #fff;
  background: rgba(227, 19, 34, .88);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 4px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.cms-tool-upload {
  display: grid;
  gap: 10px;
}

.cms-tool-upload-zone {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 220px;
  padding: 16px;
  color: var(--cms-muted);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .08), transparent 34%),
    rgba(248, 250, 252, .88);
  border: 1px dashed rgba(37, 99, 235, .34);
  border-radius: 18px;
  cursor: pointer;
  text-align: center;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.cms-tool-upload-zone:hover,
.cms-tool-upload-zone.is-dragging {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .14), transparent 38%),
    rgba(255, 255, 255, .95);
  border-color: rgba(37, 99, 235, .72);
  box-shadow: 0 18px 44px rgba(37, 99, 235, .14);
  transform: translateY(-1px);
}

.cms-tool-upload-zone img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .16);
}

.cms-tool-upload-zone strong {
  color: var(--cms-ink);
}

.cms-tool-upload-zone small {
  color: var(--cms-muted);
}

.cms-upload-empty {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  color: #fff;
  background: linear-gradient(135deg, var(--cms-accent), var(--cms-accent-2));
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(37, 99, 235, .2);
  font-weight: 800;
}

.cms-file-input {
  display: none;
}

.cms-product-main {
  display: grid;
  gap: 14px;
}

.cms-size-controls,
.cms-image-tools {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
}

.cms-size-controls legend,
.cms-image-tools legend {
  padding: 0 7px;
  color: var(--red);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.cms-size-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.cms-size-row {
  display: grid !important;
  grid-template-columns: auto 1fr 88px;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
}

.cms-size-row input[type="number"] {
  min-height: 34px;
  padding-inline: 8px;
}

.cms-one-size {
  max-width: 420px;
}

.cms-image-tools {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cms-image-tools label {
  gap: 5px;
}

.cms-photo-cropper {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: rgba(221, 229, 239, .84);
  border: 1px solid var(--cms-border);
  border-radius: 16px;
}

.cms-photo-cropper p {
  margin: 4px 0 0;
  color: var(--cms-muted);
  font-size: 13px;
}

.cms-crop-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .08), transparent 36%),
    linear-gradient(180deg, rgba(20, 20, 22, .78), rgba(3, 3, 4, .96));
  border: 1px solid rgba(25, 35, 56, .16);
  border-radius: var(--crop-radius, 8px);
}

.cms-crop-stage.is-dragging {
  cursor: grabbing;
}

.cms-crop-stage img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  border-radius: var(--crop-radius, 8px);
  transform: translate(var(--crop-x, 0), var(--crop-y, 0)) scale(var(--crop-zoom, 1));
  transform-origin: center;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .62));
}

.cms-crop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Softer CMS skin: applies only to the admin shell, not to the public iframe. */
.cms-body {
  --cms-bg: #dbe2ec;
  --cms-surface: rgba(232, 237, 245, .9);
  --cms-surface-strong: #eef2f7;
  --cms-surface-muted: #dde5ef;
  --cms-ink: #172033;
  --cms-muted: #5f6d82;
  --cms-border: rgba(25, 35, 56, .16);
  --cms-accent: #2563eb;
  --cms-accent-2: #06b6d4;
  --cms-danger: #dc2626;
  --cms-success: #16a34a;
  color: var(--cms-ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(37, 99, 235, .08), transparent 34%),
    radial-gradient(circle at 88% 4%, rgba(6, 182, 212, .08), transparent 30%),
    linear-gradient(135deg, #e7edf5 0%, var(--cms-bg) 48%, #d1d9e6 100%);
}

.cms-body::before {
  z-index: 0;
  background:
    linear-gradient(rgba(37, 99, 235, .032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, .028) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 1;
}

.cms-app,
.cms-shell,
.cms-login {
  position: relative;
  z-index: 1;
}

.cms-sidebar {
  gap: 12px;
  padding: 18px;
  background: rgba(222, 230, 241, .9);
  border-right: 1px solid var(--cms-border);
  box-shadow: 20px 0 70px rgba(15, 23, 42, .08);
  backdrop-filter: blur(18px);
}

.cms-sidebar img {
  padding: 10px;
  background: #111827;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .16);
}

.cms-login form,
.cms-tool-panel,
.cms-backstore,
.cms-edit-card,
.cms-shop-reorder {
  color: var(--cms-ink);
  background: var(--cms-surface);
  border: 1px solid var(--cms-border);
  border-radius: 18px;
  box-shadow: 0 22px 70px rgba(15, 23, 42, .12);
  backdrop-filter: blur(18px);
}

.cms-login form[hidden],
.cms-password-change-form[hidden] {
  display: none !important;
}

.cms-password-change-form:not([hidden]) {
  position: fixed;
  z-index: 20;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.cms-login:has(.cms-password-change-form:not([hidden]))::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 10;
  background: rgba(15, 23, 42, .38);
  backdrop-filter: blur(6px);
}

.cms-backstore {
  gap: 22px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .055), transparent 34%),
    rgba(219, 226, 236, .72);
  border-radius: 0;
}

.cms-login h1,
.cms-editor h1,
.cms-form h2,
.cms-card-header h2,
.cms-edit-card h2,
.cms-card-header strong,
.cms-manager-toolbar strong,
.cms-tool-panel h2,
.cms-shop-reorder span {
  color: var(--cms-ink);
}

.cms-login span,
.cms-form span,
.cms-tool-panel span,
.cms-size-controls legend,
.cms-image-tools legend {
  color: var(--cms-accent);
  letter-spacing: .7px;
}

.cms-login input,
.cms-form input,
.cms-form textarea,
.cms-form select,
.cms-tool-panel input,
.cms-tool-panel textarea,
.cms-tool-panel select,
.cms-backstore-toolbar input,
.cms-backstore-toolbar select {
  color: var(--cms-ink);
  background: rgba(241, 245, 249, .9);
  border: 1px solid var(--cms-border);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.cms-login input:focus,
.cms-form input:focus,
.cms-form textarea:focus,
.cms-form select:focus,
.cms-tool-panel input:focus,
.cms-tool-panel textarea:focus,
.cms-tool-panel select:focus,
.cms-backstore-toolbar input:focus,
.cms-backstore-toolbar select:focus {
  outline: 0;
  border-color: rgba(37, 99, 235, .54);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.cms-login button,
.cms-sidebar button,
.cms-editor-actions button,
.cms-form button {
  position: relative;
  overflow: hidden;
  color: var(--cms-ink);
  background:
    linear-gradient(180deg, rgba(241, 245, 249, .96), rgba(224, 231, 242, .9));
  border: 1px solid var(--cms-border);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.cms-login button::after,
.cms-sidebar button::after,
.cms-editor-actions button::after,
.cms-form button::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .58) 45%, transparent 62%);
  transform: translateX(-120%);
  transition: transform .45s ease;
}

.cms-login button:hover,
.cms-sidebar button:hover,
.cms-editor-actions button:hover,
.cms-form button:hover {
  color: #0f172a;
  background:
    linear-gradient(180deg, #eef4fb, #ddeaf8);
  border-color: rgba(37, 99, 235, .28);
  box-shadow: 0 14px 34px rgba(37, 99, 235, .14);
  transform: translateY(-1px);
}

.cms-login button:hover::after,
.cms-sidebar button:hover::after,
.cms-editor-actions button:hover::after,
.cms-form button:hover::after {
  transform: translateX(120%);
}

.cms-login button,
.cms-editor-actions button:last-child,
.cms-sidebar button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--cms-accent), var(--cms-accent-2));
  border-color: rgba(37, 99, 235, .36);
  box-shadow: 0 14px 32px rgba(37, 99, 235, .22);
}

.cms-sidebar button.is-active {
  transform: translateX(4px);
}

.cms-sidebar button.is-active::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 14px rgba(255, 255, 255, .85);
  transform: translateY(-50%);
}

.cms-sidebar button.is-active {
  padding-left: 24px;
}

.cms-sidebar-actions {
  gap: 10px;
  margin: 18px 0;
  padding: 18px 0;
  border-color: rgba(25, 35, 56, .1);
}

.cms-sidebar-backup {
  border-color: rgba(25, 35, 56, .1);
}

.cms-sidebar-backup small {
  color: var(--cms-muted);
}

.cms-sidebar-divider {
  height: 1px;
  margin: 8px 4px 2px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .24), transparent);
  border-radius: 999px;
}

.cms-sidebar .cms-orders-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px !important;
  color: var(--cms-ink) !important;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, .98), rgba(226, 235, 246, .92)) !important;
  border: 1px solid rgba(37, 99, 235, .18) !important;
  border-radius: 14px !important;
  box-shadow:
    0 12px 28px rgba(15, 23, 42, .08),
    inset 0 1px 0 rgba(255, 255, 255, .72) !important;
  font-weight: 800;
  text-align: center !important;
}

.cms-sidebar .cms-orders-button.is-active {
  color: #fff !important;
  background: linear-gradient(135deg, var(--cms-accent), var(--cms-accent-2)) !important;
  border-color: rgba(37, 99, 235, .36) !important;
}

.cms-sidebar-status {
  display: grid;
  gap: 9px;
  padding: 14px;
  color: var(--cms-ink);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .055), transparent 42%),
    rgba(241, 245, 249, .78);
  border: 1px solid rgba(37, 99, 235, .16);
  border-radius: 18px;
  box-shadow:
    0 16px 38px rgba(15, 23, 42, .09),
    inset 0 1px 0 rgba(255, 255, 255, .72);
}

.cms-sidebar-status div {
  display: grid;
  grid-template-columns: 12px 1fr;
  align-items: start;
  gap: 9px;
  min-width: 0;
  color: var(--cms-ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.cms-sidebar-status i {
  width: 11px;
  height: 11px;
  margin-top: 2px;
  border-radius: 999px;
}

.cms-sidebar-status .is-ok {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .12), 0 0 16px rgba(34, 197, 94, .48);
}

.cms-sidebar-status .is-slow {
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, .12), 0 0 16px rgba(245, 158, 11, .48);
}

.cms-sidebar-status .is-down {
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, .12), 0 0 16px rgba(239, 68, 68, .48);
}

.cms-sidebar-status hr {
  width: 100%;
  margin: 4px 0 2px;
  border: 0;
  border-top: 1px solid rgba(25, 35, 56, .1);
}

.cms-sidebar-status p {
  margin: 0;
  color: var(--cms-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.22;
}

.cms-sidebar .cms-publish-button {
  color: #fff;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  border-color: rgba(22, 163, 74, .34);
}

.cms-sidebar .cms-publish-button:hover {
  color: #fff;
  background: linear-gradient(135deg, #15803d, #16a34a);
  box-shadow: 0 14px 34px rgba(22, 163, 74, .22);
}

.cms-sidebar .cms-reset-button,
.cms-danger-button {
  color: #fff !important;
  background: linear-gradient(135deg, #dc2626, #f43f5e) !important;
  border-color: rgba(220, 38, 38, .36) !important;
}

.cms-sidebar .cms-reset-button:hover,
.cms-danger-button:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #b91c1c, #dc2626) !important;
  box-shadow: 0 14px 34px rgba(220, 38, 38, .2) !important;
}

.cms-backstore-toolbar {
  top: -24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px;
  background: rgba(232, 237, 245, .94);
  border: 1px solid var(--cms-border);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .12);
}

.cms-backstore-toolbar input {
  flex: 1 1 260px;
}

.cms-backstore-toolbar select {
  flex: 1 1 180px;
}

.cms-backstore-toolbar button {
  flex: 0 0 auto;
  min-width: max-content;
}

.cms-manager-toolbar small,
.cms-card-header small,
.cms-status {
  color: var(--cms-muted);
}

.cms-status {
  background: rgba(232, 237, 245, .9);
  border-color: var(--cms-border);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.cms-backstore-grid,
.cms-list,
.cms-grid-3 {
  gap: 18px;
}

.cms-edit-card,
.cms-product-card,
.cms-event-card,
.cms-course-card {
  gap: 18px;
  padding: 20px;
  background: rgba(232, 237, 245, .86);
  border-color: var(--cms-border);
  border-radius: 18px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.cms-edit-card:hover,
.cms-product-card:hover,
.cms-event-card:hover,
.cms-course-card:hover {
  border-color: rgba(37, 99, 235, .22);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .14);
  transform: translateY(-1px);
}

.cms-product-badges span,
.cms-event-status-public,
.cms-event-status-prive,
.cms-event-status-secret {
  color: #1f2937 !important;
  background: rgba(37, 99, 235, .08);
  border: 1px solid rgba(37, 99, 235, .16) !important;
  border-radius: 999px;
}

.cms-event-status-public {
  background: rgba(22, 163, 74, .12);
  border-color: rgba(22, 163, 74, .22) !important;
}

.cms-event-status-prive {
  background: rgba(245, 158, 11, .14);
  border-color: rgba(245, 158, 11, .24) !important;
}

.cms-event-status-secret {
  background: rgba(220, 38, 38, .12);
  border-color: rgba(220, 38, 38, .22) !important;
}

.cms-inventory-table {
  color: var(--cms-ink);
  background: rgba(232, 237, 245, .78);
}

.cms-inventory-table th {
  color: #fff;
  background: linear-gradient(135deg, var(--cms-accent), var(--cms-accent-2));
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: none;
}

.cms-inventory-table th,
.cms-inventory-table td {
  border-color: rgba(25, 35, 56, .1);
}

.cms-inventory-table tr:nth-child(even) td {
  background: rgba(37, 99, 235, .035);
}

.cms-inventory-table tbody tr:hover td {
  background: rgba(37, 99, 235, .09);
}

.cms-size-controls,
.cms-image-tools,
.cms-size-row,
.cms-stripe-placeholder,
.cms-change-list {
  background: rgba(221, 229, 239, .84);
  border-color: var(--cms-border);
  border-radius: 16px;
}

.cms-live-shop-card {
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .16);
}

.cms-upload-hint {
  background: linear-gradient(135deg, var(--cms-accent), var(--cms-accent-2));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .2);
}

.cms-tool-modal {
  background: rgba(15, 23, 42, .42);
}

.cms-tool-panel {
  background: rgba(232, 237, 245, .96);
}

.cms-tool-panel .cms-photo-cropper,
.cms-tool-panel .cms-product-size-editor,
.cms-tool-panel .cms-option-editor {
  color: var(--cms-ink);
  background: rgba(248, 250, 252, .86);
  border-color: rgba(25, 35, 56, .14);
}

.cms-tool-panel .cms-crop-stage {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .055), transparent 34%),
    rgba(241, 245, 249, .9);
  border-color: rgba(25, 35, 56, .14);
}

.cms-tool-panel .cms-crop-stage img {
  filter: drop-shadow(0 18px 24px rgba(15, 23, 42, .18));
}

.cms-tool-panel .cms-crop-actions button,
.cms-tool-panel .cms-option-editor button {
  color: var(--cms-ink);
  background: linear-gradient(180deg, #eef4fb, #ddeaf8);
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 12px;
}

.cms-shop-reorder {
  background: rgba(232, 237, 245, .92);
}

.cms-shop-manager {
  display: grid;
  gap: 22px;
  margin: 0;
  min-height: 100vh;
  width: 100%;
  min-width: 100%;
  padding: clamp(22px, 3vw, 42px);
  color: #f7f7f4;
  background:
    radial-gradient(circle at 20% 0%, rgba(227, 19, 34, .16), transparent 28%),
    linear-gradient(180deg, rgba(5, 5, 5, .78), rgba(5, 5, 5, .96)),
    url("/generated/training-shoot-house-background-v2.webp") center top / cover fixed no-repeat;
  border: 0;
  border-radius: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.cms-shell:has(.cms-shop-manager) {
  background: #050505;
}

.cms-shell:has(.cms-shop-manager) .cms-preview {
  padding: 0;
  background: #050505;
}

.cms-shell:has(.cms-shop-manager) .cms-form {
  min-height: 100vh;
  background: #050505;
}

.cms-shell:has(.cms-shop-manager) .cms-preview > div:first-of-type,
.cms-shell:has(.cms-shop-manager) .cms-shop-reorder {
  margin: 0;
}

.cms-shop-manager-hero {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.cms-shop-manager-hero h2 {
  margin: 0;
  color: #fff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(34px, 5vw, 56px);
  text-transform: uppercase;
}

.cms-shop-manager-hero p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
}

.cms-shop-quick-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.cms-shop-quick-actions button,
.cms-stripe-connect-button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(29, 78, 216, .18);
}

.cms-shop-quick-actions button:hover,
.cms-stripe-connect-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(29, 78, 216, .28);
}

.cms-shop-open-state {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  color: #172033;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  font-weight: 900;
}

.cms-shop-open-state::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34, 197, 94, .8);
}

.cms-shop-open-state.is-closed::before {
  background: #ef4444;
  box-shadow: 0 0 14px rgba(239, 68, 68, .8);
}

.cms-storefront-grid {
  align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.cms-storefront-card {
  cursor: grab;
  min-height: 100%;
  color: #f5f5f0;
  background: rgba(5, 5, 5, .5);
  border-color: rgba(255, 255, 255, .08);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .44);
}

.cms-shop-manager .shop-card.is-featured {
  border-color: rgba(250, 204, 21, .88);
  box-shadow:
    0 26px 80px rgba(250, 204, 21, .12),
    0 0 0 1px rgba(250, 204, 21, .3) inset;
}

.cms-shop-manager .cms-featured-tag {
  width: 34px;
  min-width: 34px;
  height: 34px;
  padding: 0;
  overflow: hidden;
  justify-content: flex-start;
  gap: 0;
  white-space: nowrap;
  transition: width .22s ease, padding .22s ease, gap .22s ease, box-shadow .22s ease;
}

.cms-shop-manager .cms-featured-tag i {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: #111827;
  background: transparent;
  font-size: 15px;
}

.cms-shop-manager .cms-featured-tag b {
  flex: 0 0 auto;
  padding-right: 12px;
  color: #111827;
  font: inherit;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .18s ease, transform .18s ease;
}

.cms-shop-manager .cms-featured-tag:hover,
.cms-shop-manager .cms-featured-tag:focus-within {
  width: 156px;
  gap: 2px;
  box-shadow: 0 14px 32px rgba(250, 204, 21, .32);
}

.cms-shop-manager .cms-featured-tag:hover b,
.cms-shop-manager .cms-featured-tag:focus-within b {
  opacity: 1;
  transform: translateX(0);
}

.cms-shop-manager .shop-card,
.cms-shop-manager .shop-card:hover {
  background:
    radial-gradient(circle at 50% 0%, rgba(227, 19, 34, .07), transparent 38%),
    linear-gradient(180deg, rgba(18, 18, 19, .96), rgba(2, 2, 3, .98)) !important;
}

.cms-shop-manager .shop-content {
  background:
    linear-gradient(180deg, rgba(3, 3, 4, .98), rgba(0, 0, 0, .96)) !important;
}

.cms-shop-manager .shop-card.is-soldout {
  filter: none;
  opacity: 1;
}

.cms-shop-manager .shop-image,
.cms-shop-manager .shop-image:hover {
  color: inherit;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .08), transparent 36%),
    linear-gradient(180deg, rgba(20, 20, 22, .78), rgba(3, 3, 4, .96));
  border: 0;
  border-left: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.cms-shop-manager .shop-image::after,
.cms-shop-manager .shop-add-cart::after,
.cms-shop-manager .shop-image:hover::after,
.cms-shop-manager .shop-add-cart:hover::after {
  background: none;
  transform: none;
}

.cms-shop-manager .shop-content button:not(.shop-add-cart):not(.cms-danger-button) {
  color: #fff;
  background: rgba(0, 0, 0, .34);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 4px;
  box-shadow: none;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cms-shop-manager .shop-add-cart {
  color: #fff !important;
  background: rgba(227, 19, 34, .84) !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .44) !important;
  transform: none !important;
}

.cms-shop-manager .shop-add-cart:hover {
  background: var(--red) !important;
  box-shadow: 0 0 24px rgba(227, 19, 34, .28) !important;
}

.cms-shop-manager + .cms-backstore-grid {
  margin-top: 24px;
}

.cms-orders-page {
  display: grid;
  gap: 22px;
  min-height: 100vh;
  padding: clamp(22px, 3vw, 42px);
  color: #172033;
  background: linear-gradient(135deg, #dce7f4, #eef5fb 48%, #d9e4f1);
}

.cms-orders-page > header {
  display: grid;
  gap: 6px;
}

.cms-orders-page h2 {
  margin: 0;
  color: #172033;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  text-transform: uppercase;
}

.cms-orders-page p {
  margin: 0;
}

.cms-orders-kanban {
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 16px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 12px;
}

.cms-order-column {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 540px;
  padding: 14px;
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(25, 35, 56, .14);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .1);
}

.cms-order-column h3,
.cms-order-card h3 {
  margin: 0;
  color: #172033;
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}

.cms-order-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  color: #172033;
  background: rgba(248, 250, 252, .94);
  border: 1px solid rgba(25, 35, 56, .14);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
  cursor: grab;
}

.cms-order-card.is-dragging {
  opacity: .55;
  transform: rotate(-1deg);
}

.cms-order-card header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.cms-order-card header span {
  padding: 4px 8px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.cms-order-card a {
  color: #1d4ed8;
  font-weight: 900;
}

.cms-order-card section {
  display: grid;
  gap: 5px;
  padding-top: 10px;
  border-top: 1px solid rgba(25, 35, 56, .12);
}

.cms-order-card select {
  width: 100%;
  min-height: 38px;
  color: #172033;
  background: #fff;
  border: 1px solid rgba(25, 35, 56, .16);
  border-radius: 10px;
}

.cms-order-empty {
  padding: 14px;
  color: #64748b;
  background: rgba(255, 255, 255, .48);
  border: 1px dashed rgba(25, 35, 56, .2);
  border-radius: 12px;
}

.cms-card-manage-button {
  width: 38px;
  min-width: 38px;
  color: #fff !important;
  background: var(--red) !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 999px !important;
  font-family: "Barlow Condensed", Impact, sans-serif !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

.cms-storefront-actions {
  margin-top: 14px;
}

.cms-course-live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.cms-course-live-card {
  position: relative;
  color: #172033;
  background: rgba(232, 237, 245, .88);
  border: 1px solid var(--cms-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .12);
}

.cms-course-live-card .formation-body,
.cms-course-live-card .formation-body p,
.cms-course-live-card .formation-body h3,
.cms-course-live-card .formation-body strong,
.cms-course-live-card .formation-body span {
  color: #172033;
}

.cms-course-delete {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #fff;
  background: linear-gradient(135deg, #dc2626, #f43f5e);
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(220, 38, 38, .28);
}

.cms-course-delete::before {
  content: "\1F5D1";
  font-size: 17px;
  line-height: 1;
}

.cms-course-delete span {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: max-content;
  max-width: 170px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(15, 23, 42, .94);
  border-radius: 999px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease;
}

.cms-course-delete:hover span {
  opacity: 1;
  transform: translateY(0);
}

.cms-course-live-card .formation-media {
  height: 220px;
  background: rgba(15, 23, 42, .08);
}

.cms-course-live-card .formation-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cms-course-live-card .formation-body {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.cms-editable-zone {
  outline-color: rgba(37, 99, 235, .85) !important;
  outline-offset: 6px;
  transition: outline-offset .18s ease, box-shadow .18s ease;
}

.cms-editable-zone:hover {
  outline-offset: 9px;
  box-shadow: 0 0 0 8px rgba(37, 99, 235, .08);
}

.cms-calendar-edit-zone {
  outline-color: #2563eb !important;
  box-shadow: 0 0 0 8px rgba(37, 99, 235, .12), 0 0 42px rgba(37, 99, 235, .18) !important;
}

.cms-option-editor {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: rgba(221, 229, 239, .84);
  border: 1px solid var(--cms-border);
  border-radius: 16px;
}

.cms-option-editor header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cms-option-editor header p {
  margin: 4px 0 0;
  color: var(--cms-muted);
  font-size: 13px;
}

.cms-option-list {
  display: grid;
  gap: 10px;
}

.cms-option-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 10px;
  background: rgba(241, 245, 249, .86);
  border: 1px solid rgba(25, 35, 56, .12);
  border-radius: 14px;
}

.cms-option-row > button:first-child {
  display: grid;
  gap: 3px;
  min-height: 48px;
  text-align: left;
}

.cms-option-row strong {
  color: var(--cms-ink);
}

.cms-option-row small,
.cms-option-empty {
  color: var(--cms-muted);
}

.cms-option-fields {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}

.cms-option-fields[hidden] {
  display: none !important;
}

.event-calendar-grid .has-public-event::before,
.event-calendar-grid .has-private-event::before,
.event-calendar-grid .is-complete-event::before {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.event-calendar-grid .has-public-event::before {
  background: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, .76);
}

.event-calendar-grid .has-private-event::before {
  background: #d99125;
  box-shadow: 0 0 12px rgba(217, 145, 37, .76);
}

.event-calendar-grid .is-complete-event::before {
  background: var(--red);
  box-shadow: 0 0 12px rgba(227, 19, 34, .76);
}

.formation-options button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  color: rgba(245, 245, 240, .9);
  background: rgba(0, 0, 0, .34);
  border: 0;
  border-left: 3px solid var(--red);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: default;
}

.formation-options button.has-description {
  cursor: pointer;
}

.formation-options button.has-description:hover {
  color: #fff;
  background: rgba(227, 19, 34, .18);
}

.formation-option-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(6px);
}

.formation-option-modal.is-open {
  display: grid;
}

.formation-option-modal > div,
.shop-closed-page section {
  position: relative;
  width: min(620px, 100%);
  padding: 28px;
  color: #fff;
  background: rgba(5, 5, 5, .94);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .62);
}

.formation-option-modal button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
}

.shop-closed-page {
  display: grid;
  min-height: calc(100vh - 230px);
  place-items: center;
  padding: 24px;
}

@media (max-width: 1100px) {
  .cms-shell {
    grid-template-columns: 1fr;
  }

  .cms-sidebar {
    position: static;
    height: auto;
  }

  .cms-grid-3 {
    grid-template-columns: 1fr;
  }

  .cms-backstore-toolbar,
  .cms-backstore-grid,
  .cms-schedule-dashboard,
  .cms-product-layout,
  .cms-image-tools {
    grid-template-columns: 1fr;
  }

  .cms-product-media {
    position: static;
  }
}

.video-carousel {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.event-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 54px);
  background: rgba(0, 0, 0, .84);
  backdrop-filter: blur(8px);
}

.reservation-toast {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 54px);
  background: rgba(0, 0, 0, .84);
  backdrop-filter: blur(8px);
}

.reservation-modal {
  position: fixed;
  inset: 0;
  z-index: 115;
  display: none;
  padding: clamp(18px, 4vw, 54px);
  background: rgba(0, 0, 0, .84);
  backdrop-filter: blur(8px);
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 115;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 54px);
  background: rgba(0, 0, 0, .84);
  backdrop-filter: blur(8px);
}

.contact-modal.is-open {
  display: flex;
}

.contact-modal-panel {
  position: relative;
  width: min(620px, 94vw);
  padding: clamp(24px, 3.5vw, 42px);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .035), transparent 28%),
    linear-gradient(180deg, rgba(6, 6, 7, .82), rgba(0, 0, 0, .72));
  border: 1px solid rgba(255, 255, 255, .08);
  outline: 1px solid rgba(0, 0, 0, .78);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .64);
}

.contact-modal-panel h2 {
  margin: 0 0 16px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: .92;
  text-transform: uppercase;
}

.contact-modal-panel p:not(.event-kicker) {
  margin: 0 0 14px;
  color: rgba(245, 245, 240, .86);
  font-size: 18px;
  line-height: 1.5;
}

.contact-modal-panel a {
  color: #fff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  text-transform: uppercase;
}

.contact-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  background: rgba(227, 19, 34, .84);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.reservation-modal.is-open {
  display: flex;
}

.reservation-modal-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(620px, 94vw);
  max-height: min(86vh, 760px);
  overflow: auto;
  padding: clamp(24px, 3.5vw, 42px);
  transform: translate(-50%, -50%);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .035), transparent 28%),
    linear-gradient(180deg, rgba(6, 6, 7, .82), rgba(0, 0, 0, .72));
  border: 1px solid rgba(255, 255, 255, .08);
  outline: 1px solid rgba(0, 0, 0, .78);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .64);
}

.reservation-modal-panel h2 {
  margin: 0 0 16px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: .92;
  text-transform: uppercase;
}

.reservation-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  background: rgba(227, 19, 34, .84);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.reservation-toast.is-open {
  display: flex;
}

.reservation-toast-panel {
  position: relative;
  width: min(620px, 94vw);
  padding: clamp(24px, 3.5vw, 42px);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .035), transparent 28%),
    linear-gradient(180deg, rgba(6, 6, 7, .82), rgba(0, 0, 0, .72));
  border: 1px solid rgba(255, 255, 255, .08);
  outline: 1px solid rgba(0, 0, 0, .78);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .64);
}

.reservation-toast-panel h2 {
  margin: 0 0 14px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: .92;
  text-transform: uppercase;
}

.reservation-toast-panel p {
  margin: 0;
  color: rgba(245, 245, 240, .88);
  font-size: 18px;
  line-height: 1.55;
}

.reservation-toast-panel a {
  color: #fff;
  font-weight: 800;
}

.reservation-toast-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  background: rgba(227, 19, 34, .84);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.event-modal.is-open {
  display: flex;
}

.event-modal-panel {
  position: relative;
  width: min(960px, 94vw);
  max-height: 88vh;
  overflow: auto;
  padding: clamp(24px, 3.5vw, 44px);
  border-radius: 14px;
}

.event-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  background: rgba(227, 19, 34, .84);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.event-modal-panel h2 {
  margin: 0 0 16px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(44px, 5vw, 72px);
  line-height: .9;
  text-transform: uppercase;
}

.event-modal-panel > p:not(.event-kicker) {
  max-width: 820px;
  margin: 0 0 22px;
  color: rgba(245, 245, 240, .86);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
}

.event-modal-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.event-modal-details div {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, .34);
  border: 1px solid rgba(255, 255, 255, .075);
}

.event-modal-details span,
.event-modal-list h3 {
  color: var(--red);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.event-modal-details strong {
  color: rgba(245, 245, 240, .92);
  line-height: 1.3;
}

.event-modal-list {
  margin-top: 20px;
}

.event-modal-list h3 {
  margin: 0 0 10px;
}

.event-modal-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-modal-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(225, 225, 219, .88);
  line-height: 1.45;
}

.event-modal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 10px rgba(227, 19, 34, .5);
}

.event-reserve-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  min-height: 46px;
  padding: 0 18px;
  color: #fff;
  background: rgba(227, 19, 34, .86);
  border: 1px solid rgba(255, 255, 255, .12);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.social-intro {
  margin: clamp(28px, 2.8vw, 42px) 0 -1px;
  color: rgba(250, 250, 244, .96);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(18px, 1.55vw, 21px);
  font-weight: 800;
  letter-spacing: 1.55px;
  text-transform: uppercase;
  text-align: center;
  text-shadow:
    0 2px 14px rgba(0, 0, 0, .9),
    0 0 10px rgba(227, 19, 34, .18);
}

.social-intro::before,
.social-intro::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  margin: 0 10px 5px;
  background: rgba(227, 19, 34, .9);
  box-shadow: 0 0 10px rgba(227, 19, 34, .5);
}

.social-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
  max-width: 620px;
  margin: 0 auto;
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
  font-weight: 800;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  color: rgba(255, 255, 250, .98);
  background: linear-gradient(180deg, rgba(14, 14, 15, .86), rgba(0, 0, 0, .7));
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow:
    0 16px 42px rgba(0, 0, 0, .38),
    inset 0 1px 0 rgba(255, 255, 255, .04);
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .8);
}

.social-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: var(--red);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-link:hover {
  border-color: rgba(227, 19, 34, .82);
  box-shadow:
    0 16px 42px rgba(0, 0, 0, .42),
    0 0 24px rgba(227, 19, 34, .22);
}

.video-player {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0;
  background: rgba(0, 0, 0, .62);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, .68),
    0 0 44px rgba(227, 19, 34, .1);
}

.video-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-loading,
.video-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: rgba(0, 0, 0, .42);
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}

.video-peek {
  display: none;
}

.video-peek-left {
  mask-image: linear-gradient(90deg, transparent 0%, black 42%, black 100%);
}

.video-peek-right {
  mask-image: linear-gradient(90deg, black 0%, black 58%, transparent 100%);
}

.video-peek img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-peek span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .9);
  overflow-wrap: anywhere;
}

.carousel-arrow {
  display: none;
}

.placeholder-section {
  min-height: 220px;
  margin-top: 22px;
  border: 0;
  background: transparent;
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 16px;
  }

  nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .logo-video-stage {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-content-grid {
    grid-template-columns: 1fr;
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .hero-content-grid > h1 {
    max-width: 100%;
    font-size: clamp(25px, 7.1vw, 34px);
    white-space: normal;
    overflow-wrap: normal;
  }

  .logo-stage {
    justify-items: center;
  }

  .hero-copy {
    text-align: left;
    max-width: none;
  }

  .hero-copy p:last-child {
    max-width: none;
  }

  .video-carousel {
    width: 100%;
    padding-inline: 0;
  }

  .video-peek {
    display: none;
  }

  .social-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-links-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trainer-grid {
    grid-template-columns: 1fr;
  }

  .trainer-card,
  .trainer-card img {
    height: clamp(460px, 122vw, 620px);
  }

  .credentials-copy,
  .credentials-list ul,
  .about-company-grid {
    grid-template-columns: 1fr;
  }

  .about-company-card-wide,
  .about-company-logo-card {
    grid-column: auto;
  }

  .event-feature {
    grid-template-columns: 1fr;
  }

  .events-dashboard-grid,
  .event-modal-details,
  .event-modal-list ul {
    grid-template-columns: 1fr;
  }

  .events-dashboard {
    width: min(100%, calc(100vw - 36px));
  }

  .event-summary-card {
    min-height: clamp(420px, 112vw, 560px);
  }

  .event-summary-image {
    object-position: center 34%;
  }

  .event-copy {
    max-width: none;
  }

  .event-details {
    grid-template-columns: 1fr;
  }

  .formation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-modules {
    columns: 1;
  }

  .image-bank-card {
    flex-basis: 76vw;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox-nav {
    width: 40px;
    height: 58px;
    font-size: 42px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .carousel-arrow {
    width: 34px;
    height: 52px;
    font-size: 38px;
  }

  .carousel-arrow-left {
    left: 0;
  }

  .carousel-arrow-right {
    right: 0;
  }
}

@media (max-width: 640px) {
  .formation-grid {
    grid-template-columns: 1fr;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

  .shop-cart-item {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .shop-cart-controls {
    grid-column: 2;
    justify-self: start;
  }

  .shop-cart-edit {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .shop-cart-remove {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 420px) {
  .social-links,
  .quick-links-section {
    grid-template-columns: 1fr;
  }
}
