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

    ** 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: #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%;
}

/* ---------- Fase 3.1: header minimalista do checkout (nexus_cart) ---------- */
body.lkn-checkout-page #header.lkn-checkout-header {
  background: var(--bg-sidebar);
  border-bottom: 1px solid var(--border-color);
  box-shadow: none;
}
body.lkn-checkout-page .lkn-min-header {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 0 16px;
}
body.lkn-checkout-page .lkn-min-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
body.lkn-checkout-page .lkn-min-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
body.lkn-checkout-page .lkn-min-brand .logo-img { max-height: 34px; width: auto; }
body.lkn-checkout-page .lkn-min-secure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}
body.lkn-checkout-page .lkn-min-secure i { color: var(--color-lime); }

/* nada de navegacao no topo do checkout: o toggle de tema vai para o header */
body.lkn-checkout-page .master-breadcrumb { display: none !important; }
body.lkn-checkout-page .lkn-min-right {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
body.lkn-checkout-page .lkn-min-theme {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
body.lkn-checkout-page .lkn-min-theme:hover { border-color: var(--color-lime); color: var(--color-lime); }

/* banner de licenca de desenvolvimento sai do fluxo no checkout */
body.lkn-checkout-page .primary-content > div[style*="ffffd2"] { display: none !important; }

@media (max-width: 767px) {
  body.lkn-checkout-page .lkn-min-header { min-height: 64px; padding: 0 12px; }
  body.lkn-checkout-page .lkn-min-brand .logo-img { max-height: 28px; }
  body.lkn-checkout-page .lkn-min-secure { font-size: .8rem; gap: 6px; }
}

/* toggle do header minimalista: mostra so o icone do tema ativo */
body.lkn-checkout-page .lkn-min-header .lkn-min-theme .theme-icon-sun { display: none !important; }
body.lkn-checkout-page .lkn-min-header .lkn-min-theme .theme-icon-moon {
  display: inline-block !important;
  opacity: 1;
  color: var(--color-lime);
}
[data-theme="light"] body.lkn-checkout-page .lkn-min-header .lkn-min-theme .theme-icon-sun {
  display: inline-block !important;
  opacity: 1;
  color: var(--color-blue);
}
[data-theme="light"] body.lkn-checkout-page .lkn-min-header .lkn-min-theme .theme-icon-moon { display: none !important; }

/* ---------- footer global (3.8) ---------- */
.lkn-global-footer {
  border-top: 1px solid var(--border-color);
  padding: 22px 0;
  background: transparent;
}
.lkn-global-footer .container { max-width: none; }
.lkn-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}
.lkn-footer-legal {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
}
.lkn-footer-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}
.lkn-footer-nav a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
}
.lkn-footer-nav a:hover,
.lkn-footer-nav a:focus { color: var(--text-primary); text-decoration: underline; }
.lkn-footer-nav a:focus-visible { outline: 2px solid var(--color-lime); outline-offset: 2px; border-radius: 4px; }
.lkn-footer-sep { font-size: 13px; color: var(--text-secondary); opacity: .7; }
.lkn-footer-locale {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.lkn-footer-locale:hover { color: var(--text-primary); border-color: var(--text-secondary); }
.lkn-footer-locale:focus-visible { outline: 2px solid var(--color-lime); outline-offset: 2px; }
.lkn-footer-locale i { font-size: 10px; opacity: .8; }

@media (max-width: 991.98px) {
  .lkn-footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }
  .lkn-footer-nav { justify-content: flex-start; flex-wrap: wrap; }
  .lkn-footer-legal { white-space: normal; }
}

/* footer: no light ele herda o fundo da pagina (sem faixa escura); no dark mantem como esta */
[data-theme="light"] .lkn-global-footer {
  background: transparent !important;
  background-color: transparent !important;
}
