/* Homepage-specific final layer. Kept separate from legacy universe styles. */
body.uns-body {
  --uns-red: #ef1732;
  --uns-navy: #07162f;
  background: #f7f8fb;
}

.uns-home::before,
.uns-home::after {
  display: none;
}

.uns-body .site-header {
  background: rgba(255, 255, 255, .97);
  border-bottom-color: #edf0f5;
  box-shadow: 0 7px 22px rgba(7, 22, 47, .06);
}

.uns-header-inner {
  width: min(calc(100% - 28px), 1120px);
}

.uns-brand-link img {
  height: 40px;
  max-width: 176px;
}

.uns-mobile-market {
  justify-self: end;
  color: var(--uns-navy);
}

.uns-mobile-market .svg-icon {
  width: 26px;
  height: 26px;
}

.uns-mobile-purchases .svg-icon {
  width: 20px;
  height: 20px;
}

.uns-search {
  position: relative;
}

.uns-search::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 17px;
  width: 15px;
  height: 15px;
  border: 2px solid #687185;
  border-radius: 50%;
  transform: translateY(-58%);
  pointer-events: none;
}

.uns-search::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 55%;
  left: 31px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: #687185;
  transform: rotate(45deg);
  transform-origin: left center;
  pointer-events: none;
}

.uns-search input {
  width: 100%;
  min-height: 44px;
  padding: 0 18px 0 46px;
  border: 1px solid #dfe3ea;
  border-radius: 999px;
  color: var(--uns-navy);
  background: #fafbfc;
  font-size: .94rem;
}

.uns-hero.uns-hero-simple {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(calc(100% - 28px), 1120px);
  min-height: 420px;
  margin: 16px auto 0;
  padding: 0;
  display: block;
  border-radius: 12px;
  background: #f7f5f1;
  box-shadow: 0 18px 44px rgba(7, 22, 47, .1);
}

.uns-hero-simple-media {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.uns-hero-simple-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.uns-hero-simple-copy {
  width: min(52%, 560px);
  min-height: 420px;
  padding: 54px 0 42px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.uns-hero-eyebrow {
  margin: 0 0 15px;
  color: #5e6878;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.uns-hero-eyebrow::after {
  content: "";
  width: 52px;
  height: 3px;
  margin-top: 10px;
  display: block;
  border-radius: 3px;
  background: var(--uns-red);
}

.uns-hero.uns-hero-simple h1 {
  max-width: 560px;
  margin: 0;
  color: var(--uns-navy);
  font-size: clamp(2.45rem, 4.2vw, 4rem);
  font-weight: 900;
  line-height: 1.03;
}

.uns-hero.uns-hero-simple h1 strong {
  color: var(--uns-red);
  font-weight: inherit;
}

.uns-hero-summary {
  max-width: 430px;
  margin: 18px 0 0;
  color: #465264;
  font-size: clamp(.98rem, 1.6vw, 1.16rem);
  line-height: 1.45;
}

.uns-hero-primary {
  min-height: 50px;
  margin-top: 25px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  border-radius: 8px;
  color: #fff;
  background: var(--uns-red);
  box-shadow: 0 12px 24px rgba(239, 23, 50, .24);
  font-size: .95rem;
  font-weight: 850;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.uns-hero-primary .svg-icon {
  width: 18px;
  height: 18px;
}

.uns-hero-primary:hover,
.uns-hero-primary:focus-visible {
  color: #fff;
  background: #d90d28;
  box-shadow: 0 15px 30px rgba(217, 13, 40, .3);
  transform: translateY(-2px);
}

.uns-section.uns-universes {
  padding-top: 20px;
  padding-bottom: 16px;
}

.uns-universes .uns-section-head {
  margin-bottom: 12px;
}

.uns-universes .uns-section-head::after {
  color: var(--uns-red);
}

.uns-universe-card,
.uns-universe-card.tone-blue,
.uns-universe-card.tone-purple,
.uns-universe-card.tone-orange,
.uns-universe-card.tone-green,
.uns-universe-card.tone-rose,
.uns-universe-card.tone-teal,
.uns-universe-card.tone-violet,
.uns-universe-card.tone-amber {
  border-color: #eef0f4;
  background: #fff;
  box-shadow: 0 10px 25px rgba(7, 22, 47, .07);
}

/* Refreshed best-sellers section. */
.uns-section.uns-featured {
  padding-top: 28px;
  padding-bottom: 28px;
}

.uns-featured .uns-section-head {
  margin-bottom: 14px;
}

.uns-featured .uns-section-head::after {
  color: var(--uns-red);
}

.uns-featured-filters {
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 3px;
}

.uns-featured-filters button {
  min-height: 38px;
  padding: 7px 15px;
  border-color: #e1e5eb;
  border-radius: 999px;
  color: #4b5668;
  background: #fff;
  font-size: .78rem;
  box-shadow: 0 5px 14px rgba(7, 22, 47, .04);
}

.uns-featured-filters button[aria-pressed="true"] {
  border-color: var(--uns-navy);
  color: #fff;
  background: var(--uns-navy);
}

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

.uns-featured-grid .uns-featured-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e8ebf0;
  border-radius: 8px;
  color: var(--uns-navy);
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 22, 47, .08);
}

.uns-featured-grid .uns-featured-card:hover,
.uns-featured-grid .uns-featured-card:focus-visible {
  border-color: rgba(239, 23, 50, .35);
  box-shadow: 0 18px 38px rgba(7, 22, 47, .13);
  transform: translateY(-4px);
}

.uns-featured-grid .uns-featured-media {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  flex: 0 0 auto;
  aspect-ratio: 4 / 3;
  padding: 15px;
  border-bottom: 1px solid #eef0f3;
  background: #f5f6f8;
}

.uns-featured-grid .uns-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.uns-featured-popular {
  position: absolute;
  top: 10px;
  left: 10px;
  min-height: 25px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--uns-red);
  box-shadow: 0 6px 14px rgba(239, 23, 50, .22);
  font-size: .64rem;
  font-weight: 850;
  text-transform: uppercase;
}

.uns-featured-grid .uns-featured-copy {
  min-width: 0;
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.uns-featured-grid .uns-featured-copy .uns-kicker {
  margin: 0 0 7px;
  display: block;
  color: var(--uns-red);
  font-size: .65rem;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
}

.uns-featured-grid .uns-featured-copy h3 {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: var(--uns-navy);
  font-size: clamp(.94rem, 1.7vw, 1.08rem);
  font-weight: 850;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.uns-featured-meta {
  min-height: 42px;
  margin-top: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.uns-featured-meta strong {
  color: var(--uns-red);
  font-size: 1rem;
  font-weight: 900;
}

.uns-featured-meta small {
  color: #778092;
  font-size: .7rem;
  white-space: nowrap;
}

.uns-featured-grid .uns-featured-copy .uns-featured-action {
  width: 100%;
  min-height: 39px;
  margin-top: 10px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--uns-navy);
  font-size: .76rem;
  font-weight: 850;
}

.uns-featured-action .svg-icon {
  width: 16px;
  height: 16px;
}

.uns-featured-action::after {
  display: none;
}

.uns-featured-whatsapp {
  margin-top: 16px;
  border-radius: 8px;
  background: #fff;
}

@media (max-width: 959px) {
  .uns-header-inner {
    padding: 8px 0 11px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    grid-template-rows: 46px 48px;
    gap: 8px 10px;
  }

  .uns-nav-toggle,
  .uns-brand-link,
  .uns-mobile-market {
    grid-row: 1;
  }

  .uns-nav-toggle { grid-column: 1; }
  .uns-brand-link { grid-column: 2; }
  .uns-mobile-market { grid-column: 3; }

  .uns-search {
    grid-column: 1 / -1;
    grid-row: 2;
    display: block;
  }

  .uns-search input {
    min-height: 46px;
  }

  .uns-site-nav {
    top: 112px;
  }
}

@media (min-width: 960px) {
  .uns-mobile-market {
    display: none;
  }
}

@media (max-width: 767px) {
  .uns-hero.uns-hero-simple {
    width: min(calc(100vw - 22px), 430px) !important;
    max-width: min(calc(100vw - 22px), 430px) !important;
    min-height: 190px;
    margin-top: 10px;
    border-radius: 10px;
  }

  .uns-hero-simple-media {
    object-position: center;
  }

  .uns-hero-simple-media img {
    object-position: center;
  }

  .uns-hero-simple-copy {
    width: 58%;
    min-height: 190px;
    padding: 17px 0 16px 15px;
    justify-content: center;
  }

  .uns-hero-eyebrow {
    display: none;
  }

  .uns-hero-eyebrow::after {
    width: 36px;
    height: 2px;
    margin-top: 7px;
  }

  .uns-hero.uns-hero-simple h1 {
    max-width: 205px;
    font-size: clamp(1.35rem, 6.2vw, 1.72rem);
    line-height: 1.02;
  }

  .uns-hero-summary {
    display: none;
  }

  .uns-hero-primary {
    min-height: 38px;
    margin-top: 12px;
    padding: 0 13px;
    gap: 8px;
    border-radius: 7px;
    font-size: clamp(.67rem, 2.7vw, .78rem);
  }

  .uns-hero-primary .svg-icon {
    width: 15px;
    height: 15px;
  }

  .uns-section.uns-universes {
    padding-top: 14px;
  }

  .uns-universes .uns-section-head {
    margin-bottom: 10px;
  }

  .uns-universe-card {
    min-height: 108px;
    border-radius: 10px;
  }

  .uns-section.uns-featured {
    padding-top: 24px;
  }

  .uns-featured-grid {
    width: calc(100vw - 11px);
    max-width: none;
    margin-right: -11px;
    padding: 2px 11px 13px 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(168px, 57vw);
    grid-template-columns: none;
    gap: 11px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .uns-featured-grid::-webkit-scrollbar {
    display: none;
  }

  .uns-featured-grid .uns-featured-card {
    min-height: 315px;
    scroll-snap-align: start;
  }

  .uns-featured-grid .uns-featured-media {
    aspect-ratio: 4 / 3;
    padding: 12px;
  }

  .uns-featured-grid .uns-featured-copy {
    padding: 12px;
  }

  .uns-featured-grid .uns-featured-copy h3 {
    font-size: .91rem;
  }

  .uns-featured-meta strong {
    font-size: .9rem;
  }
}

@media (min-width: 768px) and (max-width: 1079px) {
  .uns-featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .uns-featured-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 350px) {
  .uns-hero-simple-copy {
    width: 60%;
    padding-left: 13px;
  }

  .uns-hero.uns-hero-simple h1 {
    font-size: 1.48rem;
  }

  .uns-hero-summary {
    font-size: .7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uns-hero-primary {
    transition: none;
  }
}
