/* ==========================================================================
   CUSTOM.CSS — Tema hijo Nonnamarket / PrestaShop 9
   Última actualización: 02/07/2026
   ========================================================================== */


/* ==========================================================================
   1. HEADER — ALINEACIÓN ELEMENTOS EN LÍNEA
   ========================================================================== */

.ps-shoppingcart.dropdown #blockcart-content {
    z-index: 1000;
}

.col-header-right .row.no-gutters {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    padding-left: 2rem;
    padding-right: 2rem;
}

.col-header-right .row.no-gutters > * {
    flex: 0 0 auto !important;
    width: auto !important;
}


/* ==========================================================================
   2. HEADER — ORDEN DE LOS ELEMENTOS
   ========================================================================== */

#header-user-btn         { order: 1 !important; }
#ps-shoppingcart-wrapper { order: 2 !important; }
#language_selector       { order: 3 !important; }


/* ==========================================================================
   3. BARRA DE BÚSQUEDA — DESKTOP
   ========================================================================== */

#search_widget .input-group {
    border-radius: 35px !important;
    overflow: hidden !important;
    border: 1px solid #054836 !important;
}

#search_widget .form-control {
    border-radius: 35px 0 0 35px !important;
    border: none !important;
}

#search_widget .search-btn {
    border-radius: 0 20px 20px 0 !important;
    border: none !important;
}

/* ==========================================================================
   4. LOGO — TAMAÑO RESPONSIVE
   Fecha: 17/07/2026 (revisión de breakpoints)
   Escalado: escritorio grande → escritorio → tablet → móvil vertical.
   Caso especial: móvil en horizontal se detecta por ALTURA de pantalla
   (max-height: 500px), no por ancho — un móvil apaisado tiene 800-930px
   de ancho, por lo que un media query de max-width nunca le aplicaría.
   ========================================================================== */

/* Escritorio grande (≥1400px) */
#desktop_logo img {
    width: auto !important;
    height: auto !important;
    max-height: 70px !important;
    max-width: 180px !important;
    padding-top: 1.2rem;
    padding-left: 1rem;
}

/* Escritorio estándar (993–1399px) */
@media (max-width: 1399.98px) {
    #desktop_logo img {
        max-height: 60px !important;
    }
}

/* Tablet (769–992px) */
@media (max-width: 992px) {
    #desktop_logo img,
    .col-mobile-logo img {
        max-height: 50px !important;
        width: auto !important;
    }
}

/* Móvil vertical (≤768px) */
@media (max-width: 768px) {
    #desktop_logo img,
    .col-mobile-logo img {
        max-height: 55px !important;
        width: auto !important;
        padding-top: 12px;
        padding-left: 15px;
    }
}

/* Móvil pequeño (≤400px) */
@media (max-width: 400px) {
    #desktop_logo img,
    .col-mobile-logo img {
        max-height: 45px !important;
    }
}

/* Móvil/pantalla apaisada de poca altura (landscape real) */
@media (max-height: 500px) and (orientation: landscape) {
    #desktop_logo img,
    .col-mobile-logo img {
        max-height: 32px !important;
        padding-top: 6px;
    }
}


/* ==========================================================================
   5. ICONOS SVG HEADER — COLOR Y TAMAÑO
   Fecha: 02/07/2026
   ========================================================================== */

/* Desktop */
#header-user-btn svg         { stroke: #0E2819; width: 24px; height: 24px; }
#ps-shoppingcart-wrapper svg { stroke: #0E2819; width: 24px; height: 24px; }
#header-wishlist-btn svg     { stroke: #0E2819; width: 24px; height: 24px; }

/* Tablet */
@media (max-width: 992px) {
    #header-user-btn svg         { width: 24px; height: 24px; }
    #ps-shoppingcart-wrapper svg { width: 24px; height: 24px; }
    #header-wishlist-btn svg     { width: 24px; height: 24px; }
}

/* Móvil */
#mobile-header .col-mobile-btn-account svg {
    stroke: #0E2819 !important;
    width: 20px !important;
    height: 20px !important;
    display: block !important;
}

#mobile-header .col-mobile-btn-cart svg {
    stroke: #0E2819 !important;
    width: 24px !important;
    height: 24px !important;
    display: block !important;
}

#mobile-header .col-mobile-btn-menu svg {
    stroke: #0E2819 !important;
    width: 36px !important;
    height: 36px !important;
    display: block !important;
}

/* Contador carrito móvil */
#mobile-cart-products-count {
    display: flex !important;
}




/* ==========================================================================
   6. SELECTOR DE IDIOMA — MÓVIL
   ========================================================================== */

#mobile-header #language_selector img {
    border-radius: 3px;
}

@media (max-width: 768px) {

    #mobile-header .col-mobile-btn-lang {
        padding-left: 15px;
        padding-right: 15px;
    }

    #mobile-header #language_selector .expand-more {
        font-size: 0;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    #mobile-header #language_selector .expand-more img {
        font-size: initial;
        width: 24px;
        height: auto;
        display: block;
    }

    #mobile-header #language_selector .expand-more i {
        font-size: 14px;
        color: #054836 !important;
        display: flex;
        align-items: center;
    }

    #mobile-header #language_selector .dropdown-menu {
        background: #fff !important;
        border: 1px solid #ddd !important;
        min-width: 110px;
    }

    #mobile-header #language_selector .dropdown-menu,
    #mobile-header #language_selector .dropdown-menu * {
        color: #111 !important;
    }

    #mobile-header #language_selector .dropdown-menu a.dropdown-item {
        display: flex;
        align-items: center;
        gap: 6px;
        background: #fff !important;
    }

    #mobile-header #language_selector .dropdown-menu a.dropdown-item:hover {
        background: #f7f7f7 !important;
        color: #000 !important;
    }

    #mobile-header #language_selector .dropdown-menu li.current a.dropdown-item {
        font-weight: 600;
        color: #000 !important;
    }

    #mobile-header .m-nav-btn {
        color: #054836 !important;
    }
}


/* ==========================================================================
   7. BARRA DE BÚSQUEDA — MÓVIL
   ========================================================================== */

@media (max-width: 768px) {

    #mobile-btn-search {
        display: none !important;
    }

    #div-search-mobile-bar {
        padding: 8px 0 10px 0;
    }

    #div-search-mobile-bar .input-group {
        background-color: #F6F6F6 !important;
        border-radius: 15px !important;
        overflow: hidden;
    }

    #div-search-mobile-bar .form-control {
        background-color: #F6F6F6 !important;
        border: none !important;
        box-shadow: none !important;
        height: 35px !important;
        border-radius: 15px 0 0 15px !important;
        padding-left: 16px !important;
        font-size: 14px !important;
    }

    #div-search-mobile-bar .search-btn {
        background-color: #F6F6F6 !important;
        border: none !important;
        color: #054836 !important;
        border-radius: 0 15px 15px 0 !important;
        padding-right: 12px !important;
    }

    #div-search-mobile-bar .search-btn i {
        color: #054836 !important;
    }
}

@media (max-width: 991.98px) {

    #mobile-header .mobile-main-bar {
        padding-top: 1.2rem !important;
        padding-bottom: 0.8rem !important;
    }

    #div-search-mobile-bar .search-btn {
        padding-left: 15px !important;
        padding-right: 12px !important;
    }

    #mobile-header .col-mobile-btn-menu .m-nav-btn {
        padding-right: 22px !important;
    }

    #mobile-header-sticky  {
        background: #DFEFE5!important;
    }
}


/* ==========================================================================
   7B. BARRA DE BÚSQUEDA MÓVIL — DESPLEGABLE DE SUGERENCIAS (AUTOCOMPLETADO)
   Fecha: 17/07/2026
   Contexto: el widget de iqitsearch es único y se reubica en
   #div-search-mobile-bar por JS según breakpoint (ver custom.js sección 3).
   Al llegar con estilos de escritorio, el desplegable de sugerencias
   necesitaba reposicionarse y ganar aire lateral.
   Nota: sin media query a propósito — en escritorio el contenedor
   #div-search-mobile-bar está vacío, por lo que estas reglas solo
   surten efecto cuando el widget vive en el header móvil (<992px).
   ========================================================================== */

/* El widget actúa de referencia de posicionamiento del desplegable */
#div-search-mobile-bar .search-widget {
    position: relative;
}

/* Desplegable anclado al ancho exacto de la barra de búsqueda */
#div-search-mobile-bar .autocomplete-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    width: auto;        /* anula anchos fijos heredados de escritorio */
    max-width: 100%;
    z-index: 99999;     /* por encima del header sticky */
    box-sizing: border-box;
}

/* Aire lateral en cada sugerencia (imagen + nombre + precio) */
#div-search-mobile-bar .autocomplete-suggestion {
    padding-left: 12px;
    padding-right: 12px;
}



/* ==========================================================================
   8. NOTIFICACIÓN TOAST CARRITO
   ========================================================================== */

#blockcart-notification {
    background-color: #FFF !important;
    border: 1px solid #054836 !important;
    border-radius: 15px !important;
}

#blockcart-notification .ns-content,
#blockcart-notification .ns-title {
    color: #054836 !important;
}

@media (max-width: 768px) {
    #blockcart-notification {
        position: fixed !important;
        top: 150px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: 90% !important;
        max-width: 400px !important;
        margin: 0 !important;
        z-index: 9999 !important;
    }
}

@media (min-width: 769px) {
    #blockcart-notification {
        top: 150px !important;
    }
}


/* ==========================================================================
   9. SIDE-CART
   ========================================================================== */

#blockcart-content {
    padding: 1.8rem;
    text-align: left;
    max-width: 100%;
    width: 500%;
}


/* ==========================================================================
   10. FOOTER — COLUMNAS EN MÓVIL
   ========================================================================== */

@media (max-width: 991.98px) {
    #footer-container-main .row {
        flex-direction: column !important;
    }

    #footer-container-main .col,
    #footer-container-main .col-md,
    #footer-container-main .col-md-auto,
    #footer-container-main .col-12 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}


/* ==========================================================================
   11. FOOTER — CONTACTO
   ========================================================================== */

.elementor-icon-list-items .elementor-icon-list-item + .elementor-icon-list-item {
    margin-top: 6px !important;
}


/* ==========================================================================
   12. FOOTER — MÉTODOS DE PAGO
   ========================================================================== */

.footer-payment-icons {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-payment-icons i {
    font-size: 2rem;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.2s ease;
    padding: 4px;
}

.footer-payment-icons i:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.fa-cc-visa        { color: #1a1f71 !important; }
.fa-cc-mastercard  { color: #eb001b !important; }
.fa-cc-paypal      { color: #003087 !important; }
.fa-cc-amex        { color: #007bc1 !important; }
.fa-cc-stripe      { color: #635bff !important; }
.fa-apple-pay      { color: #000000 !important; }
.fa-google-pay     { color: #4285f4 !important; }
.fa-cc-amazon-pay  { color: #ff9900 !important; }


/* ==========================================================================
   13. FOOTER — TRANSPORTISTAS
   ========================================================================== */

.footer-carriers {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-carriers img {
    height: 28px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.2s ease;
}

.footer-carriers img:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


/* ==========================================================================
   14. FOOTER — BARRA INFERIOR CON LOGO Y FECHA
   ========================================================================== */

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.footer-bottom-logo {
    height: 100px !important;
    width: auto;
}

.footer-bottom-date {
    font-size: 0.85rem;
    color: #1e4d2b;
    font-weight: 500;
}


/* ==========================================================================
   15. BLOQUE CANTIDAD + BOTÓN CARRITO — BASE
   ========================================================================== */

.custom-cart-block {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.custom-qty-box {
    display: flex;
    align-items: center;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    height: auto;
    background: #fff;
}

.custom-qty-btn {
    width: 40px;
    border: none;
    background: #fff;
    color: #2a8660;
    font-size: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
}

.custom-qty-btn:hover {
    background: #f5f5f5;
}

.custom-qty-input {
    width: 50px;
    min-width: 50px;
    text-align: center;
    border: none;
    outline: none;
    font-weight: 600;
    background: #fff;
    color: #222;
    padding: 0;
}


/* ==========================================================================
   16. BOTÓN AÑADIR AL CARRITO — ESTILO Y ANIMACIÓN
   ========================================================================== */

.custom-cart-submit {
    background: #FFDE21;
    border: none;
    border-radius: 12px;
    padding: 0 14px;
    height: auto;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.16s ease;
    will-change: transform;
}

.custom-cart-submit svg {
    stroke: #214E3A;
    width: 22px;
    height: 22px;
    display: block;
}

.custom-cart-submit:hover {
    background: #FFDE21;
    transform: translateY(-1px) scale(1.05);
}

.custom-cart-submit:active {
    transform: scale(0.94);
}

.custom-cart-submit:focus,
.custom-cart-submit:focus-visible {
    outline: none;
}

.custom-cart-submit:hover svg {
    animation: cart-bounce 0.38s ease;
}

@keyframes cart-bounce {
    0%   { transform: translateY(0) scale(1); }
    35%  { transform: translateY(-2px) scale(1.08); }
    70%  { transform: translateY(1px) scale(0.98); }
    100% { transform: translateY(0) scale(1); }
}

.custom-cart-submit.is-clicked {
    transform: scale(0.92) !important;
    transition: transform 0.1s ease !important;
}


/* ==========================================================================
   17. FICHA DE PRODUCTO — BOTONES DE ACCIÓN
   ========================================================================== */

.product-add-to-cart {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.product-add-to-cart .custom-cart-block {
    display: flex;
    align-items: stretch;
    gap: 10px;
    flex: 0 0 auto;
}

.product-add-to-cart .col-add-wishlist,
.product-add-to-cart .col-add-compare {
    padding: 0 !important;
    margin: 0 !important;
    flex: 0 0 auto;
    width: auto !important;
    max-width: none !important;
}

.product-add-to-cart .btn-iqitwishlist-add,
.product-add-to-cart .btn-iqitcompare-add {
    border: none !important;
    color: #054836 !important;
    box-shadow: 0 6px 16px rgba(5, 72, 54, 0.10);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.product-add-to-cart .btn-iqitwishlist-add {
    background: #F4E2E1 !important;
}

.product-add-to-cart .btn-iqitcompare-add {
    background: #EFEDE0 !important;
}

.product-add-to-cart .btn-iqitwishlist-add:hover,
.product-add-to-cart .btn-iqitcompare-add:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(5, 72, 54, 0.16);
}

.product-add-to-cart .btn-iqitwishlist-add i,
.product-add-to-cart .btn-iqitcompare-add i {
    color: #054836 !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

.product-add-to-cart .btn-iqitwishlist-add .added,
.product-add-to-cart .btn-iqitcompare-add .added {
    display: none;
}

.product-add-to-cart .bootstrap-touchspin .input-group-btn-vertical,
.product-add-to-cart .bootstrap-touchspin .input-group-addon {
    display: none !important;
}

.product-add-to-cart .bootstrap-touchspin {
    display: block !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.product-add-to-cart .bootstrap-touchspin .custom-qty-input,
.product-add-to-cart #quantity_wanted.custom-qty-input {
    width: 40px !important;
    min-width: 40px !important;
    flex: 0 0 40px !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #222 !important;
    background: #fff !important;
    opacity: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: normal !important;
    border: none !important;
    box-shadow: none !important;
}


/* ==========================================================================
   18. RESPONSIVE — MÓVIL
   ========================================================================== */

@media (max-width: 768px) {

    .custom-cart-block {
        gap: 6px;
        flex-wrap: nowrap;
    }

    .custom-qty-box {
        border-radius: 10px;
    }

    .custom-qty-btn {
        width: 30px;
        min-width: 30px;
        font-size: 16px;
    }

    .custom-qty-input {
        width: 34px;
        min-width: 34px;
        font-size: 13px;
    }

    .custom-cart-submit {
        width: 44px;
        min-width: 44px;
        border-radius: 10px;
        flex: 0 0 44px;
        padding: 0;
    }

    .custom-cart-submit svg {
        width: 20px;
        height: 20px;
    }

    .product-add-to-cart .btn-iqitwishlist-add,
    .product-add-to-cart .btn-iqitcompare-add {
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
    }
}


/* ==========================================================================
   19. BORDER RADIUS ICONOS SUBMENU
   ========================================================================== */

.cbp-mainlink-iicon{
    border-radius:15px;
}

/* ============================================================
   Nonnamarket - Pagina de confirmacion de pedido
   Añadir al final de custom.css del child theme
   ============================================================ */

.nm-confirmation {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

/* ----- Cabecera de exito ----- */
.nm-conf-hero {
  text-align: center;
  padding: 2.5rem 1rem 2rem;
}

.nm-conf-check {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: #1A3D22;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(26, 61, 34, 0.25);
  animation: nm-conf-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nm-conf-check svg {
  width: 36px;
  height: 36px;
}

@keyframes nm-conf-pop {
  0%   { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1);   opacity: 1; }
}

.nm-conf-title {
  color: #1A3D22;
  margin-bottom: 0.75rem;
}

.nm-conf-title span::before {
  display: none; /* por si el tema pinta iconos en page-title */
}

.nm-conf-reference {
  display: inline-block;
  background: rgba(201, 168, 76, 0.14);
  color: #8a6d2a;
  border: 1px solid #C9A84C;
  border-radius: 999px;
  padding: 0.35rem 1.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

.nm-conf-mail {
  color: #555;
  max-width: 560px;
  margin: 0 auto;
}

.nm-conf-invoice-link {
  color: #1A3D22;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nm-conf-invoice-link:hover {
  color: #C9A84C;
}

/* ----- Tarjetas ----- */
.nm-conf-card {
  background: #fff;
  border: 1px solid #e8e6e0;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.nm-conf-card-title {
  color: #1A3D22;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #C9A84C;
  padding-bottom: 0.6rem;
  margin-bottom: 1rem;
}

/* ----- Lista de detalles ----- */
.nm-conf-details-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nm-conf-details-list li {
  padding: 0.55rem 0;
  border-bottom: 1px dashed #eee;
}

.nm-conf-details-list li:last-child {
  border-bottom: none;
}

.nm-conf-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #999;
  margin-bottom: 0.1rem;
}

.nm-conf-value {
  font-weight: 600;
  color: #2b2b2b;
}

.nm-conf-delay {
  display: block;
  font-size: 0.85rem;
}

/* ----- Bloque de retorno del pago (Stripe, etc.) ----- */
.nm-conf-payment-return {
  font-size: 0.9rem;
  color: #555;
}

/* ----- Articulos ----- */
.nm-conf-line {
  padding: 0.85rem 0;
  border-bottom: 1px solid #f0efeb;
}

.nm-conf-line:last-of-type {
  border-bottom: none;
}

.nm-conf-image img {
  border-radius: 8px;
  border: 1px solid #eee;
}

.nm-conf-product-name {
  font-weight: 600;
  color: #2b2b2b;
}

.nm-conf-unit,
.nm-conf-qty {
  color: #777;
}

.nm-conf-line-total {
  color: #1A3D22;
  font-weight: 700;
}

/* ----- Totales ----- */
.nm-conf-totals {
  width: 100%;
  margin-top: 1rem;
  border-top: 2px solid #1A3D22;
  padding-top: 0.5rem;
}

.nm-conf-totals td {
  padding: 0.45rem 0;
}

.nm-conf-totals td:last-child {
  text-align: right;
}

.nm-conf-grand-total td {
  font-size: 1.15rem;
  color: #1A3D22;
  border-top: 1px solid #e8e6e0;
}

/* ----- CTA ----- */
.nm-conf-cta {
  text-align: center;
  margin-top: 1.5rem;
}

.nm-conf-btn {
  background: #1A3D22;
  border-color: #1A3D22;
  color: #fff;
  padding: 0.8rem 2.4rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, transform 0.15s ease;
}

.nm-conf-btn:hover,
.nm-conf-btn:focus {
  background: #C9A84C;
  border-color: #C9A84C;
  color: #1A3D22;
  transform: translateY(-1px);
}

/* ----- Responsive ----- */
@media (max-width: 767px) {
  .nm-conf-hero {
    padding-top: 1.5rem;
  }

  .nm-conf-card {
    padding: 1.1rem;
  }

  .nm-conf-line .qty .row > div {
    text-align: left !important;
  }

  .nm-conf-line-total {
    text-align: right !important;
  }
}

#payment-module-message {
  display: none;
}






/* ═══════════════════════════════════════════════════════════
   Señaliza la categoria activa en left column
═══════════════════════════════════════════════════════════ */

.category-sub-menu a.current-category {
  font-weight: 700;
  color: #1A3D22;
}



/* ═══════════════════════════════════════════════════════════
   SLIDER HERO NONNAMARKET — estilos
   DESTINO: añadir al final de custom.css del child theme.
   Prefijo nmslider- para no colisionar con Warehouse.
═══════════════════════════════════════════════════════════ */

.nmslider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.nmslider-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.nmslider-slide {
  flex: 0 0 100%;
  width: 100%;
  display: block;
  text-decoration: none;
}

.nmslider-slide img,
.nmslider-slide picture {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Flechas ── */
.nmslider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  color: #1A3D22;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}
.nmslider-arrow:hover { background: #fff; }
.nmslider-prev { left: 16px; }
.nmslider-next { right: 16px; }

/* ── Puntos ── */
.nmslider-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.nmslider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.25s ease;
}
.nmslider-dot-active {
  background: #fff;
  width: 26px;
}

/* ── Móvil: sin flechas (se navega con el dedo) ── */
@media (max-width: 767px) {
  .nmslider-arrow { display: none; }
  .nmslider-dots { bottom: 10px; }
  .nmslider-dot { width: 7px; height: 7px; }
  .nmslider-dot-active { width: 20px; }
}

/* ═══════════════════════════════════════════════════════════
   FIN SLIDER HERO
═══════════════════════════════════════════════════════════ */