/** Shopify CDN: Minification failed

Line 623:21 Expected identifier but found whitespace
Line 624:2 Unexpected "has("
Line 630:21 Expected identifier but found whitespace
Line 631:2 Unexpected "has("

**/
/* =========================================================
   ÓPTICA HD — HEADER CONSOLIDADO
   Tema base: Sense 15.5.0
   Versión refinada + favoritos
   ========================================================= */

:root {
  --ohd-teal: #0f6f73;
  --ohd-teal-hover: #13838a;
  --ohd-teal-dark: #0b4f58;
  --ohd-orange: #f36b2c;

  --ohd-text: #232323;
  --ohd-muted: #6f787d;

  --ohd-background-soft: #f7f9fa;
  --ohd-border: #e5ebed;

  --ohd-shadow:
    0 8px 28px rgba(25, 53, 55, 0.07);
}


/* =========================================================
   FONDO GENERAL DEL HEADER
   ========================================================= */

.section-header,
.header-wrapper,
.ohd-header-wrapper,
.ohd-desktop-navigation {
  background: #ffffff !important;
  background-image: none !important;
}


/* =========================================================
   COMPONENTES PERSONALIZADOS
   ========================================================= */

.ohd-desktop-search,
.ohd-desktop-navigation {
  display: none;
}


/* =========================================================
   BARRA SUPERIOR
   ========================================================= */

.announcement-bar-section {
  border-bottom: 1px solid var(--ohd-border);
}

.announcement-bar {
  min-height: 32px;
  padding-top: 0;
  padding-bottom: 0;
}

.announcement-bar__message {
  padding: 7px 20px;

  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.35;

  letter-spacing: 0.01em;
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media screen and (min-width: 990px) {

  /* =======================================================
     HEADER PRINCIPAL
     ======================================================= */

  .header-wrapper {
    background: #ffffff !important;
  }

  .header {
    display: grid;

    grid-template-columns:
      230px
      minmax(420px, 680px)
      164px;

    grid-template-areas:
      "logo search icons";

    align-items: center;
    justify-content: space-between;

    column-gap: clamp(34px, 4vw, 70px);

    min-height: 98px;

    padding: 15px 4rem;

    transition:
      min-height 0.25s ease,
      padding 0.25s ease;
  }


  /* =======================================================
     LOGO
     ======================================================= */

  .header__heading,
  .header__heading-link {
    grid-area: logo;
    justify-self: start;
    margin: 0;
  }

  .header__heading-link {
    padding: 0;
  }

  .header__heading-logo-wrapper {
    width: 220px !important;
    max-width: 220px !important;

    transition:
      transform 0.25s ease,
      max-width 0.25s ease;
  }

  .header__heading-link:hover
  .header__heading-logo-wrapper {
    transform: translateY(-1px);
  }

  .header__heading-logo {
    display: block;

    width: 220px !important;
    max-width: none !important;

    height: auto !important;
    max-height: 70px;

    object-fit: contain;
  }


  /* =======================================================
     BUSCADOR
     ======================================================= */

  .ohd-desktop-search {
    display: block;

    grid-area: search;

    width: 100%;
    max-width: 680px;

    justify-self: center;
  }

  .ohd-search-form {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
  }

  .ohd-search-input {
    width: 100%;
    height: 50px;

    padding: 0 64px 0 20px;

    border: 1px solid var(--ohd-border);
    border-radius: 15px;

    background: var(--ohd-background-soft);

    box-shadow:
      0 4px 14px rgba(25, 53, 55, 0.035);

    color: var(--ohd-text);

    font-family: inherit;
    font-size: 14px;

    outline: none;

    appearance: none;
    -webkit-appearance: none;

    transition:
      background-color 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  .ohd-search-input::-webkit-search-cancel-button {
    cursor: pointer;
  }

  .ohd-search-input::placeholder {
    color: #747d82;
    opacity: 1;
  }

  .ohd-search-input:hover {
    border-color: #cad7d9;
    background: #ffffff;
  }

  .ohd-search-input:focus {
    border-color: var(--ohd-teal);
    background: #ffffff;

    box-shadow:
      0 0 0 3px rgba(15, 111, 115, 0.11),
      0 7px 20px rgba(25, 53, 55, 0.06);
  }


  /* =======================================================
     BOTÓN BUSCAR
     ======================================================= */

  .ohd-search-button {
    position: absolute;

    top: 5px;
    right: 5px;

    display: grid;
    place-items: center;

    width: 40px;
    height: 40px;

    padding: 0;

    border: 0;
    border-radius: 12px;

    background: var(--ohd-teal);
    color: #ffffff;

    cursor: pointer;

    transition:
      background-color 0.2s ease,
      transform 0.2s ease,
      box-shadow 0.2s ease;
  }

  .ohd-search-button:hover {
    background: var(--ohd-teal-hover);

    box-shadow:
      0 5px 14px rgba(15, 111, 115, 0.2);

    transform: translateY(-1px);
  }

  .ohd-search-button:active {
    transform: translateY(0);
  }

  .ohd-search-button .svg-wrapper,
  .ohd-search-button svg {
    width: 20px;
    height: 20px;
  }


  /* =======================================================
     ICONOS
     ======================================================= */

  .header__icons {
    grid-area: icons;

    justify-self: end;

    display: flex;

    align-items: center;
    justify-content: flex-end;

    min-width: 156px;

    gap: 8px;
  }

  .header__icons .header__search,
  .header__icons details-modal.header__search,
  .header__icons > details-modal {
    display: none !important;
  }

  .desktop-localization-wrapper {
    display: none;
  }

  .header__icon {
    position: relative;

    display: grid;
    place-items: center;

    min-width: 44px;

    width: 44px;
    height: 44px;

    margin: 0;

    border-radius: 13px;

    color: var(--ohd-text);

    transition:
      color 0.2s ease,
      background-color 0.2s ease,
      transform 0.2s ease;
  }

  .header__icon:hover {
    color: var(--ohd-teal);
    background: #f0f6f6;

    transform: translateY(-1px);
  }

  .header__icon .svg-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
  }


  /* =======================================================
     CUENTA
     ======================================================= */

  .header__icon--account
  .svg-wrapper,
  .header__icon--account svg {
    width: 20px !important;
    height: 20px !important;
  }


  /* =======================================================
     FAVORITOS
     ======================================================= */

  .header__icon--wishlist {
    position: relative;
  }

  .header__icon--wishlist
  .ohd-wishlist-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 22px !important;
    height: 22px !important;
  }

  .header__icon--wishlist
  .ohd-wishlist-icon svg {
    display: block;

    width: 22px !important;
    height: 22px !important;
  }


  /* =======================================================
     CONTADOR FAVORITOS
     Igualado al contador del carrito
     ======================================================= */

  .header__icon--wishlist
  .ohd-wishlist-count-bubble {
    position: absolute !important;

    top: -1px !important;
    right: -2px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;

    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 2px solid #ffffff !important;

    border-radius: 50% !important;

    background: var(--ohd-orange) !important;

    color: #ffffff !important;

    font-family: inherit;

    font-size: 9px !important;
    font-weight: 700 !important;

    line-height: 1 !important;
    letter-spacing: 0 !important;

    text-align: center;

    box-sizing: border-box;

    transform: none !important;

    z-index: 3;
  }

  .header__icon--wishlist
  .ohd-wishlist-count-bubble[hidden] {
    display: none !important;
  }


  /* =======================================================
     CARRITO
     ======================================================= */

  .header__icon--cart {
    position: relative;
  }

  .header__icon--cart
  .ohd-cart-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 24px !important;
    height: 24px !important;

    transform: scale(1.18);

    transform-origin: center;
  }

  .header__icon--cart
  .ohd-cart-icon svg {
    display: block;

    width: 24px !important;
    height: 24px !important;
  }

  .cart-count-bubble {
    top: -1px;
    right: -2px;

    min-width: 18px;
    height: 18px;

    padding: 0 4px;

    border: 2px solid #ffffff;

    background: var(--ohd-orange);

    color: #ffffff;

    font-size: 9px;
    font-weight: 700;
  }


  /* =======================================================
     NAVEGACIÓN DESKTOP
     ======================================================= */

  .ohd-desktop-navigation {
    display: block;

    border-top: 1px solid var(--ohd-border);
    border-bottom: 1px solid var(--ohd-border);

    background: #ffffff;
  }

  .ohd-desktop-navigation__inner {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;
  }

  .ohd-desktop-navigation
  .header__inline-menu {
    display: block;

    width: 100%;

    margin: 0;

    text-align: center;
  }

  .ohd-desktop-navigation
  .list-menu--inline {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap:
      clamp(4px, 0.8vw, 14px);
  }


  /* =======================================================
     RESET COMPLETO DEL MENÚ
     ======================================================= */

  .ohd-desktop-navigation a,
  .ohd-desktop-navigation span,
  .ohd-desktop-navigation summary,
  .ohd-desktop-navigation
  .header__menu-item,
  .ohd-desktop-navigation
  .header__active-menu-item {
    text-decoration: none !important;
  }


  /* =======================================================
     MENÚ NORMAL
     ======================================================= */

  .ohd-desktop-navigation
  .header__menu-item {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 18px;

    color: var(--ohd-text) !important;

    font-size: 13px;
    font-weight: 600;
    line-height: 1;

    letter-spacing: 0.005em;

    text-decoration: none !important;

    transition:
      color 0.18s ease,
      opacity 0.18s ease;
  }

  .ohd-desktop-navigation
  .header__menu-item > span {
    color: var(--ohd-text) !important;
    text-decoration: none !important;
  }


  /* =======================================================
     ACTIVE DE SENSE
     ======================================================= */

  .ohd-desktop-navigation
  .header__active-menu-item {
    color: var(--ohd-text) !important;

    font-weight: 600 !important;

    text-decoration: none !important;
  }

  .ohd-desktop-navigation
  .header__menu-item:
  has(.header__active-menu-item) {
    color: var(--ohd-text) !important;
    font-weight: 600 !important;
  }

  .ohd-desktop-navigation
  .header__menu-item:
  has(.header__active-menu-item)
  > span {
    color: var(--ohd-text) !important;
  }


  /* =======================================================
     QUITAR LÍNEAS / SUBRAYADOS
     ======================================================= */

  .ohd-desktop-navigation
  .header__menu-item::before,
  .ohd-desktop-navigation
  .header__menu-item::after,
  .ohd-desktop-navigation
  .header__active-menu-item::before,
  .ohd-desktop-navigation
  .header__active-menu-item::after {
    display: none !important;
    content: none !important;
  }


  /* =======================================================
     HOVER
     ======================================================= */

  .ohd-desktop-navigation
  .header__menu-item:hover {
    color: var(--ohd-teal) !important;
  }

  .ohd-desktop-navigation
  .header__menu-item:hover
  > span {
    color: var(--ohd-teal) !important;
  }

  .ohd-desktop-navigation
  a:hover {
    color: var(--ohd-teal) !important;
  }

  .ohd-desktop-navigation
  summary:hover {
    color: var(--ohd-teal) !important;
  }


  /* =======================================================
     SUMMARY / DROPDOWNS
     ======================================================= */

  .ohd-desktop-navigation
  summary.header__menu-item {
    line-height: normal;
  }

  .ohd-desktop-navigation
  .header__submenu {
    min-width: 220px;

    padding: 10px;

    border: 1px solid var(--ohd-border);

    border-radius: 14px;

    background: #ffffff;

    box-shadow: var(--ohd-shadow);
  }

  .ohd-desktop-navigation
  .header__submenu
  .header__menu-item {
    min-height: auto;

    padding: 11px 14px;

    border-radius: 9px;

    color: var(--ohd-text) !important;

    font-size: 13px;
    line-height: 1.4;

    transition:
      color 0.18s ease,
      background-color 0.18s ease;
  }

  .ohd-desktop-navigation
  .header__submenu
  .header__menu-item > span {
    color: var(--ohd-text) !important;
  }

  .ohd-desktop-navigation
  .header__submenu
  .header__menu-item:hover {
    background: #f1f6f6;

    color: var(--ohd-teal) !important;
  }

  .ohd-desktop-navigation
  .header__submenu
  .header__menu-item:hover
  > span {
    color: var(--ohd-teal) !important;
  }

  .ohd-desktop-navigation
  .header__submenu
  .header__active-menu-item {
    color: var(--ohd-text) !important;

    font-weight: 600 !important;
  }


  /* =======================================================
     OCULTAR MENÚ NATIVO DENTRO DEL HEADER
     ======================================================= */

  .header >
  .header__inline-menu {
    display: none !important;
  }


  /* =======================================================
     STICKY HEADER
     ======================================================= */

  .section-header {
    box-shadow: none;

    transition:
      box-shadow 0.25s ease,
      transform 0.25s ease;
  }

  .shopify-section-header-sticky
  .header-wrapper {
    box-shadow:
      0 8px 26px rgba(20, 49, 51, 0.07);
  }

  .shopify-section-header-sticky
  .header {
    min-height: 82px;

    padding-top: 9px;
    padding-bottom: 9px;
  }

  .shopify-section-header-sticky
  .header__heading-logo-wrapper {
    max-width: 200px !important;
  }

}


/* =========================================================
   TABLET + MÓVIL
   ========================================================= */

@media screen and (max-width: 989px) {

  /* =======================================================
     ANNOUNCEMENT BAR
     ======================================================= */

  .announcement-bar {
    min-height: 27px;
  }

  .announcement-bar__message {
    padding: 5px 12px;

    font-size: 10.5px;
    line-height: 1.25;

    white-space: normal;
  }


  /* =======================================================
     HEADER
     ======================================================= */

  .header {
    display: grid;

    grid-template-columns:
      42px
      minmax(0, 1fr)
      auto;

    grid-template-areas:
      "drawer logo icons";

    align-items: center;

    min-height: 62px;

    padding: 7px 14px;
  }


  /* =======================================================
     DRAWER
     ======================================================= */

  header-drawer {
    grid-area: drawer;
    justify-self: start;

    margin-left: -7px;
  }


  /* =======================================================
     LOGO
     ======================================================= */

  .header__heading,
  .header__heading-link {
    grid-area: logo;

    justify-self: center;

    margin: 0;
  }

  .header__heading-link {
    padding: 0;
  }

  .header__heading-logo-wrapper {
    width: auto;
    max-width: 150px;
  }

  .header__heading-logo {
    display: block;

    width: 100%;

    height: auto;
    max-height: 46px;

    object-fit: contain;
  }


  /* =======================================================
     ICONOS
     ======================================================= */

  .header__icons {
    grid-area: icons;

    justify-self: end;

    display: flex;
    align-items: center;

    gap: 0;
  }

  .header__icon {
    position: relative;

    width: 38px;
    height: 38px;

    margin: 0;
  }

  .header__icon
  .svg-wrapper,
  .header__icon svg {
    width: 20px;
    height: 20px;
  }

  .header__icon--account {
    display: none;
  }


  /* =======================================================
     FAVORITOS
     ======================================================= */

  .header__icon--wishlist {
    position: relative;
  }

  .header__icon--wishlist
  .ohd-wishlist-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 20px !important;
    height: 20px !important;
  }

  .header__icon--wishlist
  .ohd-wishlist-icon svg {
    display: block;

    width: 20px !important;
    height: 20px !important;
  }


  /* =======================================================
     CONTADOR FAVORITOS
     ======================================================= */

  .header__icon--wishlist
  .ohd-wishlist-count-bubble {
    position: absolute !important;

    top: -1px !important;
    right: -2px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;

    height: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 2px solid #ffffff !important;

    border-radius: 50% !important;

    background: var(--ohd-orange) !important;

    color: #ffffff !important;

    font-size: 9px !important;
    font-weight: 700 !important;

    line-height: 1 !important;
    letter-spacing: 0 !important;

    box-sizing: border-box;

    transform: none !important;

    z-index: 3;
  }

  .header__icon--wishlist
  .ohd-wishlist-count-bubble[hidden] {
    display: none !important;
  }


  /* =======================================================
     CARRITO
     ======================================================= */

  .header__icon--cart
  .ohd-cart-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 22px !important;
    height: 22px !important;

    transform: scale(1.1);

    transform-origin: center;
  }

  .header__icon--cart
  .ohd-cart-icon svg {
    display: block;

    width: 22px !important;
    height: 22px !important;
  }

  .cart-count-bubble {
    top: -1px;
    right: -2px;

    min-width: 16px;
    height: 16px;

    padding: 0;

    border: 2px solid #ffffff;

    background: var(--ohd-orange);

    color: #ffffff;

    font-size: 9px;
    font-weight: 700;
  }


  /* =======================================================
     DRAWER MÓVIL
     ======================================================= */

  .menu-drawer__menu-item,
  .menu-drawer__menu-item span,
  .menu-drawer summary {
    color: var(--ohd-text) !important;

    text-decoration: none !important;
  }

  .menu-drawer__menu-item--active,
  .menu-drawer__menu-item--active span {
    color: var(--ohd-text) !important;

    font-weight: 600 !important;

    text-decoration: none !important;
  }

  .menu-drawer__menu-item:hover,
  .menu-drawer__menu-item:hover span {
    color: var(--ohd-teal) !important;
  }

}


/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media screen and (max-width: 480px) {

  /* =======================================================
     ANNOUNCEMENT BAR
     ======================================================= */

  .announcement-bar {
    min-height: 25px;
  }

  .announcement-bar__message {
    padding: 4px 10px;

    font-size: 10px;
    line-height: 1.25;
  }


  /* =======================================================
     HEADER
     ======================================================= */

  .header {
    grid-template-columns:
      40px
      minmax(110px, 1fr)
      auto;

    min-height: 60px;

    padding: 6px 9px;
  }

  header-drawer {
    margin-left: -5px;
  }


  /* =======================================================
     LOGO
     ======================================================= */

  .header__heading-logo-wrapper {
    max-width: 140px;
  }

  .header__heading-logo {
    max-height: 44px;
  }


  /* =======================================================
     ICONOS
     ======================================================= */

  .header__icon {
    width: 36px;
    height: 36px;
  }

  .header__icon
  .svg-wrapper,
  .header__icon svg {
    width: 20px;
    height: 20px;
  }


  /* =======================================================
     FAVORITOS
     ======================================================= */

  .header__icon--wishlist
  .ohd-wishlist-icon,
  .header__icon--wishlist
  .ohd-wishlist-icon svg {
    width: 19px !important;
    height: 19px !important;
  }

  .header__icon--wishlist
  .ohd-wishlist-count-bubble {
    top: -1px !important;
    right: -2px !important;

    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;

    height: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;

    font-size: 9px !important;
  }


  /* =======================================================
     CARRITO
     ======================================================= */

  .header__icon--cart
  .ohd-cart-icon {
    width: 21px !important;
    height: 21px !important;
  }

  .header__icon--cart
  .ohd-cart-icon svg {
    width: 21px !important;
    height: 21px !important;
  }

  .cart-count-bubble {
    top: -1px;
    right: -2px;

    min-width: 16px;
    height: 16px;

    padding: 0;

    font-size: 9px;
  }

}
/* =========================================================
   ÓPTICA HD — HEADER ACTIVO FINAL
========================================================= */

/* Estado normal */
.header__menu-item,
.header__menu-item span,
.list-menu__item {
  color: #111111;
  text-decoration: none !important;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

/* Eliminar subrayados nativos */
.header__active-menu-item,
.header__menu-item:hover span,
.header__menu-item:focus span {
  text-decoration: none !important;
}

/* Hover */
.header__menu-item:hover,
.header__menu-item:hover span,
.list-menu__item:hover {
  color: #0f7653 !important;
}

/* Enlace activo */
.header__active-menu-item {
  color: #0f7653 !important;
  font-weight: 600;
}

/* Si el activo está dentro de span */
.header__active-menu-item span {
  color: #0f7653 !important;
}

/* Dropdown */
.header__submenu .header__menu-item,
.header__submenu .header__menu-item span {
  color: #222222;
}

.header__submenu .header__menu-item:hover,
.header__submenu .header__menu-item:hover span {
  color: #0f7653 !important;
}

/* Activo dentro de dropdown */
.header__submenu .header__active-menu-item,
.header__submenu .header__active-menu-item span {
  color: #0f7653 !important;
  font-weight: 600;
}

/* =========================================================
   ICONOS HEADER
========================================================= */

.header__icon {
  color: #111111;
  transition: color 0.2s ease;
}

.header__icon:hover {
  color: #0f7653;
}

.header__icon svg {
  transition: stroke 0.2s ease;
}

/* =========================================================
   MÓVIL
========================================================= */

@media screen and (max-width: 989px) {

  .menu-drawer__menu-item {
    color: #111111;
    text-decoration: none !important;
    transition: color 0.2s ease;
  }

  .menu-drawer__menu-item:hover {
    color: #0f7653 !important;
  }

  .menu-drawer__menu-item--active,
  .menu-drawer__menu-item--active span {
    color: #0f7653 !important;
    font-weight: 600;
    text-decoration: none !important;
  }

  .menu-drawer__menu-item:focus,
  .menu-drawer__menu-item:active {
    text-decoration: none !important;
  }

}
/* =========================================================
   ÓPTICA HD — MENÚ ACTIVO FINAL
========================================================= */

/* Activo principal */
.header__menu-item.ohd-menu-active,
.header__menu-item.ohd-menu-active span,
.header__active-menu-item.ohd-menu-active,
.ohd-menu-active {
  color: #0f7653 !important;
  text-decoration: none !important;
}

/* Un poco más de peso sin exagerar */
.header__menu-item.ohd-menu-active span,
.header__active-menu-item.ohd-menu-active {
  font-weight: 600;
}

/* Mega menú */
.mega-menu__link.ohd-menu-active,
.mega-menu__link--active {
  color: #0f7653 !important;
  text-decoration: none !important;
  font-weight: 600;
}

/* Evitar el subrayado nativo de Sense */
.header__active-menu-item,
.mega-menu__link--active {
  text-decoration: none !important;
}

/* Hover */
.header__menu-item:hover,
.header__menu-item:hover span,
.mega-menu__link:hover {
  color: #0f7653 !important;
  text-decoration: none !important;
}