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

    ** Custom Stylesheet **

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

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

/* Custom CSS for Nexus Cart
 *
 * This block allows you to customize theme colors and styles for the entire Nexus Cart 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.
 */

html {
    font-size: 14px;
}

:root {
    --white: #fff;

    /* Neutral shades */
    --neutral-50: #fbf9fa;
    --neutral-100: #f4f5f7;
    --neutral-200: #e4e4e7;
    --neutral-300: #d0d5dd;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    --neutral-950: #030712;

    /* Neutral shades */
    /* define own pallet with brand colors */
    --primary-50: var(--neutral-50);
    --primary-100: var(--neutral-100);
    --primary-200: var(--neutral-200);
    --primary-300: var(--neutral-300);
    --primary-400: var(--neutral-400);
    --primary-500: var(--neutral-500);
    --primary-600: var(--neutral-600);
    --primary-700: var(--neutral-700);
    --primary-800: var(--neutral-800);
    --primary-900: var(--neutral-900);
    --primary-950: var(--neutral-900);

    /* Primary colors */
    /* Use shades from comments if `primary` colors use other colors, then neutral */
    --primary: var(--neutral-900);          /* var(--primary-600) */
    --primary-lifted: var(--neutral-800);   /* var(--primary-700) */
    --primary-accented: var(--neutral-700); /* var(--primary-800) */

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

    /* Success colors */
    --success: #00a63e;
    --success-lifted: #008236;
    --success-accented: #016630;

    /* Info colors */
    --info: #155dfc;
    --info-lifted: #1447e6;
    --info-accented: #193cb8;

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

    /* Warning colors */
    --warning: #f54a00;
    --warning-lifted: #ca3500;
    --warning-accented: #9f2d00;

    /* Error colors */
    --error: #e7000b;
    --error-lifted: #c10007;
    --error-accented: #9f0712;

    /* Grayscale colors */
    --grayscale: var(--neutral-900);
    --grayscale-lifted: var(--neutral-800);
    --grayscale-accented: var(--neutral-700);

    /* 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: var(--neutral-900);

    /* 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.25rem;
    --rounding-md: 0.5rem;
    --rounding-lg: 0.75rem;

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


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

    ** JetHosting – personalizzazioni del child theme **

    NOTA: questo file sostituisce il custom.css di Twenty-One.
    La parte sopra è la copia di quello originale (variabili
    del carrello Nexus Cart): lasciatela, altrimenti il
    carrello perde i suoi colori.

    Per cambiare i colori del tema basta modificare le
    variabili --jh-* qui sotto. I valori iniziali sono quelli
    di Twenty-One: attivando il tema non cambia nulla finché
    non li modificate.

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

:root {
    /* Colore principale (pulsanti, link, elementi attivi) */
    --jh-primary: #336699;
    --jh-primary-hover: #29537c;        /* ~10 % più scuro */
    --jh-primary-active: #264d73;       /* ~15 % più scuro */
    --jh-primary-focus: rgba(51, 102, 153, 0.35); /* = --jh-primary con trasparenza */
    --jh-on-primary: #fff;              /* testo sopra il colore principale */

    /* Link */
    --jh-link: var(--jh-primary);
    --jh-link-hover: #204060;

    /* Testata e piè di pagina */
    --jh-topbar-bg: #404040;
    --jh-header-bg: #fff;
    --jh-footer-bg: #404040;
    --jh-footer-text: #eee;
    --jh-page-bg: #f1f1f1;              /* sfondo delle pagine (.primary-bg-color) */

    /* Logo */
    --jh-logo-max-height: 60px;
}

/* --- Link ------------------------------------------------------------ */
a,
.btn-link,
.page-link,
.input-group .btn-reveal-pw:hover,
.input-group .btn-reveal-pw:active {
    color: var(--jh-link);
}
a:hover,
.btn-link:hover,
.page-link:hover {
    color: var(--jh-link-hover);
}

/* --- Pulsanti -------------------------------------------------------- */
.btn-primary,
.btn-primary.disabled,
.btn-primary:disabled {
    color: var(--jh-on-primary);
    background-color: var(--jh-primary);
    border-color: var(--jh-primary);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus {
    color: var(--jh-on-primary);
    background-color: var(--jh-primary-hover);
    border-color: var(--jh-primary-active);
}
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
    color: var(--jh-on-primary);
    background-color: var(--jh-primary-active);
    border-color: var(--jh-primary-active);
}
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-outline-primary:focus,
.btn-outline-primary.focus,
.form-control:focus,
.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem var(--jh-primary-focus);
}
.form-control:focus {
    border-color: var(--jh-primary);
}

.btn-outline-primary,
.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
    color: var(--jh-primary);
    border-color: var(--jh-primary);
}
.btn-outline-primary:hover,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
    color: var(--jh-on-primary);
    background-color: var(--jh-primary);
    border-color: var(--jh-primary);
}

/* --- Elementi attivi e componenti Bootstrap ------------------------- */
.dropdown-item.active,
.dropdown-item:active,
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link,
.badge-primary,
.progress-bar,
.status-onhold,
.status-payment-pending,
.status-delivered {
    background-color: var(--jh-primary);
}
.page-item.active .page-link,
.list-group-item.active,
.custom-control-input:checked ~ .custom-control-label::before,
.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
    color: var(--jh-on-primary);
    background-color: var(--jh-primary);
    border-color: var(--jh-primary);
}
.custom-range::-webkit-slider-thumb { background-color: var(--jh-primary); }
.custom-range::-moz-range-thumb     { background-color: var(--jh-primary); }
.domain-pricing .tld-pricing-header div:nth-child(odd) { border-color: var(--jh-primary); }

.bg-primary     { background-color: var(--jh-primary) !important; }
.border-primary { border-color: var(--jh-primary) !important; }
.text-primary   { color: var(--jh-primary) !important; }

/* --- Testata, sfondo, piè di pagina --------------------------------- */
header.header {
    background-color: var(--jh-header-bg);
}
header.header .topbar {
    background-color: var(--jh-topbar-bg);
}
header.header .logo-img {
    max-height: var(--jh-logo-max-height);
}
.primary-bg-color {
    background-color: var(--jh-page-bg);
}
footer.footer {
    background-color: var(--jh-footer-bg);
    color: var(--jh-footer-text);
}

/* --- Le vostre regole ----------------------------------------------- */
