html.shirt-day-on {
  --shirt-day-bar-h: 42px;
}

html.shirt-day-on .site-header {
  top: var(--shirt-day-bar-h);
}

html.shirt-day-on .language-switcher:not(.language-switcher--inline) {
  top: calc(var(--shirt-day-bar-h) + 116px + env(safe-area-inset-top));
}

html.shirt-day-off [data-shirt-day],
html.shirt-day-off .shirt-day-bar,
html.shirt-day-off .shirt-day-card,
html.shirt-day-off .shirt-day-card-backdrop {
  display: none !important;
}

.shirt-day-note {
  margin: 12px 0 0;
  max-width: 38em;
  color: #1b123d;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.shirt-day-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--shirt-day-bar-h);
  padding: 8px 16px;
  color: #1b123d;
  background: #ffd36a;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  text-align: center;
}

.shirt-day-bar:hover,
.shirt-day-bar:focus-visible {
  color: #1b123d;
  filter: brightness(1.04);
}

.shirt-day-bar__copy {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.shirt-day {
  scroll-margin-top: calc(var(--shirt-day-bar-h, 0px) + 104px);
  padding: clamp(48px, 8vw, 92px) 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 12%, rgba(74, 189, 207, 0.22), transparent 42%),
    linear-gradient(165deg, #24184c 0%, #1b123d 55%, #120c28 100%);
}

.shirt-day__row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  width: min(100% - 48px, 1100px);
  margin-inline: auto;
}

.shirt-day__visual img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: #f4f1ea;
}

.shirt-day__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.55rem, 3.1vw, 2.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.shirt-day__note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.45;
}

.shirt-day__cta {
  margin-top: 22px;
}

.shirt-day-card-backdrop {
  position: fixed;
  inset: 0;
  z-index: 139;
  border: 0;
  padding: 0;
  background: rgba(12, 8, 28, 0.52);
  cursor: pointer;
}

.shirt-day-card {
  position: fixed;
  z-index: 140;
  top: 50%;
  left: 50%;
  width: min(480px, calc(100vw - 28px));
  max-height: calc(100svh - 28px);
  overflow: auto;
  padding: 18px 18px 22px;
  border: 0;
  border-radius: 22px;
  color: #1b123d;
  background: #ffffff;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
  transform: translate(-50%, -50%);
}

.shirt-day-card[hidden],
.shirt-day-card-backdrop[hidden] {
  display: none;
}

.shirt-day-card__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  color: #1b123d;
  background: rgba(255, 255, 255, 0.92);
  font-size: 1.4rem;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.shirt-day-card__photo {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 14px;
  border-radius: 14px;
  background: #f4f1ea;
}

.shirt-day-card__eyebrow {
  margin: 0 0 6px;
  color: #8a6a12;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.shirt-day-card__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.shirt-day-card__text {
  margin: 10px 0 0;
  font-size: 0.98rem;
  line-height: 1.45;
}

.shirt-day-card__cta {
  display: flex;
  width: 100%;
  margin-top: 16px;
  justify-content: center;
}

@media (max-width: 800px) {
  .shirt-day__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  html.shirt-day-on {
    --shirt-day-bar-h: 52px;
  }

  .shirt-day-bar__copy {
    font-size: 0.72rem;
  }
}
