/* NORMALICE.CSS */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
    line-height: 1.15;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
    touch-action: manipulation;
}

/* Sections
     ========================================================================== */

/**
   * Remove the margin in all browsers.
   */

body {
    margin: 0;
    padding: 0;
}

/**
   * Render the `main` element consistently in IE.
   */

main {
    display: block;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
     ========================================================================== */

/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */

hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/* Text-level semantics
     ========================================================================== */

/**
   * Remove the gray background on active links in IE 10.
   */

a {
    background-color: transparent;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */

abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    text-decoration: underline dotted;
    /* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */

b,
strong {
    font-weight: 500er;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/**
   * Add the correct font size in all browsers.
   */

small {
    font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
     ========================================================================== */

/**
   * Remove the border on images inside links in IE 10.
   */

img {
    border-style: none;
}

/* Forms
     ========================================================================== */

/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */

button,
input {
    /* 1 */
    overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */

button,
select {
    /* 1 */
    text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */

button,
[type='button'],
[type='reset'],
[type='submit'] {
    appearance: none;
    -webkit-appearance: button;
}

/**
   * Remove the inner border and padding in Firefox.
   */

button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */

button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
    outline: .1rem dotted ButtonText;
}

/**
   * Correct the padding in Firefox.
   */

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */

legend {
    box-sizing: border-box;
    /* 1 */
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    white-space: normal;
    /* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */

progress {
    vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */

textarea {
    overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */

[type='checkbox'],
[type='radio'] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */

[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
    height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */

[type='search'] {
    appearance: textfield;
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -0.2rem;
    /* 2 */
}

/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */

[type='search']::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */

::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

/* Interactive
     ========================================================================== */

/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */

details {
    display: block;
}

/*
   * Add the correct display in all browsers.
   */

summary {
    display: list-item;
}

/* Misc
     ========================================================================== */

/**
   * Add the correct display in IE 10+.
   */

template {
    display: none;
}

/**
   * Add the correct display in IE 10.
   */

[hidden] {
    display: none;
}

/* FIN NORMALICE.CSS */

/********************/
/* ESTILO PRINCIPAL */
/********************/

/* Quitamos el highlight azul de todo el documento */
* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Establecer la fuente base y configuraciones de caja */
html {
    /* 1rem = 10px */
    font-size: 62.5%;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    width: 100%;
    height: 100%;
    background-color: white;
    background-image: none;
    min-height: 100vh;
}

body {
    padding-top: env(safe-area-inset-top);
    /* Espacio para el notch */
    padding-bottom: calc(env(safe-area-inset-bottom) + 5.6rem);
    /* Espacio para la barra inferior */
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.bkg-page {
    background-image: none;
}

.bkg-formu {
    width: 15rem;
    border: 0;
}

/* Solucionar el area del notch y la barra inferior en Iphone */
/* .safe-area-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: -1;
} */

.safe-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: env(safe-area-inset-top);
    /* Espacio del notch */
    background: white;
    z-index: 999999;
    /* Encima del contenido */
}

.safe-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: env(safe-area-inset-bottom);
    /* Espacio de la barra inferior */
    background: white;
    z-index: 999999;
    /* Encima del contenido */
}

/* ESTILO SCROLL */
.scroll-container {
    max-height: 200px;
    /* Ajusta la altura según necesites */
    overflow-y: scroll;
    /* Permite el scroll */
    overflow-x: hidden;
    /* Evita scroll horizontal */

    /* Oculta la barra de desplazamiento en todos los navegadores */
    scrollbar-width: none;
    /* Firefox */
}

.scroll-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge */
}


/* ESTILO INPUTS */
.inputSimple {
    width: 100%;
    height: 2.5rem;
    border-radius: .5rem;
    font-size: 1.5rem;
    outline-color: #888888;
    margin-top: .5rem;
    margin-bottom: 2rem;
    color: #444343;
    border: thin solid #888888;
}

.inputSimple:focus {
    font-size: 1.5rem;
    /* background-color: rgb(200, 233, 255);
    background-color: #f6f5f5; */
    outline-color: #888888;
}

.inputSimple:focus-visible {
    outline: -webkit-focus-ring-color auto 0;
}

.inputSimple::placeholder {
    color: #757575;
}

/* Quitamos el color de fondo del autocomplete */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    box-shadow: 0 0 0 3rem white inset !important;
}

/* Quitamos el foco visible */
:focus-visible {
    outline: -webkit-focus-ring-color auto 0;
}

/* BOTONES */
.botonSimple {
    width: 100%;
    height: 4rem;
    border-radius: .5rem;
    font-size: 1.7rem;
    outline-color: #2680eb;
    border-color: #2680eb;
    margin-top: .5rem;
    margin-bottom: 2rem;
    background-color: #2680eb;
    color: white;
    cursor: pointer;
}

.botonSimple:active {
    font-size: 1.7rem;
    background-color: rgb(79 167 226);
    border-radius: .5rem;
    border: 0;
}

.botonSimple:focus {
    font-size: 1.7rem;
    background-color: #2680eb;
    border-radius: .5rem;
    border: 0;
}

.botonSimple:hover {
    font-size: 1.7rem;
    background-color: rgb(79 167 226);
    border-radius: .5rem;
    border: 0;
}

.botonSimple:visited {
    font-size: 1.7rem;
    background-color: rgb(79 167 226);
    border-radius: .5rem;
    border: 0;
}

/* BOTÓN ARRIBA */
.btnArriba {
    display: none;
    margin: 0;
    padding: 0;
    position: fixed;
    bottom: 0;
    right: 0;
    margin-right: 4%;
    margin-bottom: 8rem;
    z-index: 9999;
}

/* BOTÓN VOLVER */
.volver {
    margin-right: 2rem;
    cursor: pointer;
}

/* SPINNER */
.spinner,
.spinner:after {
    width: 2.5rem;
    height: 2.5rem;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: 1rem;
    margin-left: -1.8rem;
    border-radius: 50%;
    z-index: 2;
}

.spinner {
    display: none;
    z-index: 9999;
    background-color: transparent;

    border-top: 0.5rem solid #eb5346;
    border-right: 0.5rem solid rgba(119, 119, 119, 0.075);
    border-bottom: 0.5rem solid rgba(119, 168, 168, 0.075);
    border-left: 0.5rem solid rgba(119, 119, 119, 0.075);

    transform: translateZ(0);
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-duration: 2s;
    animation-name: spinner-loading
}

@keyframes spinner-loading {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(1turn)
    }
}

/* CAPA GRIS */
#capaGris {
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    margin: 0;
    padding: 0;
    background-color: black;
    position: fixed;
    opacity: 0.8;
    z-index: 999;
}

/* ALERTA PERSONALIZADA */
.alertaPersonalizada {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 70%;
    max-width: 40rem;
    transform: translate(-50%, -50%);
    background-color: white;
    color: black;
    border: .1rem solid white;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
    border-radius: 1.5rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
    z-index: 9999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.alertaPersonalizada h2 {
    margin-top: 0;
    font-size: 2rem;
}

.alertaPersonalizada p {
    font-size: 1.5rem;
}

#capaGrisAlerta {
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    margin: 0;
    padding: 0;
    background-color: black;
    position: fixed;
    opacity: 0.8;
    z-index: 999999;
}

/* Estilos para los botones de la alerta */
.alertaPersonalizada button {
    padding: 1rem 2rem;
    margin: 1rem;
    border: none;
    cursor: pointer;
    font-size: 1.6rem;
    border-radius: .5rem;
}

/* Estilos para el botón de confirmar */
#botonConfirmar {
    background-color: #E4002B;
    color: white;
    width: 13rem;
}

/* Estilos para el botón de cancelar */
#botonCancelar {
    background-color: white;
    color: black;
    width: 13rem;
    border: 0.1rem solid #ccc;
}

/* DEBUGGER SQL */
.info-header {
    position: fixed;
    bottom: 5.6rem;
    left: 0;
    width: 100%;
    background-color: #f0f0f0;
    border-bottom: 0.1rem solid black;
    border-top: 0.1rem solid #ccc;
    padding: 1rem;
    box-sizing: border-box;
    cursor: pointer;
    font-weight: 500;
    z-index: 99999;
}

.info-consulta {
    position: fixed;
    bottom: 7.3rem;
    left: 0;
    width: 100%;
    background-color: #f0f0f0;
    border-top: 0.1rem solid #ccc;
    padding: 1rem;
    box-sizing: border-box;
    max-height: 50rem;
    font-size: 1.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 9999;
}

.info-contenido {
    display: none;
}

.info-contenido.show {
    display: block;
}

/* UNICA CELDA*/
.unaCelda {
    width: 90%;
    display: inline-block;
    margin-left: 5%;
    height: 20rem;
}

/* DOBLE CELDA */
.dobleCelda {
    width: 100%;
}

.dobleCeldaIzq {
    display: inline-block;
    margin-right: calc(10% - 0.5rem);
    width: 45%;
}

.dobleCeldaDer {
    display: inline-block;
    width: 45%;
}

/* TRIPLE CELDA */
.tripleCelda {
    width: 100%;
}

.tripleCeldaIzq {
    display: inline-block;
    margin-right: calc(5% - .5rem);
    width: 30%;
}

.tripleCeldaMed {
    display: inline-block;
    width: 30%;
    margin-right: calc(5% - .5rem);
}

.tripleCeldaDer {
    display: inline-block;
    width: 30%;
}

/* CSS para cuando esta el javascript desactivado */
.nojs {
    font-size: 3rem
}

/* DIVS */
.divTitulo {
    padding-top: 2.5rem;
    margin-left: 5%;
    font-size: 2.4rem;
    font-weight: 500;
}

.espacioFinal {
    height: 7.5rem;
}

.noRes {
    height: 7.5rem;
    text-align: center;
    font-size: 2rem;
    color: #999;
    display: flex;
    width: 100%;
    align-content: flex-start;
    justify-content: space-around;
    flex-wrap: nowrap;
    align-items: center;
}

.divSubTitulo {
    max-width: 102.4rem;
    margin: auto;
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
    font-size: 1.8rem;
    color: #E4002B;
    font-weight: 300;
}

/* IMAGENES */
img.icono {
    height: 2rem;
    width: 2rem;
}

img.iconoSmall {
    height: 2.7rem;
    width: 2.7rem;
}

img.iconoMedio {
    height: 3rem;
    width: 3rem;
}

img.iconoGrande {
    height: 5rem;
    width: 5rem;
}

/* Estilo Menú */
.barraMenu {
    box-sizing: border-box;
    position: fixed;
    bottom: env(safe-area-inset-bottom);
    left: 0;
    right: 0;
    width: 100%;
    height: 5.6rem;
    z-index: 999999919;
    background-color: rgb(255, 255, 255) !important;
}

.menu {
    margin: auto;
    box-sizing: border-box;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    max-width: 102.4rem;
    height: 5.6rem;
}

.menu a {
    position: relative;
    display: inherit;
    text-align: center;
    vertical-align: middle;
    font-size: 2.8rem;
    text-decoration: none;
}

.menu img {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    font-size: 2.8rem;
    text-decoration: none;
    width: 3.2rem;
    height: 3.2rem;
    margin: auto;
}

.menu img.botonCentral {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    font-size: 3.6rem;
    text-decoration: none;
    width: 3.2rem;
    height: 3.2rem;
    margin: auto;
}

.badge {
    position: absolute;
    top: 0;
    right: -0.5rem;
    width: 1.2rem;
    height: 1.2rem;
    background-color: #E4002B;
    color: white;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge:empty::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
}

/* Ventana cantidad a la hora de comprar un producto */
article.ventana-cant {
    display: none;
    margin: 0;
    margin-bottom: calc(env(safe-area-inset-bottom) + 5.6rem);
    padding-bottom: 2rem;
    position: fixed;
    left: 0;
    bottom: 0;
    overflow: auto;
    width: 100%;
    background-color: white;
    border-top: .1rem solid black;
    border-bottom: .1rem solid black;
    border-radius: .5rem .5rem 0 0;
    box-shadow: 0 -.4rem .5rem 0 rgba(0, 0, 0, 0.7);
    z-index: 99999;
    transition: all .9s;
}

article.ventana-cant header {
    width: 100%;
    margin-top: 4rem;
    padding-bottom: 2rem;
    font-size: 1.6rem;
    color: #999;
    text-align: center;
    font-weight: 500;
}

article.ventana-cant section {
    width: 100%;
    text-align: center;
}

article.ventana-cant footer {
    margin-top: 3rem;
    text-align: center;
}

article.ventana-cant footer .btnAceptar {
    width: 15rem;
    height: 3.45rem;
    cursor: pointer;
}

article.ventana-cant .sumaBtn {
    margin-right: 2.5rem;
}

article.ventana-cant .inputSimple {
    width: 5.5rem;
    height: 3.5rem;
    font-size: 2.1rem;
    border: 0;
    text-align: center;
    margin: 0;
    padding: 0;
}

article.ventana-cant .inputSimple:hover {
    width: 5.5rem;
    height: 3.5rem;
    font-size: 2.1rem;
    border: 0;
    text-align: center;
    margin: 0;
    padding: 0;
}

article.ventana-cant .inputSimple:active {
    width: 5.5rem;
    height: 3.5rem;
    font-size: 2.1rem;
    border: 0;
    text-align: center;
    margin: 0;
    padding: 0;
}

article.ventana-cant .inputSimple:focus {
    width: 5.5rem;
    height: 3.5rem;
    font-size: 2.1rem;
    border: 0;
    text-align: center;
    margin: 0;
    padding: 0;
}

article.ventana-cant .precioTotal {
    padding-top: 2rem;
    font-size: 2rem;
}

article.ventana-cant img.iconoMedio {
    margin-left: 1rem;
    margin-right: 1rem;
    vertical-align: middle;
    cursor: pointer;
}

.inputCantidad {
    border-bottom: 0.1rem solid lightgray !important;
    border-radius: 0;
}

.imgBtnCesta {
    position: relative;
}

/* Estilos */
.negrita {
    font-weight: 500 !important;
}

.rojoCampoluz {
    color: #E4002B;
    font-weight: 500 !important;
}

/* Ocultar */
.ocultar {
    display: none;
}