/* ===== MenuItem — mobile accordion (base) ===== */
/* No per-item dividers — top-level items are separated by whitespace for a
   calmer, premium rhythm. The drawer head/foot keep the only hairlines. */
.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md) 0;
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  cursor: pointer;
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__chevron {
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform 200ms ease;
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item.is-open .ethm-menu-item__chevron {
  transform: rotate(180deg);
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel {
  /* display:block overrides the UA [hidden]{display:none} baseline once this
     stylesheet loads. The `hidden` attr on the panel in the markup keeps it
     collapsed until then, preventing the dropdown lists from flashing open
     on a hard reload before this (late-loading) component CSS applies. */
  display: block;
  overflow: hidden;
  max-height: 0;
  transition: max-height 280ms ease;
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item.is-open .ethm-menu-item__panel {
  max-height: 1600px;
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: 0 0 var(--space-md) var(--space-sm);
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__viewall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand, var(--color-text));
  text-decoration: none;
  transition: gap 160ms ease;
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__viewall:hover {
  gap: 10px;
}

/* ---- Titled columns ---- */
.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__columns {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__column-title {
  display: block;
  margin-bottom: var(--space-xs);
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__link {
  position: relative;
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 160ms ease;
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__link:hover {
  color: var(--color-text);
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__link:hover::after {
  transform: scaleX(1);
}

/* ---- Flat list (no nested links) ---- */
.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__list-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 160ms ease, padding-left 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__list-arrow {
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 200ms ease, transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__list-link:hover {
  color: var(--color-text);
  padding-left: 8px;
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__list-link:hover .ethm-menu-item__list-arrow {
  opacity: 0.7;
  transform: translateX(0);
}

/* ---- Promo cards ---- */
.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
}

/* Text-only promo cards never look right squeezed into the image grid — stack
   them as full-width tiles instead (applies on mobile and inside content/full). */
.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__cards--text {
  grid-template-columns: 1fr;
  gap: 10px;
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-surface-alt);
  text-decoration: none;
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__card:has(img)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(26, 28, 28, 0.55) 100%);
  pointer-events: none;
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__card:hover img {
  transform: scale(1.05);
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__card-label {
  z-index: 1;
  position: absolute;
  left: var(--space-sm);
  right: var(--space-sm);
  bottom: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-body-lg);
  line-height: 1.15;
  color: var(--color-on-primary);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

/* Text-only promo tile: compact, fills fully on hover. align-self keeps it at
   its natural height when mixed beside a tall image card in the same grid. */
.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__card--text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  align-self: start;
  aspect-ratio: auto;
  min-height: 0;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface-alt);
  color: var(--color-text);
  transition: background 220ms ease, color 220ms ease;
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__card--text .ethm-menu-item__card-label {
  position: static;
  font-size: var(--text-body-lg);
  color: inherit;
  text-shadow: none;
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__card-arrow {
  flex-shrink: 0;
  color: inherit;
  opacity: 0.6;
  transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__card--text:hover {
  background: var(--brand, var(--color-inverse-surface));
  color: var(--color-on-primary);
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__card--text:hover .ethm-menu-item__card-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__trigger:focus-visible, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__link:focus-visible, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__list-link:focus-visible, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__column-title:focus-visible, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ===== Desktop — inline nav + hover panels ===== */
@media (min-width: 1024px) {
  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item {
    position: relative;
    border-bottom: none;
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__trigger {
    position: relative;
    width: auto;
    padding: 10px 0;
    gap: 5px;
    font-size: var(--text-label);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nav-link-color, var(--color-text));
    white-space: nowrap;
    transition: color 160ms ease;
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__trigger::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__trigger:hover::after, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item.has-panel:hover .ethm-menu-item__trigger::after, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item.has-panel:focus-within .ethm-menu-item__trigger::after {
    transform: scaleX(1);
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item.is-open .ethm-menu-item__chevron {
    transform: none;
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item.has-panel:hover .ethm-menu-item__chevron {
    transform: rotate(180deg);
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel {
    position: absolute;
    top: 100%;
    left: 0;
    max-height: none;
    overflow: visible;
    background: var(--color-surface);
    border: 1px solid var(--color-border-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 200ms ease, transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1),
      visibility 220ms;
    z-index: var(--z-dropdown);
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 14px;
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item.has-panel:hover .ethm-menu-item__panel, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item.has-panel:focus-within .ethm-menu-item__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__viewall {
    display: none;
  }

  /* ---- Compact dropdown (single list / single column) ---- */
  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--menu {
    min-width: 240px;
    max-width: 360px;
    box-shadow: 0 20px 48px rgba(26, 28, 28, 0.14);
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--menu .ethm-menu-item__panel-inner {
    padding: var(--space-sm) var(--space-md);
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--menu .ethm-menu-item__list-link {
    font-size: var(--text-body);
    padding: 9px 0;
  }

  /* ---- Mega: horizontal layout (links/columns beside promo cards). Shared by
     both width modes; --full / --content below only change width & sizing. ---- */
  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--mega .ethm-menu-item__panel-inner {
    flex-direction: row;
    align-items: flex-start;
  }

  /* Links/columns take the leftover width; cards never stretch. */
  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--mega .ethm-menu-item__columns, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--mega .ethm-menu-item__list {
    flex: 1 1 auto;
    min-width: 0;
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--mega .ethm-menu-item__cards {
    flex-shrink: 0;
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--mega .ethm-menu-item__columns {
    flex-direction: row;
    gap: clamp(var(--space-lg), 4vw, var(--space-2xl));
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--mega .ethm-menu-item__column {
    min-width: 150px;
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--mega .ethm-menu-item__column-title {
    margin-bottom: var(--space-md);
    padding-bottom: 10px;
    letter-spacing: 0.16em;
    border-bottom: 1px solid var(--color-border-soft);
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--mega .ethm-menu-item__list-link {
    font-family: var(--font-display);
    color: var(--color-text);
    padding: 6px 0;
  }

  /* === Full width: edge-to-edge bar; content is centered and capped so a short
     menu never leaves a dead gap in the middle. === */
  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item--mega {
    position: static;
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--full {
    left: 0;
    right: 0;
    width: auto;
    border-left: none;
    border-right: none;
    box-shadow: var(--shadow-float);
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--full::before {
    left: 0;
    right: 0;
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--full .ethm-menu-item__panel-inner {
    width: fit-content;
    max-width: var(--container-max);
    margin: 0 auto;
    justify-content: center;
    gap: clamp(var(--space-2xl), 7vw, var(--space-3xl));
    padding: var(--space-lg) var(--container-pad) var(--space-xl);
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--full .ethm-menu-item__list {
    max-width: 360px;
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--full .ethm-menu-item__list-link {
    font-size: var(--text-headline-md);
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--full .ethm-menu-item__cards {
    grid-template-columns: repeat(2, 240px);
    gap: var(--space-md);
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--full .ethm-menu-item__cards--text {
    grid-template-columns: 300px;
  }

  /* === Content width: auto-sized dropdown anchored under the trigger. Sized to
     its content (no narrow-dropdown squeeze, no full-bleed sprawl). === */
  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--content {
    width: max-content;
    max-width: min(760px, calc(100vw - 2 * var(--container-pad)));
    box-shadow: 0 20px 48px rgba(26, 28, 28, 0.14);
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--content .ethm-menu-item__panel-inner {
    flex-wrap: wrap;
    gap: clamp(var(--space-lg), 3vw, var(--space-xl));
    padding: var(--space-md) var(--space-lg);
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--content .ethm-menu-item__list {
    max-width: 300px;
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--content .ethm-menu-item__list-link {
    font-size: var(--text-body-lg);
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--content .ethm-menu-item__cards {
    grid-template-columns: repeat(2, 168px);
    gap: var(--space-sm);
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--content .ethm-menu-item__cards--text {
    grid-template-columns: 240px;
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__card-label {
    transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  /* Bigger headline only on the spacious full-bleed cards. */
  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--full .ethm-menu-item__card:not(.ethm-menu-item__card--text) .ethm-menu-item__card-label {
    font-size: var(--text-headline-md);
  }

  /* Image cards translate the label on hover; text tiles keep their static row. */
  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__card:not(.ethm-menu-item__card--text):hover .ethm-menu-item__card-label {
    transform: translateY(-4px);
  }

  /* Staggered reveal */
  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--mega .ethm-menu-item__column, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--mega .ethm-menu-item__card, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--mega .ethm-menu-item__list li {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 320ms ease, transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item.has-panel:hover .ethm-menu-item__panel--mega .ethm-menu-item__column, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item.has-panel:focus-within .ethm-menu-item__panel--mega .ethm-menu-item__column, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item.has-panel:hover .ethm-menu-item__panel--mega .ethm-menu-item__card, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item.has-panel:focus-within .ethm-menu-item__panel--mega .ethm-menu-item__card, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item.has-panel:hover .ethm-menu-item__panel--mega .ethm-menu-item__list li, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item.has-panel:focus-within .ethm-menu-item__panel--mega .ethm-menu-item__list li {
    opacity: 1;
    transform: none;
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--mega .ethm-menu-item__column:nth-child(2), .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--mega .ethm-menu-item__card:nth-child(1), .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--mega .ethm-menu-item__list li:nth-child(2) {
    transition-delay: 50ms;
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--mega .ethm-menu-item__column:nth-child(3), .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--mega .ethm-menu-item__card:nth-child(2), .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--mega .ethm-menu-item__list li:nth-child(3) {
    transition-delay: 100ms;
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--mega .ethm-menu-item__list li:nth-child(4) {
    transition-delay: 150ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__chevron, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__card img, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__card-label, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__link, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__list-link, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__list-arrow {
    transition: none;
  }

  .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--mega .ethm-menu-item__column, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--mega .ethm-menu-item__card, .cc_pSmp65GtZr_HSwatFdI3v .ethm-menu-item__panel--mega .ethm-menu-item__list li {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
