:root {
  --ink: #17171a;
  --ink-soft: #33343a;
  --muted: #70727a;
  --paper: #ffffff;
  --white: #ffffff;
  --panel: #f7f7f9;
  --line: #e6e6eb;
  --lavender: #d8d8ff;
  --pastel-blue: #bdd8ff;
  --lavender-deep: #a9a5f5;
  --accent: #6d62e8;
  --sans: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --display: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --page-pad: clamp(18px, 4vw, 72px);
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  overflow-x: hidden;
}

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

button {
  color: inherit;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

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

p,
h1,
h2,
h3,
ol {
  margin: 0;
}

.screen {
  position: relative;
  display: grid;
  width: 100%;
  height: 100svh;
  overflow: hidden;
}

.hero-screen {
  grid-template-rows: auto minmax(0, 1fr);
  padding: var(--header-height) var(--page-pad) 12px;
  background:
    radial-gradient(circle at 20% 18%, rgba(92, 139, 255, 0.56), transparent 29%),
    radial-gradient(circle at 51% 32%, rgba(193, 174, 255, 0.66), transparent 33%),
    radial-gradient(circle at 78% 17%, rgba(203, 191, 255, 0.78), transparent 27%),
    linear-gradient(180deg, #eef0ff 0%, #f4efff 59%, #ffffff 100%);
}

.hero-screen::before,
.hero-screen::after {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  content: "";
  pointer-events: none;
}

.hero-screen::before {
  top: 5%;
  left: 2%;
  width: 34vw;
  height: 32vw;
  background: rgba(73, 125, 255, 0.23);
}

.hero-screen::after {
  top: 0;
  right: 2%;
  width: 32vw;
  height: 28vw;
  background: rgba(185, 164, 255, 0.31);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 0 var(--page-pad);
  background: rgba(249, 249, 253, 0.76);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--line);
  box-shadow: 0 6px 22px rgba(30, 30, 50, 0.05);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 9px;
  font-size: 19px;
  font-weight: 800;
}

.brand-lockup img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 9px;
}

.site-header nav {
  display: flex;
  gap: clamp(18px, 2.6vw, 40px);
}

.site-header nav a {
  color: rgba(23, 23, 26, 0.58);
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms ease;
}

.site-header nav a:hover,
.site-header nav a.is-active {
  color: var(--ink);
}

.header-actions {
  display: flex;
  justify-self: end;
  gap: 8px;
}

.header-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 15px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.header-store span {
  font-size: 15px;
}

.mobile-shop-only {
  display: none !important;
}

.hero-copy {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: clamp(18px, 3vh, 34px) 0 clamp(16px, 2.8vh, 28px);
  text-align: center;
}

.hero-logo {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 11px;
  overflow: hidden;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(20, 20, 25, 0.08);
  border-radius: 13px;
  box-shadow: 0 5px 24px rgba(52, 48, 104, 0.11);
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-eyebrow,
.section-eyebrow {
  color: rgba(23, 23, 26, 0.52);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hero-copy h1 {
  max-width: 1240px;
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(36px, 3.45vw, 50px);
  font-weight: 550;
  letter-spacing: -0.05em;
  line-height: 1.3;
}

.hero-description {
  max-width: 660px;
  margin-top: 13px;
  color: var(--ink-soft);
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 500;
  line-height: 1.7;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 0;
  padding: 0 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}

.hero-shop-actions {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 18px;
}

.douyin-action {
  position: relative;
}

.douyin-button[aria-expanded="true"] {
  background: #34343b;
}

.douyin-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 40;
  width: 190px;
  padding: 11px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(31, 31, 55, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.douyin-popover::before {
  position: absolute;
  top: -14px;
  right: 0;
  left: 0;
  height: 14px;
  content: "";
}

.douyin-popover img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
}

.douyin-popover p {
  padding-top: 8px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.douyin-profile-link {
  display: block;
  margin-top: 8px;
  padding: 8px 10px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.douyin-profile-link:hover {
  background: var(--accent);
}

.douyin-action:hover .douyin-popover,
.douyin-action:focus-within .douyin-popover,
.douyin-action.is-open .douyin-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.primary-button:hover {
  background: #34343b;
  transform: translateY(-2px);
}

.style-trust {
  margin-top: clamp(18px, 2.8vh, 28px);
}

.style-trust > p {
  color: rgba(23, 23, 26, 0.55);
  font-size: 13px;
}

.style-trust > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 58px);
  margin-top: 17px;
}

.style-trust span {
  color: rgba(23, 23, 26, 0.8);
  font-size: clamp(15px, 1.35vw, 20px);
  font-weight: 700;
  white-space: nowrap;
}

.showcase {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-rows: 34px minmax(0, 1fr);
  justify-self: center;
  align-self: stretch;
  width: min(1220px, 88vw);
  min-height: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(30, 30, 35, 0.13);
  border-radius: 16px 16px 0 0;
  box-shadow:
    0 22px 70px rgba(42, 42, 76, 0.17),
    0 3px 12px rgba(42, 42, 76, 0.08);
}

.window-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  display: block;
  width: 7px;
  height: 7px;
  background: #d5d5da;
  border-radius: 50%;
}

.window-dots i:first-child {
  background: #ff7b66;
}

.window-dots i:nth-child(2) {
  background: #f4c761;
}

.window-dots i:nth-child(3) {
  background: #62c554;
}

.window-bar > p {
  color: #92949c;
  font-size: 11px;
  font-weight: 600;
}

.window-menu {
  justify-self: end;
  color: #999ba2;
  font-size: 14px;
  letter-spacing: 2px;
}

.window-body {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 0;
}

.window-sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 13px 11px;
  background: #f7f7f8;
  border-right: 1px solid var(--line);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
}

.sidebar-brand img {
  width: 23px;
  height: 23px;
  object-fit: cover;
  border-radius: 6px;
}

.sidebar-brand strong {
  font-size: 14px;
}

.window-sidebar > p {
  margin: 20px 5px 8px;
  color: #9a9ba2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.window-sidebar ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 34px;
  padding: 0 8px;
  color: #6f7077;
  border-radius: 7px;
  font-size: 11px;
  text-align: left;
  transition: color 150ms ease, background 150ms ease;
}

.sidebar-link span {
  color: #a0a1a8;
  font-size: 9px;
}

.sidebar-link:hover,
.sidebar-link.active {
  color: var(--ink);
  background: #ececf0;
}

.sidebar-link.active span {
  color: var(--accent);
}

.sidebar-summary {
  margin-top: auto;
  padding: 10px 5px 3px;
  border-top: 1px solid var(--line);
}

.sidebar-summary span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.sidebar-summary p {
  margin-top: 4px;
  color: #9a9ba2;
  font-size: 10px;
}

.window-main {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 48px;
  min-height: 0;
  padding: 12px 12px 9px;
  background:
    radial-gradient(circle at 75% 24%, rgba(199, 194, 255, 0.2), transparent 28%),
    #ffffff;
}

.carousel-slides {
  position: relative;
  min-height: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.carousel-slide.slide-count-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.carousel-slide.slide-count-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.carousel-slide.is-active {
  display: grid;
  animation: fade-slide 360ms ease both;
}

.carousel-slide.is-dragging {
  animation: none;
  cursor: grabbing;
}

@keyframes fade-slide {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #ececf0;
  border-radius: 10px;
  -webkit-user-drag: none;
  user-select: none;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

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

.product-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 15, 20, 0.78), transparent 37%);
  content: "";
}

.product-rank {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  min-width: 33px;
  padding: 5px 7px;
  color: var(--white);
  background: rgba(23, 23, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  backdrop-filter: blur(8px);
}

.product-info {
  position: absolute;
  right: 10px;
  bottom: 9px;
  left: 10px;
  z-index: 2;
  color: var(--white);
}

.product-info h3 {
  overflow: hidden;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-info p {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.carousel-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}

.carousel-arrow {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  background: #f2f2f4;
  border-radius: 50%;
  font-size: 17px;
  transition: color 150ms ease, background 150ms ease;
}

.carousel-arrow:hover {
  color: var(--white);
  background: var(--ink);
}

.carousel-dots {
  display: flex;
  flex: 1;
  gap: 7px;
}

.carousel-dot {
  flex: 1;
  height: 5px;
  background: #e3e3e8;
  border-radius: 999px;
}

.carousel-dot.is-active {
  background: var(--accent);
}

.carousel-counter {
  color: #8b8d95;
  font-size: 12px;
  font-weight: 600;
}

.carousel-counter b {
  color: var(--ink);
}

.scroll-note {
  position: absolute;
  bottom: 20px;
  left: 50%;
  z-index: 4;
  display: none;
}

.brand-screen {
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: clamp(12px, 1.7vh, 20px);
  padding: var(--header-height) var(--page-pad) 13px;
  background: #ffffff;
}

.brand-copy {
  padding-top: clamp(12px, 2vh, 24px);
  text-align: center;
}

.brand-copy h2 {
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(34px, 3.8vw, 58px);
  font-weight: 550;
  letter-spacing: -0.05em;
  line-height: 1.2;
}

.brand-description {
  max-width: 760px;
  margin: 11px auto 0;
  color: var(--muted);
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.7;
}

.category-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 5vw, 76px);
  min-height: 52px;
  border-bottom: 1px solid var(--line);
}

.category-strip span {
  color: #5d5f66;
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 600;
  white-space: nowrap;
}

.category-strip b {
  margin-right: 7px;
  color: var(--lavender-deep);
  font-size: 11px;
}

.brand-card-heading {
  padding-top: clamp(5px, 1vh, 12px);
  text-align: center;
}

.brand-card-heading h2 {
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.brand-card-heading p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

.brand-editorial {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  width: min(1180px, 90vw);
  min-height: 0;
  margin: 0 auto;
}

.editorial-item {
  display: grid;
  grid-template-columns: minmax(160px, 230px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 7vw, 120px);
  min-height: 0;
  padding: clamp(4px, 0.7vh, 10px) 0;
}

.editorial-image {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  width: clamp(108px, 14.5vh, 155px);
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  background: #f5f4f1;
  border: 1px solid #d9d9df;
}

.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-copy {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(8px, 1.25vh, 15px);
  min-width: 0;
  text-align: left;
}

.editorial-item:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(160px, 230px);
}

.editorial-item:nth-child(even) .editorial-image {
  grid-column: 2;
  justify-self: end;
}

.editorial-item:nth-child(even) .editorial-copy {
  grid-column: 1;
}

.editorial-index {
  color: var(--lavender-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.editorial-copy h3 {
  font-size: clamp(20px, 2vw, 30px);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.editorial-text {
  max-width: 760px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.brand-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(1400px, 94vw);
  min-height: auto;
  margin: 0 auto;
  align-items: stretch;
  align-self: start;
}

.brand-perks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(1400px, 94vw);
  margin: 0 auto;
}

.perk-item {
  min-width: 0;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.perk-item span {
  color: var(--lavender-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.perk-item h3 {
  margin-top: 7px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.perk-item p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.brand-card {
  display: grid;
  grid-template-rows: auto auto;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.card-visual {
  aspect-ratio: 7 / 6;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 25%, rgba(188, 180, 255, 0.76), transparent 57%),
    #eeedf8;
}

.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.card-body {
  display: flex;
  flex-direction: column;
  min-height: 166px;
  padding: clamp(13px, 1.5vw, 22px);
}

.card-body > p {
  color: var(--lavender-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.card-body h3 {
  margin-top: 5px;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.04em;
}

.card-body > span {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.contact-details span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.contact-details b {
  color: var(--ink);
}

.card-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  margin-top: auto;
  padding: 0 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.card-button b {
  font-size: 17px;
}

.mini-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  margin-top: 12px;
  padding-top: 10px;
}

.mini-timeline span {
  color: #5c5d64;
  font-size: 12px;
}

.mini-timeline b {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 13px;
}

.brand-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
  color: #9a9ba2;
  font-size: 12px;
  line-height: 1;
}

.footer-tagline {
  position: absolute;
  top: 50%;
  left: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-50%);
}

.footer-record {
  color: #777981;
  text-align: center;
  white-space: nowrap;
  transition: color 160ms ease;
}

.footer-record:hover {
  color: var(--accent);
}

.footer-back-top {
  position: absolute;
  top: 50%;
  right: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transform: translateY(-50%);
}

.noscript-message {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 30;
  padding: 15px;
  color: var(--white);
  background: var(--ink);
  border-radius: 12px;
  font-size: 14px;
  text-align: center;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .showcase {
    width: 94vw;
  }

  .window-body {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .style-trust > div {
    gap: 24px;
  }

  .brand-cards {
    width: 94vw;
  }
}

@media (max-width: 720px) {
  :root {
    --page-pad: 12px;
    --header-height: 48px;
  }

  .hero-screen {
    grid-template-rows: auto minmax(0, 1fr);
    padding: var(--header-height) 10px 8px;
  }

  .site-header {
    min-height: 48px;
  }

  .brand-lockup {
    gap: 7px;
    font-size: 17px;
  }

  .brand-lockup img {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .desktop-shop-only {
    display: none !important;
  }

  .mobile-shop-only {
    display: inline-flex !important;
  }

  .header-store {
    min-height: 32px;
    padding: 0 11px;
    font-size: 12px;
  }

  .hero-copy {
    padding: 9px 0 12px;
  }

  .hero-logo {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    border-radius: 11px;
  }

  .hero-eyebrow,
  .section-eyebrow {
    font-size: 10px;
  }

  .hero-copy h1 {
    max-width: 360px;
    margin-top: 7px;
    font-size: clamp(31px, 8.8vw, 40px);
    line-height: 1.22;
  }

  .hero-description {
    max-width: 340px;
    margin-top: 9px;
    font-size: 13px;
    line-height: 1.55;
  }

  .primary-button {
    min-height: 36px;
    margin-top: 0;
    padding: 0 15px;
    font-size: 12px;
  }

  .hero-shop-actions {
    gap: 8px;
    margin-top: 11px;
  }

  .douyin-popover {
    width: 172px;
  }

  .style-trust {
    display: none;
  }

  .showcase {
    width: 100%;
    max-height: 100%;
    border-radius: 13px 13px 0 0;
  }

  .window-bar {
    grid-template-columns: auto 1fr auto;
    padding: 0 9px;
  }

  .window-bar > p {
    justify-self: center;
    font-size: 9px;
  }

  .window-dots i {
    width: 6px;
    height: 6px;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .window-sidebar {
    display: none;
  }

  .window-main {
    grid-template-rows: minmax(0, 1fr) 42px;
    padding: 6px 6px 5px;
  }

  .carousel-slide,
  .carousel-slide.slide-count-4,
  .carousel-slide.slide-count-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    gap: 4px;
  }

  .carousel-slide.slide-count-3 .product-card:last-child,
  .carousel-slide.slide-count-5 .product-card:last-child {
    grid-column: span 2;
  }

  .carousel-slide.slide-count-1 .product-card {
    grid-column: span 2;
  }

  .product-rank {
    top: 5px;
    left: 5px;
    min-width: 26px;
    padding: 4px 5px;
    font-size: 9px;
  }

  .product-info {
    right: 6px;
    bottom: 5px;
    left: 6px;
  }

  .product-info h3 {
    font-size: 11px;
  }

  .product-info p {
    display: none;
  }

  .carousel-bar {
    gap: 7px;
    padding-top: 5px;
  }

  .carousel-arrow {
    width: 27px;
    height: 27px;
    font-size: 14px;
  }

  .carousel-dots {
    gap: 4px;
  }

  .carousel-dot {
    height: 4px;
  }

  .carousel-counter {
    font-size: 10px;
  }

  .brand-screen {
    grid-template-rows: auto minmax(0, 1fr);
    gap: 7px;
    padding: var(--header-height) 11px 8px;
  }

  .brand-copy {
    padding-top: 8px;
  }

  .brand-copy h2 {
    margin-top: 5px;
    font-size: clamp(26px, 7.4vw, 33px);
    line-height: 1.18;
  }

  .brand-description {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.5;
  }

  .category-strip {
    display: none;
  }

  .brand-editorial {
    width: 100%;
    padding-bottom: 54px;
  }

  .editorial-item {
    grid-template-columns: minmax(74px, 104px) minmax(0, 1fr);
    gap: 12px;
    padding: 6px 0;
  }

  .editorial-item:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(74px, 104px);
  }

  .editorial-image {
    width: clamp(74px, 23vw, 104px);
  }

  .editorial-copy {
    gap: 4px;
  }

  .editorial-index {
    font-size: 9px;
  }

  .editorial-copy h3 {
    font-size: 14px;
  }

  .editorial-text {
    font-size: 10px;
    line-height: 1.4;
  }

  .brand-card-heading {
    padding-top: 2px;
  }

  .brand-card-heading h2 {
    font-size: 20px;
  }

  .brand-card-heading p {
    margin-top: 3px;
    font-size: 11px;
  }

  .brand-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 230px;
    gap: 6px;
    width: 100%;
  }

  .brand-perks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  .perk-item {
    padding: 8px 10px;
    border-radius: 10px;
  }

  .perk-item h3 {
    margin-top: 3px;
    font-size: 13px;
  }

  .perk-item p {
    display: none;
  }

  .brand-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
    border-radius: 11px;
  }

  .card-visual {
    aspect-ratio: auto;
    height: 108px;
  }

  .card-body {
    min-height: 0;
    max-height: 122px;
    padding: 7px 9px;
    overflow: hidden;
  }

  .card-body > p {
    font-size: 9px;
  }

  .card-body h3 {
    margin-top: 2px;
    font-size: 16px;
  }

  .card-body > span {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.4;
  }

  .contact-details {
    gap: 5px;
    margin-top: 6px;
  }

  .contact-details span {
    font-size: 11px;
    line-height: 1.5;
  }

  .card-button {
    min-height: 30px;
    margin-top: 5px;
    padding: 0 10px;
    font-size: 10px;
  }

  .card-button b {
    font-size: 13px;
  }

  .mini-timeline {
    gap: 3px 8px;
    margin-top: 7px;
    padding-top: 4px;
  }

  .mini-timeline span {
    font-size: 9px;
  }

  .mini-timeline b {
    display: inline;
    margin: 0 3px 0 0;
    font-size: 10px;
  }

  .brand-footer {
    position: absolute;
    right: 11px;
    bottom: 8px;
    left: 11px;
    align-items: center;
    min-height: 42px;
    height: auto;
    padding: 5px 0 2px;
    font-size: 9px;
    line-height: 1.35;
    background: #ffffff;
  }

  .footer-tagline {
    display: none;
  }

  .footer-record,
  .footer-back-top {
    font-size: 9px;
  }
}

@media (max-height: 720px) {
  .hero-copy {
    padding-top: 5px;
    padding-bottom: 7px;
  }

  .hero-logo {
    width: 34px;
    height: 34px;
    margin-bottom: 5px;
  }

  .hero-copy h1 {
    margin-top: 3px;
    font-size: clamp(27px, 4vw, 48px);
  }

  .hero-description {
    margin-top: 5px;
    font-size: 12px;
  }

  .primary-button {
    min-height: 32px;
    margin-top: 0;
  }

  .hero-shop-actions {
    margin-top: 7px;
  }

  .style-trust {
    display: none;
  }

  .brand-copy {
    padding-top: 4px;
  }

  .brand-description {
    display: none;
  }

  .brand-card-heading {
    display: none;
  }

  .brand-cards {
    margin-top: 3px;
  }

  .card-visual {
    height: 92px;
  }

  .card-body {
    max-height: 115px;
  }

  .brand-cards {
    grid-auto-rows: 207px;
  }

  .card-body > span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
