/* Norihost — estilos del tema hijo de Nexus (11-nov-2026).
 * Colores, radios y tipografía tomados de norihost.com (app/globals.css y
 * design-system/NORIHOST-DESIGN-SYSTEM.md). Un solo azul (#122f83), verde solo para
 * acciones de conversión (#15803d), neutros cálidos.
 */
/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */

/* Custom CSS for Nexus Theme
 *
 * This file allows you to customize the theme colors and styles for the entire Nexus template.
 *
 * To customize colors:
 * - Replace the var() references with your own hex colors or other CSS values.
 * - For example, instead of --primary: #4b5563; use --primary: #your-color;
 * - You can also override any CSS properties here.
 */

:root {
    --white: #fff;

    /* Neutral shades */
    --neutral-50: #f7f7f5;
    --neutral-100: #f0efec;
    --neutral-200: #e4e2df;
    --neutral-300: #d3d0cc;
    --neutral-400: #9a979c;
    --neutral-500: #625f66;
    --neutral-600: #4d4a50;
    --neutral-700: #3a3836;
    --neutral-800: #242220;
    --neutral-900: #222020;
    --neutral-950: #000000;

    /* Neutral shades */
    /* define own pallet with brand colors */
    --primary-50: #eef2fb;
    --primary-100: #dbe3f6;
    --primary-200: #b8c7ed;
    --primary-300: #8ea6e0;
    --primary-400: #5f7fcf;
    --primary-500: #3a5dbb;
    --primary-600: #22449f;
    --primary-700: #122f83;
    --primary-800: #0e2566;
    --primary-900: #0b1d52;
    --primary-950: #07133a;

    /* Primary colors */
    /* Use shades from comments if `primary` colors use other colors, then neutral */
    --primary: #122f83;
    --primary-lifted: #0e2566;
    --primary-accented: #0b1d52;

    /* Secondary colors */
    --secondary: var(--neutral-500);
    --secondary-lifted: var(--neutral-600);
    --secondary-accented: var(--neutral-700);

    /* Success colors */
    --success: #15803d;
    --success-lifted: #166534;
    --success-accented: #14532d;

    /* Info colors */
    --info: #122f83;
    --info-lifted: #0e2566;
    --info-accented: #0b1d52;

    /* Notice colors */
    --notice: #7f22fe;
    --notice-lifted: #7008e7;
    --notice-accented: #5d0ec0;

    /* Warning colors */
    --warning: #b45309;
    --warning-lifted: #92400e;
    --warning-accented: #78350f;

    /* Error colors */
    --error: #c81e1e;
    --error-lifted: #a51a1a;
    --error-accented: #861616;

    /* Grayscale colors */
    --grayscale: #122f83; /* Nexus usa este token para botones y acentos: azul de marca */
    --grayscale-lifted: #0e2566; /* Nexus usa este token para botones y acentos: azul de marca */
    --grayscale-accented: #0b1d52; /* Nexus usa este token para botones y acentos: azul de marca */

    /* Neutral colors */
    --neutral: var(--neutral-500);
    --neutral-lifted: var(--neutral-600);
    --neutral-accented: var(--neutral-700);

    /* Text neutral colors */
    --text-inverted: var(--white);
    --text-muted: var(--neutral-400);
    --text-lifted: var(--neutral-500);
    --text-accented: var(--neutral-600);
    --text: var(--neutral-900);

    /* Border neutral colors */
    --border-muted: var(--neutral-200);
    --border: var(--neutral-300);
    --border-lifted: var(--neutral-400);
    --border-accented: var(--neutral-600);

    /* Background neutral colors */
    --bg: var(--white);
    --bg-muted: var(--neutral-50);
    --bg-lifted: var(--neutral-100);
    --bg-accented: var(--neutral-200);
    --bg-inverted: #122f83; /* Nexus usa este token para botones y acentos: azul de marca */

    /* Additional colors */
    --yellow-200: #fff085;
    --yellow-300: #ffdf20;
    --teal-300: #46edd5;
    --teal-400: #00d5be;
    --emerald-300: #5ee9b5;
    --pink-400: #fb64b6;

    /* Additional custom properties */
    /* Font sizes */
    --text-xs: 0.625rem;
    --text-sm: 0.75rem;
    --text-md: 0.875rem;
    --text-lg: 1rem;

    /* Spacing */
    --outline-sm: 1px;
    --outline-md: 2px;
    --outline-lg: 3px;

    /* Rounding */
    --rounding-sm: 0.5rem;
    --rounding-md: 0.75rem;
    --rounding-lg: 1rem;

    /* Other */
    --letter-spacing: 0em;
    --disabled-opacity: 25%;
}


/* ---------- Tipografía ---------- */
body, .btn, .form-control, .tooltip, .popover {
    font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
    font-family: "Sora", "Hanken Grotesk", system-ui, sans-serif;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* ---------- Barra del sitio ---------- */
.nh-sitebar {
    background: #fff;
    border-bottom: 1px solid var(--neutral-200);
    min-height: 72px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
.nh-brand { padding: 0; margin-right: 1.5rem; }
.nh-logo { height: 32px; width: auto; }
.nh-sitenav {
    list-style: none;
    margin: 0 1.5rem 0 auto;
    padding: 0;
    gap: 1.75rem;
    align-items: center;
}
.nh-sitenav a {
    color: var(--neutral-900);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
}
.nh-sitenav a:hover, .nh-sitenav a:focus { color: var(--primary); }
.nh-cta.btn {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    border-radius: var(--rounding-md);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1.1rem;
}
.nh-cta.btn:hover, .nh-cta.btn:focus { background: var(--primary-lifted); border-color: var(--primary-lifted); color: #fff; }
.nh-sitebar .cart-btn { color: var(--neutral-900); }
.nh-sitenav-mobile { border-top: 1px solid var(--neutral-200); margin-top: 0.5rem; padding-top: 0.5rem; }

/* ---------- Menú del panel ---------- */
.main-navbar-wrapper { background: var(--neutral-50); border-bottom: 1px solid var(--neutral-200); }

/* ---------- Botones de conversión: verde de marca ---------- */
.btn-success { background-color: var(--success); border-color: var(--success); }
.btn-success:hover, .btn-success:focus { background-color: var(--success-lifted); border-color: var(--success-lifted); }

/* ---------- Pie de página ---------- */
.nh-footer.footer {
    background: #000;
    color: rgba(255, 255, 255, 0.72);
    padding: 3.5rem 0 1.5rem;
    margin-top: 3rem;
    font-size: 0.875rem;
}
.nh-footer a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.nh-footer a:hover, .nh-footer a:focus { color: #fff; }
.nh-footer-brand img { height: 28px; width: auto; }
.nh-footer-tagline { margin-top: 1rem; max-width: 18rem; line-height: 1.55; }
.nh-footer-title {
    font-family: "Hanken Grotesk", system-ui, sans-serif;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.nh-footer li { margin-bottom: 0.5rem; }
.nh-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    font-size: 0.8125rem;
}
.nh-footer .copyright { color: rgba(255, 255, 255, 0.6); text-align: center; }

/* ---------- Ajustes sobre Nexus ---------- */
/* Nexus pinta html/body con --bg-inverted; el pie de Norihost es negro. */
html, body { background-color: #000; }
#main-body, .master-breadcrumb { background-color: var(--bg); }
/* header.header .navbar a fija #444 a todos los enlaces del encabezado */
header.header .navbar a.nh-cta, header.header .navbar a.nh-cta:hover, header.header .navbar a.nh-cta:focus { color: #fff; }
header.header .nh-sitenav a { color: var(--neutral-900); }
header.header .nh-sitenav a:hover { color: var(--primary); }
/* Verde de acción solo en los botones que compran */
body #order-standard_cart .products .product footer .btn-order-now,
body #order-standard_cart .text-right .btn-checkout,
#btnCompleteOrder, .btn-checkout {
    background: var(--success); border-color: var(--success); color: #fff;
}
body #order-standard_cart .products .product footer .btn-order-now:hover,
body #order-standard_cart .text-right .btn-checkout:hover,
#btnCompleteOrder:hover, .btn-checkout:hover {
    background: var(--success-lifted); border-color: var(--success-lifted); color: #fff;
}
@media (min-width: 992px) {
    .nh-footer .copyright { flex: 1; text-align: left; margin-right: 2rem; }
}
/* Migas de pan sin la franja gris de Nexus */
.master-breadcrumb .breadcrumb { background: transparent; padding-left: 0; padding-right: 0; }
@media (min-width: 992px) {
    footer.nh-footer .nh-footer-bottom .copyright { flex: 1; text-align: left; margin-right: 2rem; }
}
/* Login: en Nexus la casilla «Recordar» queda absoluta y se encima sobre «Ingresar» con textos largos */
.float-left + .text-right > label { position: relative; padding-left: 1.5rem; margin: 0.5rem 0 0; }
.float-left + .text-right > label .form-check-input { position: absolute; left: 0; top: 0.2rem; margin: 0; }
