/* Official UGG Modern homepage presentation (scoped) */

body.officialugg-modern-home,
body.officialugg-modern-home *,
body.officialugg-modern-home *::before,
body.officialugg-modern-home *::after {
  box-sizing: border-box;
}

body.officialugg-modern-home {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --text: #121212;
  --muted: #5f5a54;
  --line: #ddd5cb;
  --accent: #1f1f1f;
  --green: #0b5c3b;
  --focus: #0b5c3b;
  --max: 76rem;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 0.85rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 1rem;
}

html:has(body.officialugg-modern-home) {
  scroll-behavior: smooth;
}

html:has(body.officialugg-modern-home),
body.officialugg-modern-home {
  overflow-x: clip;
}

body.officialugg-modern-home img {
  display: block;
  max-width: 100%;
  height: auto;
}

body.officialugg-modern-home a {
  color: inherit;
}

body.officialugg-modern-home .skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  background: var(--text);
  color: #fff;
  padding: 0.6rem 0.9rem;
  text-decoration: none;
}

body.officialugg-modern-home .skip-link:focus {
  top: 1rem;
}

body.officialugg-modern-home :focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

body.officialugg-modern-home .site-header {
  background: rgba(247, 244, 239, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
}

body.officialugg-modern-home .header-inner,
body.officialugg-modern-home .section-inner,
body.officialugg-modern-home .footer-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

body.officialugg-modern-home .header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

body.officialugg-modern-home .brand {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
}

body.officialugg-modern-home .site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}

body.officialugg-modern-home .site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.officialugg-modern-home .site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

body.officialugg-modern-home .menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  font: inherit;
  cursor: pointer;
}

body.officialugg-modern-home .hero-campaign {
  position: relative;
  min-height: min(86vh, 46rem);
  display: grid;
  align-items: end;
  color: #fff;
  background: #111;
  overflow: hidden;
}

body.officialugg-modern-home .hero-media {
  position: absolute;
  inset: 0;
}

body.officialugg-modern-home .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

body.officialugg-modern-home .hero-campaign::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.28) 48%, rgba(0, 0, 0, 0.12) 100%);
}

body.officialugg-modern-home .hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 40rem);
  margin: 0 auto 0 min(max(1rem, calc((100% - var(--max)) / 2 + 1rem)), 8rem);
  padding: 4rem 0 3.5rem;
}

body.officialugg-modern-home .eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.officialugg-modern-home .hero-content h1,
body.officialugg-modern-home .section h2,
body.officialugg-modern-home .discovery h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 0.9rem;
}

body.officialugg-modern-home .hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  max-width: 12ch;
}

body.officialugg-modern-home .hero-lead,
body.officialugg-modern-home .lead {
  color: inherit;
  max-width: 34rem;
  margin: 0 0 1.4rem;
}

body.officialugg-modern-home .hero-lead {
  color: rgba(255, 255, 255, 0.9);
}

body.officialugg-modern-home .hero-actions,
body.officialugg-modern-home .price-row,
body.officialugg-modern-home .section-header,
body.officialugg-modern-home .trust-grid,
body.officialugg-modern-home .category-tiles,
body.officialugg-modern-home .product-grid,
body.officialugg-modern-home .split-grid,
body.officialugg-modern-home .discovery,
body.officialugg-modern-home .footer-grid {
  display: flex;
}

body.officialugg-modern-home .hero-actions {
  gap: 0.8rem;
  flex-wrap: wrap;
}

body.officialugg-modern-home .btn,
body.officialugg-modern-home .btn-dark,
body.officialugg-modern-home .btn-light,
body.officialugg-modern-home .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
}

body.officialugg-modern-home .btn-light {
  background: #fff;
  color: #111;
}

body.officialugg-modern-home .btn-dark {
  background: #111;
  color: #fff;
}

body.officialugg-modern-home .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

body.officialugg-modern-home .section {
  padding: var(--space-xl) 0;
}

body.officialugg-modern-home .section-alt {
  background: #efe8dd;
}

body.officialugg-modern-home .section-header {
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

body.officialugg-modern-home .section-header h2,
body.officialugg-modern-home .discovery h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

body.officialugg-modern-home .text-link {
  color: var(--green);
  font-size: 0.9rem;
  text-underline-offset: 0.18em;
}

body.officialugg-modern-home .trust-strip {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

body.officialugg-modern-home .trust-grid {
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

body.officialugg-modern-home .trust-grid p {
  margin: 0;
}

body.officialugg-modern-home .category-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

body.officialugg-modern-home .category-tile {
  position: relative;
  display: block;
  min-height: 18rem;
  overflow: hidden;
  background: #ddd;
  text-decoration: none;
  color: #fff;
  min-width: 0;
}

body.officialugg-modern-home .category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 18rem;
  transition: transform 0.35s ease;
}

body.officialugg-modern-home .category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.05));
}

body.officialugg-modern-home .category-tile span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

body.officialugg-modern-home .category-tile:hover img {
  transform: scale(1.04);
}

body.officialugg-modern-home .product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

body.officialugg-modern-home .product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 0;
}

body.officialugg-modern-home .product-card-image {
  display: block;
  background: #f0ebe3;
  aspect-ratio: 5 / 6;
  overflow: hidden;
}

body.officialugg-modern-home .product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.officialugg-modern-home .product-card-body {
  padding: 0.9rem 0.95rem 1.1rem;
}

body.officialugg-modern-home .product-card-title {
  display: block;
  text-decoration: none;
  font-size: 0.98rem;
  margin-bottom: 0.45rem;
}

body.officialugg-modern-home .price-row {
  gap: 0.55rem;
  align-items: baseline;
  flex-wrap: wrap;
}

body.officialugg-modern-home .price-current {
  font-weight: 600;
}

body.officialugg-modern-home .price-rrp {
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

body.officialugg-modern-home .price-rrp.is-compare {
  text-decoration: line-through;
}

body.officialugg-modern-home .product-card-body .price-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

body.officialugg-modern-home .product-card .price-current {
  font-size: 1.02rem;
}

body.officialugg-modern-home .featured-fallback {
  color: var(--muted);
  margin: 0;
}

body.officialugg-modern-home .featured-fallback a {
  color: var(--green);
}

body.officialugg-modern-home .trust-badge-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

body.officialugg-modern-home .trust-badge-row img {
  height: 42px;
  width: auto;
}

body.officialugg-modern-home .campaign-split .split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: center;
}

body.officialugg-modern-home .campaign-split.reverse .split-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

body.officialugg-modern-home .campaign-split.reverse .split-copy {
  order: 2;
}

body.officialugg-modern-home .campaign-split.reverse .split-media {
  order: 1;
}

body.officialugg-modern-home .split-copy p {
  color: var(--muted);
  max-width: 34rem;
}

body.officialugg-modern-home .split-media {
  overflow: hidden;
  min-width: 0;
}

body.officialugg-modern-home .split-media img {
  width: 100%;
  height: min(28rem, 70vw);
  object-fit: cover;
}

body.officialugg-modern-home .discovery {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
}

body.officialugg-modern-home .discovery p {
  color: var(--muted);
  margin-top: 0;
}

body.officialugg-modern-home .discovery-list {
  padding-left: 1.1rem;
  color: var(--muted);
}

body.officialugg-modern-home .site-footer {
  border-top: 1px solid var(--line);
  background: #111;
  color: #f5f1ea;
  padding: 2.5rem 0 2rem;
}

body.officialugg-modern-home .footer-grid {
  flex-wrap: wrap;
  gap: 0.9rem 1.4rem;
  margin-bottom: 1.4rem;
}

body.officialugg-modern-home .footer-grid a {
  color: #f5f1ea;
  text-decoration: none;
  font-size: 0.9rem;
}

body.officialugg-modern-home .footer-note {
  margin: 0;
  color: rgba(245, 241, 234, 0.72);
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  body.officialugg-modern-home .category-tiles,
  body.officialugg-modern-home .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.officialugg-modern-home .campaign-split .split-grid,
  body.officialugg-modern-home .campaign-split.reverse .split-grid,
  body.officialugg-modern-home .discovery {
    grid-template-columns: 1fr;
  }

  body.officialugg-modern-home .campaign-split.reverse .split-copy,
  body.officialugg-modern-home .campaign-split.reverse .split-media {
    order: initial;
  }
}

@media (max-width: 760px) {
  body.officialugg-modern-home .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body.officialugg-modern-home .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1rem;
  }

  body.officialugg-modern-home .site-nav.is-open {
    display: block;
  }

  body.officialugg-modern-home .site-nav ul {
    flex-direction: column;
    gap: 0.85rem;
  }

  body.officialugg-modern-home .hero-content {
    margin-left: 1rem;
    margin-right: 1rem;
    width: auto;
    padding-bottom: 2.4rem;
  }

  body.officialugg-modern-home .hero-campaign {
    min-height: 34rem;
  }

  body.officialugg-modern-home .category-tiles,
  body.officialugg-modern-home .product-grid {
    grid-template-columns: 1fr;
  }

  body.officialugg-modern-home .category-tile,
  body.officialugg-modern-home .category-tile img {
    min-height: 14rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.officialugg-modern-home) {
    scroll-behavior: auto;
  }

  body.officialugg-modern-home .category-tile img {
    transition: none;
  }
}
