/** Shopify CDN: Minification failed

Line 177:1 Expected "}" to go with "{"

**/
/* =========================================================
   LA CAP COMPANY — HEADER DESKTOP
   Dawn 15.5
   ========================================================= */

@media screen and (min-width: 990px) {

  /* Header más compacto */
  .header--top-center {
    padding-top: 10px !important;
    padding-bottom: 0 !important;
    row-gap: 0.4rem;
  }

  .header__heading-link {
    padding: 0 !important;
  }

  .header__heading-logo {
    width: auto;
    max-height: 92px;
    object-fit: contain;
  }

  /* Navegación en una sola línea */
  .header__inline-menu {
    width: 100%;
    margin-top: 0.2rem;
  }

  .header__inline-menu .list-menu--inline {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: clamp(0.1rem, 0.55vw, 0.8rem);
  }

  /* Enlaces principales */
  .header__menu-item {
    padding: 1.1rem clamp(0.65rem, 0.75vw, 1.2rem);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none !important;
  }

  .header__menu-item > span {
    position: relative;
    text-decoration: none !important;
  }

  /* Línea animada en hover */
  .header__menu-item > span::after {
    position: absolute;
    right: 0;
    bottom: -0.55rem;
    left: 0;
    height: 2px;
    background: #111111;
    content: "";
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease;
  }

  .header__menu-item:hover > span::after,
  details[open] > .header__menu-item > span::after,
  .header__active-menu-item::after {
    transform: scaleX(1);
  }

  /* Ofertas destacado */
  .header__menu-item[href*="/collections/ofertas"] {
    color: #c1121f !important;
    font-weight: 700;
  }

  .header__menu-item[href*="/collections/ofertas"] > span::after {
    background: #c1121f;
  }

  /* =========================================================
   MEGA MENÚ DESKTOP — CORRECCIÓN
   ========================================================= */

@media screen and (min-width: 990px) {

  .mega-menu__content {
    padding: 2.4rem 0 2.8rem !important;
    background: #ffffff !important;
    border-top: 1px solid #e8e8e8 !important;
    border-bottom: 1px solid #e8e8e8 !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  }

  /* Distribución de columnas */
  .mega-menu__list,
  .mega-menu__list--condensed {
    display: grid !important;
    grid-template-columns: repeat(
      auto-fit,
      minmax(18rem, 1fr)
    ) !important;

    align-items: start !important;
    justify-items: start !important;

    width: calc(100% - 4.8rem) !important;
    max-width: 110rem !important;

    margin: 0 auto !important;
    padding: 0 !important;

    gap: 2rem 4rem !important;
  }

  /* Evita que cada columna se comprima */
  .mega-menu__list > li,
  .mega-menu__list--condensed > li {
    width: 100% !important;
    min-width: 18rem !important;
  }

  /* Evita palabras cortadas letra por letra */
  .mega-menu__link {
    display: block !important;
    width: auto !important;
    max-width: none !important;

    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;

    text-decoration: none !important;
  }

  /* Títulos o enlaces principales */
  .mega-menu__link--level-2 {
    margin-bottom: 0.7rem !important;
    color: #111111 !important;

    font-size: 1.3rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.06em;

    text-transform: uppercase;
  }

  /* Enlaces secundarios */
  .mega-menu__link:not(.mega-menu__link--level-2) {
    padding: 0.55rem 0 !important;

    color: #444444 !important;
    font-size: 1.35rem !important;
    line-height: 1.4 !important;

    transition:
      color 0.18s ease,
      transform 0.18s ease;
  }

  .mega-menu__link:not(.mega-menu__link--level-2):hover {
    color: #000000 !important;
    transform: translateX(4px);
  }
}