/* Nautic Depot · Nueva apariencia (tema Classic de PrestaShop 1.7.8)
   Subir a: themes/classic/assets/css/custom.css (el tema ya lo carga; si existe, añadir al final).
   Después: Parámetros avanzados › Rendimiento › Borrar la caché.
   Colores: azul marino #1A2A5A · coral #F55A5A · fondo #F6F7FA · texto #1A2333 */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap');

body, #wrapper { background: #F6F7FA; }
body, .btn, .form-control { font-family: Manrope, 'Segoe UI', Arial, sans-serif; color: #1A2333; }
h1, h2, h3, .h1, .h2, .h3, .products-section-title { color: #1A2A5A; font-weight: 800; text-transform: none; }
a { color: #1A2A5A; } a:hover, a:focus { color: #C93C3C; }

/* Cabecera: barra superior azul marino y menú */
#header .header-nav { background: #1A2A5A; border: 0; max-height: none; }
#header .header-nav, #header .header-nav a, #header .header-nav .material-icons,
#header .header-nav .blockcart, #header .header-nav .user-info a { color: #FFFFFF; }
#header .header-nav .blockcart { background: transparent; }
#header .header-top { border-bottom: 1px solid #E2E6EE; }

.top-menu a[data-depth="0"] { color: #1A2A5A; font-weight: 700; text-transform: none; font-size: 15px; }
.top-menu a[data-depth="0"]:hover { color: #C93C3C; }
#search_widget form input { border-radius: 10px; border-color: #CBD2DF; background: #F6F7FA; height: 44px; }

/* Botones */
.btn-primary, .btn-primary:disabled { background: #F55A5A; border-color: #F55A5A; color: #1A0F0F; font-weight: 800; border-radius: 10px; text-transform: none; box-shadow: none; }
.btn-primary:hover, .btn-primary:focus { background: #E04848; border-color: #E04848; color: #1A0F0F; }
.btn-secondary, .btn-tertiary { border-radius: 10px; }

/* Fichas pequeñas de producto (listados y portada) */
.product-miniature .thumbnail-container { border: 1px solid #E2E6EE; border-radius: 14px; box-shadow: none; overflow: hidden; }
.product-miniature .product-title a { color: #1A2333; font-weight: 700; font-size: 15px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-miniature .product-price-and-shipping .price { color: #1A2A5A; font-weight: 800; font-size: 18px; }

/* Ficha de producto */
.product-container h1.h1 { font-size: 34px; line-height: 1.15; text-transform: none; }
.product-prices .current-price span { color: #1A2A5A; font-weight: 800; font-size: 34px; }
.product-add-to-cart .add-to-cart { height: 56px; font-size: 17px; }
.blockreassurance_product { background: #FFFFFF; border: 1px solid #E2E6EE; border-radius: 12px; }
.nd-incluye h3 { font-size: 20px; margin: 18px 0 8px; }
.nd-incluye ul { padding-left: 20px; }
.nd-incluye li { margin-bottom: 4px; }

/* Pie */
#footer { background: #111C3D; color: #C9D0E2; padding-top: 32px; }
#footer a, #footer .h3, #footer .h4, #footer p, #footer li, #footer .block-contact { color: #C9D0E2; }
#footer .h3, #footer .h4 { color: #FFFFFF; text-transform: none; }
#footer > div.container > div > div.blockreassurance{color: #C9D0E2;}

/* ---- Portada (bloque de texto con clases nd-*) ---- */
#custom-text { background: transparent; padding: 0; text-align: left; box-shadow: none; }
.nd-hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; background: #1A2A5A; color: #FFFFFF; border-radius: 18px; padding: 48px; margin-bottom: 0; }
.nd-hero__texto { flex: 1 1 420px; }
.nd-hero__foto { flex: 1 1 320px; background: #FFFFFF; border-radius: 16px; padding: 16px; text-align: center; }
.nd-hero__foto img { max-width: 100%; height: auto; max-height: 340px; }
.nd-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #FF8A80; margin: 0 0 14px; }
.nd-hero__titulo { color: #FFFFFF; font-size: 44px; line-height: 1.08; font-weight: 800; margin: 0 0 16px; }
.nd-hero__sub { font-size: 17px; line-height: 1.55; color: #D5DBEA; margin: 0 0 24px; }
.nd-hero__botones { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.nd-btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 26px; border-radius: 10px; font-weight: 800; font-size: 16px; text-decoration: none; }
.nd-btn--coral { background: #F55A5A; color: #1A0F0F; }
.nd-btn--coral:hover { background: #E04848; color: #1A0F0F; }
.nd-btn--borde { border: 2px solid #FFFFFF; color: #FFFFFF; }
.nd-btn--borde:hover { background: #FFFFFF; color: #1A2A5A; }
.nd-confianza { list-style: none; margin: 18px 0 0; padding: 20px 24px; background: #FFFFFF; border: 1px solid #E2E6EE; border-radius: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.nd-confianza li { border-left: 0; padding: 0; }
.nd-confianza strong { display: block; font-size: 15px; color: #1A2A5A; }
.nd-confianza span { font-size: 13px; color: #4A5679; }
.nd-h2 { font-size: 28px; font-weight: 800; color: #1A2A5A; margin: 40px 0 18px; }
.nd-categorias { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.nd-cat { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid #E2E6EE; border-radius: 14px; overflow: hidden; text-decoration: none; }
.nd-cat img { width: 100%; height: 180px; object-fit: contain; background: #FFFFFF; padding: 12px; }
.nd-cat span { padding: 14px 16px; font-weight: 800; font-size: 16px; color: #1A2333; border-top: 1px solid #EEF1F6; }
.nd-cat:hover span { color: #C93C3C; }
.nd-guia { background: #FFFFFF; border: 1px solid #E2E6EE; border-radius: 18px; padding: 8px 32px 32px; margin-top: 40px; }
.nd-guia > p { color: #4A5679; }
.nd-guia__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.nd-guia__item { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 12px; background: #F6F7FA; border: 1px solid #E2E6EE; text-decoration: none; }
.nd-guia__item span { font-size: 13px; font-weight: 700; color: #4A5679; }
.nd-guia__item strong { font-size: 21px; color: #1A2A5A; }
.nd-guia__item em { font-style: normal; font-size: 14px; font-weight: 800; color: #C93C3C; }

.nd-opiniones { background: #FFFFFF; border: 1px solid #E2E6EE; border-radius: 18px; padding: 8px 32px 28px; margin-top: 40px; text-align: center; }
.nd-opiniones__nota { font-size: 18px; color: #1A2A5A; margin: 0 0 16px; }
.nd-opiniones__widget:empty { display: none; }
.nd-btn--azul { background: #1A2A5A; color: #FFFFFF; }
.nd-btn--azul:hover { background: #111C3D; color: #FFFFFF; }
.block-social ul li {background-color: transparent !important;}

@media (max-width: 767px) {
  .nd-hero { padding: 28px 22px; }
  .nd-hero__titulo { font-size: 32px; }
  .nd-guia { padding: 8px 18px 22px; }
}

@media (min-width: 992px) {
  /* Reducir márgenes verticales de la cabecera principal */
  #header .header-top {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  /* Alinear logo + bloque derecho en una única fila */
  #header .header-top > .container > .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  /* Reducir el tamaño del logo */
  #header .header-top #_desktop_logo {
    flex: 0 0 auto;
    width: auto;
    padding: 0 15px 0 0;
  }

  #header .header-top #_desktop_logo img {
    max-height: 75px;
    width: auto;
  }

  /* Poner menú y buscador en la misma fila a la derecha */
  #header .header-top .position-static {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    width: auto;
    padding: 0;
    gap: 12px;
  }

  /* Menú en una sola línea sin saltos */
  #header #_desktop_top_menu {
    flex: 1 1 auto;
    margin: 0;
  }

  #header #_desktop_top_menu .top-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0;
	width: 100%;
  }

  #header #_desktop_top_menu .top-menu > li {
    white-space: nowrap;
  }

  #header #_desktop_top_menu .top-menu > li > a {
    font-size: 14px;
    padding: 6px 8px;
    text-transform: none;
  }

  /* Buscador compacto a la derecha del menú */
  #header #search_widget {
    flex: 0 0 185px;
    width: 185px;
    min-width: 185px;
    margin: 0;
    float: none;
  }

  #header #search_widget form input[type="text"] {
    height: 36px;
    padding: 5px 10px 5px 34px;
    font-size: 13px;
  }

  #header #search_widget form button[type="submit"] {
    bottom: 5px;
    right: 6px;
  }
}
