﻿/* LEGEND · home y footer */
.lgh, .lgf {
  --lg-ink: #0e0e0e;
  --lg-ink-2: #1a1a1a;
  --lg-paper: #f5f0e6;
  --lg-paper-2: #ebe4d4;
  --lg-gold: #ff5a1f;   /* acento de marca (antes dorado #c4a265): un solo valor para cambiarlo */
  --lg-muted: #8a8478;
  --lg-serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --lg-sans: 'Karla', 'Helvetica Neue', Arial, sans-serif;
}
.lgh { margin: 0 0 40px; color: var(--lg-ink); }
.lgh *, .lgf * { box-sizing: border-box; }
.lgh a, .lgf a { text-decoration: none; }

/* Hero */
.lgh-hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px; align-items: center;
  background: radial-gradient(120% 140% at 85% 20%, #202022 0%, var(--lg-ink) 55%);
  color: var(--lg-paper); padding: 64px 56px; min-height: 520px; margin-bottom: 56px;
}
.lgh-eyebrow { font-family: var(--lg-sans); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--lg-gold); margin: 0 0 14px; }
.lgh-wordmark { font-family: var(--lg-serif); font-weight: 500; font-size: clamp(56px, 9vw, 120px); line-height: .95; letter-spacing: .04em; margin: 0; color: var(--lg-paper); }
.lgh-logo { margin: 0 0 6px; line-height: 1; position: relative; display: inline-block; }
.lgh-logo img { display: block; width: clamp(260px, 34vw, 480px); height: auto; }
.lgh-logo .lgh-reg { position: absolute; right: -1.1em; bottom: 4px; font-family: var(--lg-sans); font-size: 18px; vertical-align: baseline; margin: 0; }
.lgf-logo img { display: block; width: 210px; height: auto; margin-bottom: 8px; }
.lgf-logo { position: relative; display: inline-block; }
#footer .lgf .lgf-logo span { position: absolute; right: -1.2em; bottom: 8px; font-size: 14px !important; color: #ff5a1f !important; }
.lgh-reg { font-size: .22em; vertical-align: super; margin-left: .15em; color: var(--lg-gold); letter-spacing: 0; }
.lgh-lema { font-family: var(--lg-serif); font-style: italic; font-size: clamp(22px, 2.6vw, 34px); color: var(--lg-gold); margin: 0 0 14px; }
.lgh-desc { font-family: var(--lg-sans); font-size: 16px; line-height: 1.6; color: #cfc8b8; max-width: 460px; margin: 0 0 30px; }
.lgh-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.lgh-btn { display: inline-block; font-family: var(--lg-sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 14px 26px; border: 1px solid var(--lg-gold); transition: all .2s; }
.lgh-btn-primary { background: var(--lg-gold); color: var(--lg-ink) !important; }
.lgh-btn-primary:hover { background: var(--lg-paper); border-color: var(--lg-paper); }
.lgh-btn-ghost { color: var(--lg-paper) !important; background: transparent; border-color: rgba(245,240,230,.45); }
.lgh-btn-ghost:hover { border-color: var(--lg-gold); color: var(--lg-gold) !important; }
.lgh-btn-dark { color: var(--lg-ink) !important; border-color: rgba(14,14,14,.4); }
.lgh-btn-dark:hover { border-color: var(--lg-ink); color: var(--lg-ink) !important; background: transparent; }

.lgh-hero-art { position: relative; height: 440px; }
.lgh-art { position: absolute; width: 46%; max-width: 280px; height: auto; box-shadow: 0 24px 50px rgba(0,0,0,.55); border: 6px solid var(--lg-paper); background: #ccc; }
.lgh-art-1 { left: 4%; top: 30px; transform: rotate(-6deg); z-index: 1; }
.lgh-art-2 { left: 30%; top: 0; transform: rotate(2deg); z-index: 3; }
.lgh-art-3 { right: 2%; top: 56px; transform: rotate(7deg); z-index: 2; }

/* Secciones */
.lgh-sec { margin: 0 0 64px; }
.lgh-head { margin-bottom: 26px; }
.lgh-head .lgh-eyebrow { color: var(--lg-gold); margin-bottom: 6px; }
.lgh-head h2, .lgh-visita h2 { font-family: var(--lg-sans); font-weight: 800; font-size: clamp(24px, 3.2vw, 34px); letter-spacing: .02em; text-transform: uppercase; margin: 0; color: var(--lg-ink); }
.lgh-head-row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.lgh-link { font-family: var(--lg-sans); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--lg-ink) !important; background: var(--lg-gold); padding: 10px 20px; border-radius: 2px; transition: background .2s, color .2s; }
.lgh-link:hover { background: var(--lg-ink); color: #fff !important; }

/* Géneros */
.lgh-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lgh-tile { position: relative; display: block; overflow: hidden; background: var(--lg-ink); aspect-ratio: 4 / 5; }
.lgh-tile-img, .lgh-tile-img img { display: block; width: 100%; height: 100%; }
.lgh-tile-img img { object-fit: cover; object-position: top center; transition: transform .5s ease, opacity .3s; opacity: .92; }
.lgh-tile:hover .lgh-tile-img img { transform: scale(1.05); opacity: 1; }
.lgh-tile-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px; background: linear-gradient(to top, rgba(14,14,14,.9), rgba(14,14,14,0)); color: var(--lg-paper); display: flex; flex-direction: column; gap: 2px; }
.lgh-tile-name { font-family: var(--lg-sans); font-weight: 800; font-size: 22px; letter-spacing: .03em; text-transform: uppercase; }
.lgh-tile-n { font-family: var(--lg-sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--lg-gold); }

/* Concepto */
.lgh-concepto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: var(--lg-paper); padding: 48px 20px; }
.lgh-col { padding: 0 30px; border-left: 1px solid rgba(14,14,14,.14); }
.lgh-col:first-child { border-left: 0; }
.lgh-num { font-family: var(--lg-serif); font-size: 18px; color: var(--lg-gold); letter-spacing: .1em; }
.lgh-col h3 { font-family: var(--lg-sans); font-weight: 800; font-size: 22px; margin: 6px 0 10px; color: var(--lg-ink); }
.lgh-col p { font-family: var(--lg-sans); font-size: 15px; line-height: 1.65; color: #4a463e; margin: 0; }

/* Visita */
.lgh-visita { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; background: var(--lg-paper-2); }
.lgh-visita-text { padding: 48px 44px; }
.lgh-visita-text p { font-family: var(--lg-sans); font-size: 15px; line-height: 1.7; color: #3d3a33; margin: 14px 0; }
.lgh-visita-text a:not(.lgh-btn) { color: var(--lg-ink); border-bottom: 1px solid var(--lg-gold); }
.lgh-mapa iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: grayscale(.25); }

/* Footer */
#footer, .footer-container, #footer .footer-container { background: var(--lg-ink) !important; }
.lgf { background: var(--lg-ink); color: #cfc8b8; padding: 56px 0 30px; font-family: var(--lg-sans); }
.lgf-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.3fr; gap: 40px; max-width: 1270px; margin: 0 auto; padding: 0 15px; }
.lgf h4 { font-family: var(--lg-sans); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--lg-gold); margin: 0 0 16px; }
.lgf ul { list-style: none; margin: 0; padding: 0; }
.lgf li { margin: 0 0 9px; }
.lgf a { color: #cfc8b8; transition: color .2s; }
.lgf a:hover { color: var(--lg-gold); }
.lgf p { font-size: 14px; line-height: 1.7; margin: 0 0 12px; }
.lgf-logo { font-family: var(--lg-serif); font-size: 40px; letter-spacing: .08em; color: var(--lg-paper); margin: 0 0 4px !important; line-height: 1.1 !important; }
.lgf-logo span { font-size: .4em; vertical-align: super; color: var(--lg-gold); }
.lgf-lema { font-family: var(--lg-serif); font-style: italic; font-size: 20px !important; color: var(--lg-gold); }
.lgf-txt { max-width: 340px; color: #a39d8f; }
.lgf-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lgf-social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; font-size: 20px; background: rgba(245,240,230,.1); transition: background .2s, transform .2s; }
.lgf-social a:hover { background: var(--lg-gold); transform: translateY(-2px); }
.lgf-news { margin-top: 18px; }
.lgf-news .block_newsletter, .lgf-news section { background: transparent !important; padding: 0 !important; margin: 0 !important; }
.lgf-news p { font-size: 12px; }
.lgf-news input[type=email], .lgf-news input[type=text] { background: #1c1c1c; border: 1px solid #3a3a3a; color: var(--lg-paper); }
.lgf-news .block_newsletter_title, .lgf-news h4 { color: var(--lg-gold); }

/* Copyright (calce) */
.footer-copyrights, #footer .footer-copyrights, #footer-container-copyrights, .footer-container-copyright { background: #080808 !important; color: #8a8478 !important; text-align: center; }
.footer-copyrights *, .footer-container-copyright * { color: #8a8478 !important; }

@media (max-width: 991px) {
  .lgh-hero { grid-template-columns: 1fr; padding: 44px 24px; min-height: 0; }
  .lgh-hero-art { height: 320px; }
  .lgh-art { max-width: 180px; }
  .lgh-tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lgh-concepto { grid-template-columns: 1fr; padding: 28px 10px; gap: 26px; }
  .lgh-col { border-left: 0; border-top: 1px solid rgba(14,14,14,.14); padding: 22px 20px 0; }
  .lgh-col:first-child { border-top: 0; padding-top: 0; }
  .lgh-visita { grid-template-columns: 1fr; }
  .lgh-visita-text { padding: 32px 24px; }
  .lgf-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 575px) {
  /* Botones apilados y del mismo ancho (antes cada uno tomaba el ancho de su texto) */
  .lgh-cta { flex-direction: column; }
  .lgh-btn { display: block; width: 100%; box-sizing: border-box; text-align: center; }
  .lgh-tile-name { font-size: 20px; }
  .lgh-tile-info { padding: 28px 12px 12px; }
  .lgf-grid { grid-template-columns: 1fr; }
}

/* El hero anterior (inyectado por JS) ya no se usa */
#lg-hero-wrapper, #lg-hero { display: none !important; }

/* Calce */
#footer-copyrights { background: #080808 !important; border-top: 1px solid #1f1f1f; }
#footer-copyrights, #footer-copyrights p, #footer-copyrights a { color: #9a9486 !important; font-family: var(--lg-sans, sans-serif); font-size: 13px; letter-spacing: .06em; }
#footer-copyrights .row { justify-content: center; text-align: center; }
#footer-copyrights .copyright-txt { text-align: center; padding: 14px 0; }
#footer-copyrights p { margin: 0; }
#footer-container-main { padding: 0 !important; background: var(--lg-ink, #0e0e0e) !important; }
.lgf a { color: #e4dccb; }
.lgf .lgf-txt, .lgf p { color: #c9c2b2; }

/* Especificidad sobre el tema */
#footer .lgf a { color: #e4dccb !important; }
#footer .lgf a:hover { color: #ff5a1f !important; }
#footer .lgf .lgf-logo { font-family: var(--lg-serif); font-size: 44px !important; line-height: 1.1 !important; color: #f5f0e6 !important; letter-spacing: .08em; }
#footer .lgf .lgf-lema { font-family: var(--lg-serif); font-size: 22px !important; color: #ff5a1f !important; }
#footer .lgf h4 { font-size: 12px !important; color: #ff5a1f !important; }
#footer .lgf-social a { color: #f5f0e6 !important; }

/* ===== Menu superior: desplegable en cascada (iqitmegamenu) ===== */
#cbp-hrmenu .cbp-hrsub-inner { background: #0e0e0e !important; border-top: 2px solid #ff5a1f; padding: 8px 0 18px; }
#cbp-hrmenu .cbp-hrsub .cbp-menu-column-inner { padding: 14px 4px 0; }
html body #cbp-hrmenu .cbp-hrsub .cbp-category-link-w > a.cbp-category-title.nav-link { color: #ff5a1f !important; font-family: var(--lg-serif); font-size: 22px; font-weight: 500; letter-spacing: .04em; text-transform: none; padding: 0 0 10px; }
#cbp-hrmenu .cbp-hrsub .cbp-category-tree a,
#cbp-hrmenu .cbp-hrsub .cbp-links a { color: #f5f0e6 !important; font-size: 14px; letter-spacing: .04em; padding: 5px 0 5px 16px; display: inline-block; }
#cbp-hrmenu .cbp-hrsub .cbp-category-tree a:hover,
#cbp-hrmenu .cbp-hrsub .cbp-links a:hover,
html body #cbp-hrmenu .cbp-hrsub .cbp-category-link-w > a.cbp-category-title.nav-link:hover { color: #fff !important; }
#cbp-hrmenu .cbp-hrmenu-tab.cbp-hropen > a { background: #1a1a1a !important; color: #ff5a1f !important; }

/* Renglones por genero (1.1.0): separacion compacta entre renglones consecutivos */
.lgh-renglon { margin-bottom: 22px; }
.lgh-renglon .lgh-head { margin-bottom: 12px; }
.lgh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Movil (1.1.2): ventana de suscripcion y aviso de cookies.
   El modulo iqitpopup dibuja un cuadro fijo de 620x440 y en movil lo encoge con scale(); el texto queda ilegible.
   Aqui se usa a tamano real, ajustado al ancho de la pantalla, y con controles de 44px. */
@media (max-width: 575px) {
  #iqitpopup { width: calc(100vw - 32px) !important; max-width: 420px; height: auto !important; transform: translate(-50%, -50%) !important; }
  #iqitpopup .iqitpopup-close { top: -34px; }
  #iqitpopup .iqitpopup-close label, #iqitpopup .iqitpopup-close .cross { font-size: 13px; }
  #iqitpopup .iqitpopup-close .custom-checkbox input { width: 22px; height: 22px; }
  #iqitpopup .iqitpopup-content { padding: 6px 4px 0; }
  #iqitpopup .iqitpopup-newsletter-form { position: static; padding: 0 16px 22px; }
  #iqitpopup .iqitpopup-newsletter-form form { flex-direction: column; align-items: stretch; }
  #iqitpopup .iqitpopup-newsletter-form .form-inline .newsletter-input { width: 100% !important; max-width: none !important; flex: none; min-height: 46px; margin: 0 0 10px !important; }
  #iqitpopup .iqit-btn-newsletter { width: 100%; min-height: 46px; }
  #iqitcookielaw { left: 8px; right: 8px; bottom: 8px; }
  #iqitcookielaw p { font-size: 13px; line-height: 1.45; margin: 0 0 10px; }
  #iqitcookielaw #iqitcookielaw-accept { width: 100%; min-height: 44px; }
}

/* WhatsApp destacado (1.2.0): pastilla verde en la barra superior y boton en el footer */
.lg-wa-top a { display: inline-block; background: #25d366; color: #fff !important; font-weight: 800; padding: 1px 10px; border-radius: 12px; line-height: 1.6; }
.lg-wa-top a:hover { background: #1ebe5b; }
.lg-wa-btn { display: inline-block; background: #25d366; color: #fff !important; font-weight: 800; letter-spacing: .04em; padding: 12px 20px; border-radius: 3px; }
#footer .lgf a.lg-wa-btn { color: #fff !important; }
#footer .lgf a.lg-wa-btn:hover { background: #1ebe5b; }

/* Suscripcion como franja antes del footer (reemplaza la ventana flotante) */
.lgf-suscribe { background: #181818; border-top: 3px solid var(--lg-gold); margin-bottom: 8px; }
.lgf-suscribe-in { max-width: 1270px; margin: 0 auto; padding: 16px 15px; display: flex; align-items: center; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; }
.lgf-suscribe-txt h3 { margin: 0 0 2px; font-family: var(--lg-sans); font-weight: 800; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.lgf-suscribe-txt p { margin: 0; font-size: 14px; color: #bdb7a8; }
.lgf-suscribe .lgf-news { flex: 1 1 340px; max-width: 480px; }
.lgf-suscribe .ps-emailsubscription-conditions { display: none; }
.lgf-suscribe .btn-subscribe { background: var(--lg-gold); border-color: var(--lg-gold); color: var(--lg-ink); }

/* Movil y tablet (1.2.0): encabezado y hero compactos */
@media (max-width: 991px) {
  #header .header-nav { font-size: 12px; padding: 0; }
  #header .header-nav .row { flex-wrap: nowrap; align-items: center; margin: 0; }
  #header .header-nav .col { padding: 3px 6px; flex: 0 0 auto; }
  #header .header-nav .right-nav { margin-left: auto; }
  #header .header-nav #language_selector { display: none !important; }
  #header .header-nav .block-links-inline li { padding: 0 6px 0 0; }
  #mobile-header .row-mobile-header { min-height: 0; }
  #mobile-header .mobile-main-bar { padding: 4px 0; }
  #mobile-header img.logo { max-height: 38px; width: auto; }
  .lgh-hero { padding: 26px 20px 20px; }
  .lgh-hero-art { height: 270px; }
}

/* Iconos de redes en la barra superior */
.lg-top-social { margin-right: 6px; }
.lg-top-social .lg-ico { display: inline-block; font-size: 17px; line-height: 1; padding: 0 5px; color: #333 !important; vertical-align: middle; }
.lg-top-social .lg-ico:hover { color: var(--lg-gold) !important; }

/* Movil chico: barra superior en una sola fila (WhatsApp solo icono; sin Mi lista ni selector de idioma) */
@media (max-width: 575px) {
  .lg-wa-top .lg-wa-txt { display: none; }
  .lg-wa-top a { width: 28px; height: 28px; padding: 0; border-radius: 50%; text-align: center; line-height: 28px; font-size: 17px; }
  #header .header-nav .right-nav a[href*="iqitwishlist"] { display: none !important; }
  .lg-top-social { margin-right: 2px; }
  .lg-top-social .lg-ico { font-size: 18px; padding: 0 4px; }
  #header .header-nav { font-size: 11.5px; }
  #header .header-nav .col { padding: 3px 4px; }
  #header .header-nav .left-nav { padding-left: 10px; }
}

/* Enlace a METRIK en la barra final del footer: sin subrayado, color solo al pasar el cursor */
#footer-copyrights .copyright-txt a { text-decoration: none !important; }
#footer-copyrights .copyright-txt a:hover { color: var(--lg-gold, #ff5a1f) !important; }

/* Etiqueta "En stock" de las tarjetas: verde de disponible (el tema la pintaba dorado/cafe) */
.product-miniature .product-availability .badge, .product-miniature .product-availability .product-available { background: #1f9d55 !important; color: #fff !important; }

/* Footer (1.2.5): aire bajo la franja de suscripcion y enlaces en el color de acento */
.lgf-grid { padding-top: 40px; }
#footer .lgf .lgf-col a:not(.lg-wa-btn), #footer .lgf .lgf-contacto a { color: var(--lg-gold) !important; }
#footer .lgf .lgf-social a { color: #f5f0e6 !important; }
#footer .lgf .lgf-col a:not(.lg-wa-btn):hover { color: #fff !important; }
#footer .lgf .lgf-social a:hover { color: var(--lg-ink) !important; }

/* Footer (1.2.6): logo 25% mas chico (210 -> 158px), simbolo registrado blanco, titulos de columna en blanco (no son enlaces) */
#footer .lgf .lgf-logo img, .lgf-logo img { width: 158px; }
#footer .lgf .lgf-logo span { color: #ffffff !important; }
#footer .lgf h4 { color: #ffffff !important; }

/* Compartir en el detalle de producto (1.2.7): iconos mas grandes, color de marca al pasar el cursor */
.social-sharing ul { display: flex; gap: 4px; padding: 0; margin: 0; list-style: none; }
.social-sharing li a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; font-size: 22px; color: #555 !important; border-radius: 50%; transition: color .2s, background .2s; }
.social-sharing li.facebook a:hover { color: #1877f2 !important; background: rgba(24,119,242,.1); }
.social-sharing li.whatsapp a:hover { color: #25d366 !important; background: rgba(37,211,102,.12); }
.social-sharing li.instagram a:hover { color: #e1306c !important; background: rgba(225,48,108,.1); }

/* Etiqueta de disponibilidad: verde en tarjetas y en el detalle */
.product-availability .badge, .product-availability .product-available, .badge.js-product-availability { background: #1f9d55 !important; color: #fff !important; }

/* Ficha de producto (1.2.9): logo de la marca arriba del bloque "Hecho para ti" (en vez de la esquina del titulo), mas pequeno;
   enlaces del bloque en el color de acento para que se distingan del texto */
#main-product-wrapper .product_header_container .product-manufacturer { display: none !important; }
#iqithtmlandbanners-block-1::before { content: ''; display: block; width: 96px; height: 54px; margin: 0 0 12px; background: url(/shop/modules/legendhome/views/img/legend-logo-oscuro.png) no-repeat left center / contain; }
#iqithtmlandbanners-block-1 a { color: var(--lg-gold, #ff5a1f) !important; font-weight: 700; text-decoration: none; }
#iqithtmlandbanners-block-1 a:hover { color: #0e0e0e !important; text-decoration: underline; }

/* Relacionados de la ficha (1.3.0): A "Tambien podria interesarle" grande e importante; B "Mas de <subgenero>" compacta */
.product-accessories { display: none !important; }   /* carrusel de accesorios a mano del tema: lo reemplaza el bloque A */
.lgp-rel { margin: 40px 0 0; }
.lgp-grid { display: grid; gap: 18px 16px; margin: 0; }
.lgp-grid > * { width: auto !important; max-width: none !important; flex: none !important; padding: 0 !important; margin: 0 !important; }
.lgp-grid-a { grid-template-columns: repeat(5, 1fr); }
.lgp-grid-b { grid-template-columns: repeat(8, 1fr); gap: 12px 10px; }
section.lgp-rel.lgp-rel-a p.section-title { font-family: var(--lg-sans, 'Karla', sans-serif) !important; font-weight: 800 !important; font-size: clamp(22px, 2.6vw, 30px) !important; letter-spacing: .02em; text-transform: uppercase; color: #0e0e0e !important; margin: 0 0 18px !important; border-bottom: 3px solid var(--lg-gold, #ff5a1f); padding-bottom: 10px; display: inline-block; }
.lgp-rel-b { margin-top: 48px; opacity: .95; }
.lgp-rel-b-title { font-family: var(--lg-sans, 'Karla', sans-serif); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #777; margin: 0 0 12px; }
.lgp-grid-b .product-title, .lgp-grid-b .product-title a { font-size: 12px; line-height: 1.3; }
.lgp-grid-b .product-price-and-shipping, .lgp-grid-b .product-availability, .lgp-grid-b .product-flags, .lgp-grid-b .highlighted-informations, .lgp-grid-b .product-description-short { display: none !important; }
@media (max-width: 1199px) { .lgp-grid-a { grid-template-columns: repeat(4, 1fr); } .lgp-grid-a > :nth-child(5) { display: none; } .lgp-grid-b { grid-template-columns: repeat(6, 1fr); } .lgp-grid-b > :nth-child(n+7) { display: none; } }
@media (max-width: 767px) { .lgp-grid-a { grid-template-columns: repeat(2, 1fr); } .lgp-grid-a > :nth-child(n+5) { display: none; } .lgp-grid-b { grid-template-columns: repeat(3, 1fr); } .lgp-grid-b > :nth-child(n+7) { display: none; } }

/* "Mas de <subgenero>" clicable (1.3.2) y SKU visible bajo el titulo */
.lgp-rel-b-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.lgp-rel-b .lgp-rel-b-title { margin: 0; color: #555 !important; text-decoration: none; }
.lgp-rel-b .lgp-rel-b-title:hover { color: var(--lg-gold, #ff5a1f) !important; }
.lgp-rel-b-more { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--lg-gold, #ff5a1f) !important; text-decoration: none; white-space: nowrap; }
.lgp-rel-b-more:hover { color: #0e0e0e !important; }
.product-reference { font-size: 12px; letter-spacing: .06em; color: #8a8478; margin: 2px 0 6px; }
.product-reference .label, .product-reference label { font-weight: 700; color: #6f6a5f; }

/* Iconos de redes del footer en sus colores originales (1.3.3) */
#footer .lgf .lgf-social a[aria-label="Facebook"], #footer .lgf .lgf-social a[aria-label="Facebook"]:hover { color: #1877f2 !important; }
#footer .lgf .lgf-social a[aria-label="Instagram"] i { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent !important; }
#footer .lgf .lgf-social a:hover { background: rgba(245,240,230,.22) !important; transform: translateY(-2px); }

/* Titulo de genero clicable en la home (1.3.4) */
.lgh-h2-link { color: inherit !important; text-decoration: none; transition: color .2s; }
.lgh-h2-link:hover { color: var(--lg-gold) !important; }
.lgh-h2-link::after { content: ' 92'; color: var(--lg-gold); opacity: 0; margin-left: .25em; transition: opacity .2s; }
.lgh-h2-link:hover::after { opacity: 1; }

/* Buscador en la barra de menu fija (1.3.4, escritorio) */
#lg-sticky-search { display: none; }
@media (min-width: 992px) {
  .container-iqitmegamenu { position: relative; }
  #iqitmegamenu-wrapper.stuck #lg-sticky-search { display: block; position: absolute; right: 70px; top: 50%; transform: translateY(-50%); width: 320px; z-index: 20; }
  #lg-sticky-search #search_widget { width: 100% !important; max-width: none !important; margin: 0; }
  #lg-sticky-search .form-search-control { height: 34px; background: #fff; border: 0; border-radius: 2px; font-size: 14px; padding: 0 40px 0 12px; }
  #lg-sticky-search .search-btn { height: 34px; width: 36px; background: transparent; border: 0; color: #0e0e0e; right: 0; }
  #lg-sticky-search .autocomplete-suggestions { z-index: 1000; }
}
