:root {
    --light-main-color: #3145ff;
    --main-color: #0119fe;
    --dark-main-color: #0113b2;
    --secondary-color: #0e00ce;
    --dark-secondary-color: #09008a;
    --alternative-color: #1142ca;
    --light-alternative-color: #3969eb;
    --grey: #f2f2f2;
}

* {box-sizing: border-box}

html {width:100%}

body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-family: Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: #FFFFFF;
    font-size: 1.25em;
    height: 100%;
    width: 100%;
}

.ocultar-m {
    display: none;
}

.header {
    display: flex;
    position: fixed;
    background: #FFFFFF;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 65px;
    padding: 10px;
    margin: 0;
    border-bottom: 4px solid var(--main-color);
}

.header-logo {
    width: 10%;
    padding-right: 5px;
}

.header-logo h1 {
    display: none;
}

.header-menu-burger, .header-menu-close {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    width: 100%;
    color: var(--dark-main-color);
}

.header-menu-close {
    display: none;
}

.header-search-bar {
    width: 60%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.header-search-bar input {
    width: 80%;
    font-size: 1em;
    border: 1px solid var(--main-color);
    border-radius: 5px 0 0 5px;
    -webkit-appearance: none;
}

.header-search-bar button {
    width: 20%;
    font-size: 1em;
    border: none;
    border-radius: 0 5px 5px 0;
    background: var(--main-color);
    color: white;
    padding: 5px 0;
}


.header-items {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: 30%;
    padding: 10px;
}

.header-item-link {
    cursor: pointer;
    color: var(--dark-secondary-color);
    font-size: 1.15em;
}

.header-item-link:not(:last-child) {
    padding-right: 10px
}

.navbar {
    display: none;
    margin: 0;
}

.navbar-seccion {
    position: fixed;
    margin-top: 65px;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    z-index: 100;
    background-color: var(--main-color);
}

.navbar-seccion .seccion {
    width: 100%;
}

.navbar-seccion .seccion-btn {
    border: none;
    width: 100%;
    height: 100%;
    appearance: none;
    background-color: transparent;
    color: white;
    font-weight: bold;
    font-size: 1.5em;
    padding: 10px;
}

.navbar-seccion .arrow-up {
    display: none;
}

.navbar-seccion .seccion .navbar-familia {
    display: none;
}

.navbar-seccion .seccion .navbar-familia.active {
    position: relative;
    display: flex;
    max-height: 450px;
    height: auto;
    overflow-y: auto;
    background-color: var(--dark-secondary-color);
}

.familia {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
}

.familia button {
    width: 100%;
    border: none;
    appearance: none;
    padding: 5px;
    margin: 0;
    -webkit-appearance: none;
    background-color: var(--secondary-color);
    color: white;
    font-size: 1.2em;
}

.subfamilia {
    display: none;
}

.breadcrumb {
    width: 100%;
    margin-top: 70px;
    padding: 10px 16px;
    list-style: none;
    display: block;
}

.breadcrumb li {
    font-size: 17px;
}

.breadcrumb li:not(:first-child) {
    display: inline
}

.breadcrumb li:first-child {
    display: inline
}

.breadcrumb li+li:before {
    padding: 8px;
    color: black;
    content: "/\00a0";
}
.breadcrumb li a {
    color: var(--secondary-color);
    text-decoration: none;
}
.breadcrumb li a:hover {
    color: var(--dark-secondary-color);
    text-decoration: underline;
}

.loader-spinner {
    display: none;
    flex-wrap: wrap;
    margin: auto;
    margin-top: 20px;
}

.loader-spinner div {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid var(--main-color);
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.filter {
    margin: 10px auto;
    width: 90%;
    background-color: var(--grey);
    padding: 20px;
    border: none;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
}

.filter-subfamilia {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    text-align: center;
}

.filter-subfamilia-body {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.filter-subfamilia-body button {
    border: none;
    border-radius: 5px;
    background-color: rgb(202,202,202);
    cursor: pointer;
    margin: 5px;
    padding: 10px;
    transition: 250ms ease;
}

.filter-subfamilia-body button:hover {
    background-color: rgb(165, 165, 165);
    transition: 250ms ease;
}

.filter-subfamilia-body button.active {
    background-color: rgb(136, 136, 136);
}

#buscando-total-items {
    width: 100%;
}

#content {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.articulo {
    margin: 10px;
    padding: 10px;
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    border: 2px solid var(--main-color);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.articulo-img {
    padding: 10px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.articulo-img img {
    width: 100%;
    height: auto;
}

.articulo-title {
    font-size: 17px;
}

.articulo-subtitle {
    font-size: 14px;
    color: #666666;
}

.articulo-subtitle span {
    color: black;
    font-size: 17px;
}

.articulo-button-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin: 10px 0;
    padding: 0 10px;
}

.articulo-button-group .articulo-button-group-chevron {
    width: 20%;
    height: 100%;
    margin: 0;
    border: none;
    padding: 10px 0;
    font-size: 15px;
    color: white;
    cursor: pointer;
    transition: 200ms ease;
}

.articulo-button-group .articulo-button-group-chevron.buy {
    background-color: #208520;
}

.articulo-button-group .articulo-button-group-chevron.buy:hover {
    background-color: #155715;
    transition: 200ms ease;
}

.articulo-button-group .articulo-button-group-chevron.show-more {
    background-color: #000e8b;
}

.articulo-button-group .articulo-button-group-chevron.show-more:hover {
    background-color: #000747;
    transition: 200ms ease;
}

.articulo-button-group .articulo-button-group-chevron:first-child {
    border-radius: 5px 0 0 5px;
}

.articulo-button-group .articulo-button-group-chevron:last-child {
    border-radius: 0 5px 5px 0;
}

.articulo-button-group .articulo-button-group-button {
    width: 60%;
    height: 100%;
    border: none;
    border-radius: 0;
    padding: 5px 0;
    color: white;
    cursor: pointer;
    transition: 200ms ease;
}

.articulo-button-group .articulo-button-group-button.buy {
    background-color: #29a329;
}

.articulo-button-group .articulo-button-group-button.buy:hover {
    transition: 200ms ease;
    background-color: #196719;
}

.articulo-button-group .articulo-button-group-button.show-more {
    background-color: #0119fe;
}

.articulo-button-group .articulo-button-group-button.show-more:hover {
    transition: 200ms ease;
    background-color: #0113b2;
}

.articulo-button {
    margin: 10px;
    border: none;
    border-radius: 5px;
    padding: 10px 14px;
    font-size: 15px;
    color: white;
    cursor: pointer;
    transition: 200ms ease;
}

.articulo-button:hover {
    transition: 200ms ease;
}

.articulo-button.show-more {
    background: #0119fe;
}

.articulo-button.show-more:hover, .articulo-button.show-more:focus {
    background-color: #0113b2;
}

.articulo-button.buy{
    background: #29a329;
}

.articulo-button.buy:hover {
    background-color: #196719;
}

.articulo-precio {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.precio-promo {
    color: #ff1a1a;
    font-size: 22px;
}

.precio strong:not(.no-style) {
    color: #ff1a1a;
    font-size: 20px;    
}

.modal {
    display: none;
    position: fixed;
    justify-content: center;
    align-items: center;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background-color: #fefefe;
    /* //margin: 10% auto; */
    padding: 0;
    border: 1px solid #888;
    border-radius: 5px;
    width: 85%;
    height: 90%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    /* -webkit-animation: animacenter 0.4s; */
    animation: animacenter 0.4s;
}

@keyframes animatecenter {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 0;
    right: 10px;
    color: #555;
    float: right;
    font-size: 2em;
    font-weight: bold;
}

#modal-img {
    padding-top: 10px;
    height: 25%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px auto
}

#modal-img img {
    width: auto;
    height: 100%;
}

#modal-body {
    flex: 1;
    height: 75%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 90%;
}

#modal-header {
    text-align: center;
    font-size: 0.75em;
}

#modal-chekout {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#modal-cantidad {
    width: 30%;
}

#modal-desc {
    font-size: 0.75em
}

#modal-cantidad input {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    text-align: right;
    border: 1px solid rgba(26, 83, 255, 0.7);
    border-radius: 4px;
    font-size: 1em
}

.modal-numeros {
    width: 70%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

#modal-precio-title {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: black;
}

#modal-total-title {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: #1a53ff;
}


#modal-precio {
    font-size: 20px;
    color: black;
}



#modal-total {
    font-size: 25px;
    font-weight: bold;
}



#modal-submit {
    width: 100%;
    margin: 10px auto;
}

#modal-submit button {
    width: 100%;
    background-color: #ff3333;
    border-radius: 5px;
    border: none;
    padding: 15px;
    cursor: pointer;
    color: white;
    font-weight: bold;
}

#modal-opciones {
    width: 100%;
    /* //height: 60%; */
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    flex-wrap: wrap;
    align-items: start;
    overflow: scroll;
}

.opcion {
    background-color: #f2f2f2;
    border-radius: 5px;
    border: 2px solid #0059b3;
    padding: 5px;
    cursor: pointer;
    color: #0059b3;
    margin: 5px;
}

.opcion em, .opcion br:first-of-type {
    display: none;
}

.modal-precio {
    display: flex;
    flex-direction: column;
    font-size: 15px;
    font-weight: bold;
    color: #ff3333;
}

.opcion-activo {
    background-color: #d9d9d9;
    border: 2px solid #ff3333;
}


.extranet {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin: 70px auto;
}

.extranet-header {
    text-align: center
}

.bold {font-weight:bold}
.w-100 {width:100%}

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%;
    margin: 70px auto;
}

.contact-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 20px;
}

.contact-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-form {
    width: 100%;
    padding: 10px;
}

.contact-form form {
    width: 100%;
    margin-top: 20px;
}

.contact-form input {
    width: 100%;
    margin-bottom: 10px;
}

.contact-form textarea {
    width: 100%;
}

.contact-info {
    width: 100%;
    padding: 15px;
}

.contact-info-box {
    padding: 10px;
    background: #e6e6e6;
    border-radius: 5px
}

.legal {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: 70px auto;
}

.carro {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 70px auto;
}

.carro-header {
    text-align: center;
    width: 100%;
}

.carro-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carro-articulos {
    width: 100%;
    display: flex;
    overflow-x: scroll;
}

.carro-articulos table {
    width: 100%;
    border-collapse: collapse;
}

.carro-articulos th {
    background: rgba(0,0,0,.5);
    color: white;
    padding: 10px;
    border-bottom: 2px solid #c5cdd3;
    padding: 5px;
}

.carro-articulos th:first-child {
    border-radius: 10px 0 0 0;
}

.carro-articulos th:last-child {
    border-radius: 0 10px 0 0;
}

.carro-articulos td {
    padding: 5px;
}

.carro-articulos tr:last-child td:first-child {
    border-radius: 0 0 0 10px;
}

.carro-articulos tr:last-child td:last-child {
    border-radius: 0 0 10px 0;
}

.carro-articulos tr:not(:last-child) td {
    border-bottom: 2px solid #c5cdd3;
}

.carro-articulos tr:not(:first-child):nth-child(2n) td {
    background: rgba(0,0,0,.075);
}


.carro-articulos td > img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
}

.carro-articulos td > button {
    border: none;
    cursor: pointer;
    background: #ff1a1a;
    color: white;
    border-radius: 5px;
    font-size: 20px;
    transition: 150ms ease;
}

.carro-articulos td > button:hover {
    background: #cc0000;
    transition: 150ms ease;
}

.carro-total {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 20px auto;
}

.carro-total table {
    margin: 10px auto;
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}    

.carro-total th {
    border-bottom: 2px solid #dee2e6;
}

.carro-total td {
    padding-top: 5px;
}

.carro-total button {
    margin: 10px auto;
    padding: 10px 15px;
    border: none;
    border-radius: 10px;
    background: var(--main-color);
    color: white;
    cursor: pointer;
    width: 60%;
    transition: 150ms ease;
}

.carro-total button:hover {
    background: var(--dark-main-color);
    transition: 150ms ease;
}

.envio-coste {
    margin: 20px auto;
    font-size: 17px;
}

.envio-coste span {
    color: #ff1a1a;
    font-weight: bold;
}

.footer {
    background-color: var(--dark-secondary-color);
    color: white;
    padding: 10px;
}

.footer.mobile {
    display: none;
}

.footer-title {
    font-weight: bold;
}

.footer a {
    text-decoration: underline;
    color: white;
}