// 
// Variables
// 

// Sistema de colores
$white:     #FFF !default;
$gray-100:  #F4F4F4 !default;
$gray-200:  #EEEEEE !default;
$gray-300:  #E9EAE8 !default;
$gray-400:  #DDDDDD !default;
$gray-500:  #D3D4D3 !default;
$gray-600:  #B6B7B7 !default;
$gray-700:  #86888C !default;
$gray-800:  #757575 !default;
$gray-900:  #50535A !default;
$gray-dark: #2A2A3C !default;
$black:     #000 !default;

$grays: () !default;
$grays: map-merge(
  (
    "100": $gray-100,
    "200": $gray-200,
    "300": $gray-300,
    "400": $gray-400,
    "500": $gray-500,
    "600": $gray-600,
    "700": $gray-700,
    "800": $gray-800,
    "900": $gray-900
  ),
  $grays
);

$blue-prom:       #0B2739 !default;
$blue-dark:       #002D45 !default;
$blue:            #00A9E0 !default;
$blue-light-90:   #19B1E3 !default;
$blue-light-80:   #32BAE6 !default;
$blue-light-70:   #4CC2E9 !default;
$blue-light-60:   #66CBEC !default;
$blue-light-50:   #7FD4EF !default;
$blue-light-20:   #CCEDF8 !default;
$blue-light-10:   #E5F6FB !default;

$green-prom:      #2D6200 !default;
$green-dark:      #3C7521 !default;
$green:           #5BC500 !default;
$green-light-90:  #6BCA19 !default;
$green-light-80:  #7BD032 !default;
$green-light-70:  #8CD64C !default;
$green-light-60:  #9CDC66 !default;
$green-light-50:  #ADE27F !default;
$green-light-20:  #DEF3CC !default;
$green-light-10:  #EEF9E5 !default;

$purple-dark:     #642A72 !default;
$purple:          #954B97 !default;
$purple-light-90: #9f5da1 !default;
$purple-light-80: #aa6eab !default;
$purple-light-70: #b481b6 !default;
$purple-light-60: #bf93c0 !default;
$purple-light-50: #caa5cb !default;
$purple-light-20: #e9dbea !default;
$purple-light-10: #f4edf4 !default;

$pink-dark:       #A32E4C !default;
$pink:            #FD286B !default;
$pink-light-90:   #fd3d79 !default;
$pink-light-80:   #fd5288 !default;
$pink-light-70:   #fd6897 !default;
$pink-light-60:   #fd7ea6 !default;
$pink-light-50:   #fe93b5 !default;
$pink-light-20:   #fed4e1 !default;
$pink-light-10:   #fee9f0 !default;

$orange-dark:     #A54827 !default;
$orange:          #EC6839 !default;
$orange-light-90: #ed774c !default;
$orange-light-80: #ef8660 !default;
$orange-light-70: #f19574 !default;
$orange-light-60: #f3a488 !default;
$orange-light-50: #f5b39c !default;
$orange-light-20: #fbe0d7 !default;
$orange-light-10: #fdefeb !default;

$egg-dark:        #935D00 !default;
$egg:             #F59C00 !default;
$egg-light-90:    #F6A519 !default;
$egg-light-80:    #F7AF32 !default;
$egg-light-70:    #F8B94C !default;
$egg-light-60:    #F9C366 !default;
$egg-light-50:    #FACD7F !default;
$egg-light-20:    #FDEBCC !default;
$egg-light-10:    #FEF5E5 !default;

$red-dark:        #841B25 !default;
$red:             #DC2E3F !default;
$red-light-90:    #DF4252 !default;
$red-light-80:    #E35765 !default;
$red-light-70:    #E66C78 !default;
$red-light-60:    #EE818B !default;
$red-light-50:    #ED969F !default;
$red-light-20:    #F8D5D8 !default;
$red-light-10:    #FBEAEB !default;

$colors: () !default;
$colors: map-merge(
  (
    "blue-prom":   $blue-prom,    
    "blue-dark":   $blue-dark,    
    "blue":        $blue,         
    "blue-90":     $blue-light-90,
    "blue-80":     $blue-light-80,
    "blue-70":     $blue-light-70,
    "blue-60":     $blue-light-60,
    "blue-50":     $blue-light-50,
    "blue-20":     $blue-light-20,
    "blue-10":     $blue-light-10,
    "green-prom":  $green-prom,    
    "green-dark":  $green-dark,    
    "green":       $green,         
    "green-90":    $green-light-90,
    "green-80":    $green-light-80,
    "green-70":    $green-light-70,
    "green-60":    $green-light-60,
    "green-50":    $green-light-50,
    "green-20":    $green-light-20,
    "green-10":    $green-light-10,
    "purple-dark": $purple-dark,    
    "purple":      $purple,         
    "purple-90":   $purple-light-90,
    "purple-80":   $purple-light-80,
    "purple-70":   $purple-light-70,
    "purple-60":   $purple-light-60,
    "purple-50":   $purple-light-50,
    "purple-20":   $purple-light-20,
    "purple-10":   $purple-light-10,
    "pink-dark":   $pink-dark,    
    "pink":        $pink,         
    "pink-90":     $pink-light-90,
    "pink-80":     $pink-light-80,
    "pink-70":     $pink-light-70,
    "pink-60":     $pink-light-60,
    "pink-50":     $pink-light-50,
    "pink-20":     $pink-light-20,
    "pink-10":     $pink-light-10,
    "orange-dark": $orange-dark,    
    "orange":      $orange,         
    "orange-90":   $orange-light-90,
    "orange-80":   $orange-light-80,
    "orange-70":   $orange-light-70,
    "orange-60":   $orange-light-60,
    "orange-50":   $orange-light-50,
    "orange-20":   $orange-light-20,
    "orange-10":   $orange-light-10,
    "egg-dark":    $egg-dark,    
    "egg":         $egg,         
    "egg-90":      $egg-light-90,
    "egg-80":      $egg-light-80,
    "egg-70":      $egg-light-70,
    "egg-60":      $egg-light-60,
    "egg-50":      $egg-light-50,
    "egg-20":      $egg-light-20,
    "egg-10":      $egg-light-10,
    "red-dark":    $red-dark,    
    "red":         $red,         
    "red-90":      $red-light-90,
    "red-80":      $red-light-80,
    "red-70":      $red-light-70,
    "red-60":      $red-light-60,
    "red-50":      $red-light-50,
    "red-20":      $red-light-20,
    "red-10":      $red-light-10,
    "white":       $white,
    "gray":        $gray-600,
    "gray-dark":   $gray-800
  ),
  $colors
);

$primary:       $green !default;
$secondary:     $green !default;
$danger:        $red !default;
$link:          $blue !default;
$success:       $green !default;
$info:          $orange !default;
$warning:       $egg !default;
$light:         $gray-100 !default;
$dark:          $gray-800 !default;

$theme-colors: () !default;
$theme-colors: map-merge(
  (
    "primary":            $primary,
    "secondary":          $secondary,
    "danger":             $danger,
    "link":               $link,
    "success":            $success,
    "info":               $info,
    "warning":            $warning,
    "light":              $light,
    "dark":               $dark
  ),
  $theme-colors
);

// Establezca un punto de salto específico para solicitar saltos de color.
$theme-color-interval:      8% !default;

// El valor de claridad yiq que determina cuándo cambia la claridad del color de "oscuro" a "claro". Los valores aceptables están entre 0 y 255.
$yiq-contrasted-threshold:  190 !default;

// Personalice los colores de texto claros y oscuros para usar en nuestra función de contraste de color YIQ.
$yiq-text-dark:             $gray-900 !default;
$yiq-text-light:            $white !default;

// Body
//
// Settings for the `<body>` element.

$body-bg:                   $white !default;
$body-color:                $gray-900 !default;

// Links
//
// Elementos de anclaje de estilo.

$link-color:                              theme-color("link") !default;
$link-decoration:                         none !important;
$link-hover-color:                        theme-color("link") !default;
$link-hover-decoration:                   underline !default;
$link-background-color:                   #E5F6FB !default;

$emphasized-link-hover-darken-percentage: 15% !default;

// Icons
//
$movistar-font-family: "movistar" !default;
$movistar-font-path: "fonts" !default;

$icon-arrow-down: "\e90a";
$icon-arrow-up: "\e90b";
$icon-recarga: "\e900";
$icon-servicios-digitales: "\e901";
$icon-club-movistar: "\e902";
$icon-alerta: "\e903";
$icon-ayuda: "\e904";
$icon-historial: "\e905";
$icon-ofertas: "\e906";
$icon-bolsas: "\e907";
$icon-movistar: "\e908";
$icon-cerrar: "\e909";

/* Opciones 
* Modifique rápidamente el estilo global habilitando o deshabilitando características opcionales
*/

$enable-transitions:                          true !default;
$enable-grid-classes:                         true !default;
$enable-pointer-cursor-for-buttons:           true !default;

/* Espaciado
* Controla el estilo predeterminado de la mayoría de los elementos del DS modificando estas
* variables. Principalmente centrado en el espaciado.
* Puede agregar más entradas al mapa $ spacers, si necesita más variación.
*/

$spacer: 1rem !default;
$spacing: () !default;
$spacing: map-merge(
  (
    0:   0,
    2:   ($spacer * .125),
    4:   ($spacer * .25),
    8:   ($spacer * .5),
    12:  ($spacer * .75),
    16:  ($spacer),
    24:  ($spacer * 1.5),
    32:  ($spacer * 2),
    40:  ($spacer * 2.5),
    48:  ($spacer * 3),
    64:  ($spacer * 4),
    96:  ($spacer * 6),
    160: ($spacer * 10)
  ),
  $spacing
);

$sizes: () !default;
$sizes: map-merge(
  (
    25: 25%,
    50: 50%,
    75: 75%,
    100: 100%,
    auto: auto
  ),
  $sizes
);

// Tipografía
//
// Fuente, altura de línea y color para el texto del cuerpo, encabezados y más.
$font-size-base: 1 !default; // Asume el valor predeterminado del navegador, generalmente `16px`
$font-sizes: () !default;
$font-sizes: map-merge(
  (
    12: (
      'mobile': ($font-size-base * .75), // 12px
      'desktop': ($font-size-base * .75) // 12px
    ),
    14: (
      'mobile': ($font-size-base * .75), // 12px
      'desktop': ($font-size-base * .875) // 14px
    ),
    16: (
      'mobile': ($font-size-base * .875), // 14px
      'desktop': ($font-size-base * 1) // 16px
    ),
    18: (
      'mobile': ($font-size-base * .875), // 14px
      'desktop': ($font-size-base * 1.125) // 18px
    ),
    20: (
      'mobile': ($font-size-base * 1), // 16px
      'desktop': ($font-size-base * 1.25) // 20px
    ),
    24: (
      'mobile': ($font-size-base * 1.125), // 18px
      'desktop': ($font-size-base * 1.5) // 24px
    ),
    28: (
      'mobile': ($font-size-base * 1.25), // 20px
      'desktop': ($font-size-base * 1.75) // 28px
    ),
    32: (
      'mobile': ($font-size-base * 1.5), // 24px
      'desktop': ($font-size-base * 2) // 32px
    ),
    36: (
      'mobile': ($font-size-base * 1.75), // 28px
      'desktop': ($font-size-base * 2.25) // 36px
    ),
    42: (
      'mobile': ($font-size-base * 2), // 32px
      'desktop': ($font-size-base * 2.625) // 42px
    ),
    48: (
      'mobile': ($font-size-base * 2), // 32px
      'desktop': ($font-size-base * 3) // 48px
    ),
    56: (
      'mobile': ($font-size-base * 2.25), // 36px
      'desktop': ($font-size-base * 3.5) // 56px
    ),
    60: (
      'mobile': ($font-size-base * 3.75), // N/A
      'desktop': ($font-size-base * 3.75) // N/A
    ),
    68: (
      'mobile': ($font-size-base * 4.25), // N/A
      'desktop': ($font-size-base * 4.25) // N/A
    ),
    80: (
      'mobile': ($font-size-base * 5), // N/A
      'desktop': ($font-size-base * 5) // N/A
    ),
    88: (
      'mobile': ($font-size-base * 5.5), // N/A
      'desktop': ($font-size-base * 5.5) // N/A
    )
  ),
  $font-sizes
);

$line-height-base: 1 !default;
$line-heights: () !default;
$line-heights: map-merge(
  (
    12: (
      'mobile': ($line-height-base * 1),
      'desktop': ($line-height-base * 1)
    ),
    14: (
      'mobile': ($line-height-base * 1), 
      'desktop': ($line-height-base * 1.25)
    ),
    16: (
      'mobile': ($line-height-base * 1.25),
      'desktop': ($line-height-base * 1.5)
    ),
    18: (
      'mobile': ($line-height-base * 1.25),
      'desktop': ($line-height-base * 1.5)
    ),
    20: (
      'mobile': ($line-height-base * 1.5),
      'desktop': ($line-height-base * 1.75)
    ),
    24: (
      'mobile': ($line-height-base * 1.5),
      'desktop': ($line-height-base * 2)
    ),
    28: (
      'mobile': ($line-height-base * 1.75),
      'desktop': ($line-height-base * 2)
    ),
    32: (
      'mobile': ($line-height-base * 2),
      'desktop': ($line-height-base * 2.5)
    ),
    36: (
      'mobile': ($line-height-base * 2),
      'desktop': ($line-height-base * 2.5)
    ),
    42: (
      'mobile': ($line-height-base * 2.5),
      'desktop': ($line-height-base * 3)
    ),
    48: (
      'mobile': ($line-height-base * 2.5),
      'desktop': ($line-height-base * 3.5)
    ),
    56: (
      'mobile': ($line-height-base * 2.5),
      'desktop': ($line-height-base * 4)
    ),
    60: (
      'mobile': ($line-height-base * 4),
      'desktop': ($line-height-base * 4)
    ),
    68: (
      'mobile': ($line-height-base * 4.5),
      'desktop': ($line-height-base * 4.5)
    ),
    80: (
      'mobile': ($line-height-base * 6.125),
      'desktop': ($line-height-base * 6.125)
    ),
    88: (
      'mobile': ($line-height-base * 6.5),
      'desktop': ($line-height-base * 6.5)
    )
  ),
  $line-heights
);

$font-family-svr:             'TelefonicaWeb-Regular', sans-serif;
$font-family-shared:          'Roboto', sans-serif;
$font-family-sans-serif:      -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
$font-family-monospace:       SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
$font-family-base:            $font-family-sans-serif !default;

$font-size-lg:                $font-size-base * 1.50 !default;
$font-size-sm:                12px !default;

$font-weight-lighter:         lighter !default;
$font-weight-light:           300 !default;
$font-weight-normal:          400 !default;
$font-weight-bold:            700 !default;
$font-weight-bolder:          bolder !default;

$font-weight-base:            $font-weight-normal !default;
$line-height-base:            1.5 !default;

$headings-margin-bottom:      $spacer / 2 !default;
$headings-font-family:        null !default;
$headings-font-weight:        500 !default;
$headings-line-height:        1.2 !default;
$headings-color:              null !default;

$text-muted:                  $gray-600 !default;

// Parrafos
//
// Estilo del elemento p.

$paragraph-margin-bottom:   1rem !default;

// Progress Bar
//
$progress-height: 12px !default;
$progress-width: 100% !default;
$progress-radius: 8px !default;

// Grid breakpoints
//
$mv-layout-grid-breakpoints: (
  xs: 0,
  sm: 576px,
  md: 768px,
  lg: 1024px,
  xl: 1366px,
  xxl: 1920px
) !default;

@include _assert-ascending($mv-layout-grid-breakpoints, "$mv-layout-grid-breakpoints");
@include _assert-starts-at-zero($mv-layout-grid-breakpoints, "$mv-layout-grid-breakpoints");

$mv-layout-grid-columns: (
  xs: 4,
  sm: 4,
  md: 8,
  lg: 12,
  xl: 12,
  xxl: 12
) !default;

$mv-layout-grid-default-gutter: (
  xs: 16px,
  sm: 16px,
  md: 24px,
  lg: 24px,
  xl: 24px,
  xxl: 32px
) !default;

$mv-layout-grid-max-width: null !default;

// Components
//
$line-height-lg:              1.5 !default;
$line-height-sm:              1.5 !default;

$border-width:                1.5px !default;
$border-color:                $gray-300 !default;

$border-radius:               4px !default;
$border-radius-lg:            .3rem !default;
$border-radius-sm:            .2rem !default;
$border-radius-circle:        50% !default;

//Buttons

$btn-font-family:             'Roboto', sans-serif !default;
$btn-font-weight:             $font-weight-normal !default;
$btn-border-width:            $border-width;

$btn-padding-y:               null !default;
$btn-padding-x:               null !default;
$btn-font-size:               $font-size-base !default;
$btn-line-height:             $line-height-base !default;
$btn-border-radius:           $border-radius !default;
$btn-transition:              .15s ease-in-out;

$btn-height-sm: 32px !default;
$btn-width-sm: 104px !default;
$btn-height-md: 48px !default;
$btn-width-md: 152px !default;
$btn-radio: 56px !default;

// Utilidades
$displays: none, inline, inline-block, block, table, table-row, table-cell, flex, inline-flex !default;
$overflows: auto, hidden !default;
$positions: static, relative, absolute, fixed, sticky !default;

// Tables
//
// Personaliza el componente `.table` con valores básicos, cada uno utilizado en todas las variaciones de la tabla.

$table-cell-padding:          .75rem !default;
$table-cell-padding-sm:       .3rem !default;

$table-color:                 $body-color !default;
$table-bg:                    null !default;
$table-accent-bg:             rgba($black, .05) !default;
$table-hover-color:           $table-color !default;
$table-hover-bg:              rgba($black, .075) !default;
$table-active-bg:             $table-hover-bg !default;

$table-border-width:          $border-width !default;
$table-border-color:          $border-color !default;

$table-head-bg:               $gray-200 !default;
$table-head-color:            $gray-700 !default;

$table-dark-color:            $white !default;
$table-dark-bg:               $gray-800 !default;
$table-dark-accent-bg:        rgba($white, .05) !default;
$table-dark-hover-color:      $table-dark-color !default;
$table-dark-hover-bg:         rgba($white, .075) !default;
$table-dark-border-color:     lighten($table-dark-bg, 7.5%) !default;
$table-dark-color:            $white !default;

$table-striped-order:         odd !default;

$table-caption-color:         $text-muted !default;

$table-bg-level:              -9 !default;
$table-border-level:          -6 !default;

// Formularios

$label-margin-bottom:                   .5rem !default;