

:root {
    --white: #fff;
    --primary-bg: #F5F5F5;
    --primary-blue: #003E73;
    --primary-blue-h: #133a5d;
    --primary-dark: #404040;
    --secondary-grey: #E0E5F2;
    --light-grey: #F8F8F8;
    --borders: #ECECEC;
    --filter-grey: #7e7e7e;
    --text-black: #1A1A1A;
    --text-grey: #979797;
}






/* FONTS */

* {
    font-family: 'Almarai', sans-serif;
}







/* GENERALS */

a {
    color: var(--primary-blue);
}

#header a:hover {
    color: var(--primary-blue-h);
}

.product-price {
    color: var(--primary-blue);
}

.carousel .carousel-control .icon-next:hover i, .carousel .carousel-control .icon-prev:hover i, .dropdown:hover .expand-more, .page-my-account #content .links a:hover i, .search-widget form button[type="submit"] .search:hover, .top-menu .sub-menu a:hover {
    color: var(--primary-blue);
}

.btn-primary, .btn-primary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.pagination .current a {
    color: var(--primary-blue);
}





/* BUTTONS */

.btn-primary.focus, .btn-primary:focus,
.btn-primary.active, .btn-primary:active,
.btn-primary:active:hover, .btn-primary.active:hover,
.btn-primary:active:focus, .btn-primary.active:focus,
.btn-primary:active.focus, .btn-primary.active.focus,
.btn-primary:active:active, .btn-primary.active:active,
.open > .btn-primary.dropdown-toggle {
    background-color: var(--primary-blue-h);
}

.btn-av {
    width: 100%;
    border: none;
    color: var(--white);
    border-radius: 3px;
    padding: 16px;
    margin-bottom: 16px;
    background-color: var(--primary-blue);
    text-transform: initial;
}

.btn-av:hover {
    background-color: var(--primary-blue-h);
    color: var(--white);
}

.btn-av2 {
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 3px;
    padding: 16px;
    margin-bottom: 16px;
    background-color: var(--white);
    text-transform: initial;
}

.bootstrap-touchspin .group-span-filestyle .btn-touchspin, .group-span-filestyle .bootstrap-touchspin .btn-touchspin, .group-span-filestyle .btn-default {
    background-color: var(--primary-blue);
}









/* FORMS */

.bootstrap-touchspin {
	display: flex;
}

.product-quantity #quantity_wanted {
    width: 100px;
    height: 44px;
    border: 1px solid var(--primary-blue);
    border-radius: 3px;
    text-align: center;
}

.product-quantity .bootstrap-touchspin .input-group-btn-vertical {
    position: absolute;
    width: 200%;
    height: 100%;
    left: -50%
}

.product-quantity .bootstrap-touchspin .input-group-btn-vertical > .btn {
	color: var(--main-blue);
	font-size: 20px;
}

.product-quantity .bootstrap-touchspin .input-group-btn-vertical > .btn.btn-touchspin {
    position: absolute;
    width: 40px;
    height: 40px;
    margin-top: 2px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    padding: 0;
    border: none;
    background-color: var(--primary-blue);
}

.product-quantity .bootstrap-touchspin .input-group-btn-vertical > .btn.bootstrap-touchspin-down {
    left: 0;
}

.product-quantity .bootstrap-touchspin .input-group-btn-vertical > .btn.bootstrap-touchspin-up {
    right: 0;
}

.product-quantity .bootstrap-touchspin .input-group-btn-vertical i {
    position: relative;
    display: inline-block;
    top: unset;
    left: unset;
    right: unset;
    bottom: unset;
    width: 20px;
    height: 20px;
}

.product-quantity .bootstrap-touchspin .input-group-btn-vertical i.touchspin-up:after {
    content: '';
    width: 20px;
    height: 20px;
    display: inherit;
    background-image: url(../img/plus.svg);
    background-size: contain;
}

.product-quantity .bootstrap-touchspin .input-group-btn-vertical i.touchspin-down:after {
    content: '';
    width: 20px;
    height: 20px;
    display: inherit;
    background-image: url(../img/minus.svg);
    background-size: contain;
}

.custom-radio input[type="radio"]:checked + span {
    background-color: var(--primary-blue);
}

.form-control:focus {
    outline: .1875rem solid var(--primary-blue);
}

.form-control {
    width: 100%;
    height: 40px;
    margin-bottom: 20px;
    padding: 10px;
    border: none;
    font-family: Almarai;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.field-dni_cliente-error {
    color: red;
    display: block;
    height: 0;
    overflow: hidden;
    transition: all 0.3s;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
}






/* DISPLAY */

body > main {
    display: grid;
    min-height: 100dvh;
    grid-template-rows: auto 1fr auto;
}

.flex {
    display: flex;
}

.f-between {
    justify-content: space-between;
}

.f-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}






/* CONTAINER */

@media (min-width: 1200px) {
    .container {
      width: 1700px;
      max-width: 100%;
    }
 }


 #product #content {
    max-width: inherit;
 }





/* FORM FIELDS */

.input-group .input-group-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.input-group .input-group-btn > .btn[data-action="show-password"] {
    background-color: transparent;
    padding: 0;
}









/* HEADER */

#_desktop_logo {
    width: 15%;
}

#header {
    box-shadow: none;
    border-bottom: #f6f6f6 2px solid;
}

#header .header-nav {
    max-height: inherit;
}

#header .right-nav {
    width: 85%;
}

#header .header-top .header-top-right {
    width: 100%;
    padding: 0;
}




#search_widget form input {
    margin-top: 2px;
    min-width: 338px;
    background-color: var(--light-grey);
    border-radius: 19px;
    border: 0.6px solid #D5D5D5;
}

#search_widget form input::placeholder {
    opacity: 0.5;
}

#search_widget form img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 15px;
}






#header .header-nav .blockcart {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #d8d8d8 !important;
    display: flex;
    align-content: center;
    align-items: center;
    margin-left: 2.5rem;
}

#header .header-nav .blockcart .cart-products-count {
    position: absolute;
    top: 85%;
    left: 85%;
    transform: translate(-50%, -50%);
    color: red;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid var(--white);
    background-color: var(--primary-blue);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    color: #fff;
}





#_desktop_user_info {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#header .header-nav .user-info {
    margin-top: 0;
}

#header .header-nav .user-info .account {
    margin-left: 0;
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-dark)
}

#_desktop_user_info .account:after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 8px;
    height: 8px;
    transform: translateY(-50%);
    background-image: url('../img/nav-arrow.svg');
}

#_desktop_user_info .logout {
    display: none;
    position: absolute;
    top: 80%;
    font-size: 14px;
    font-weight: bold;
}

#_desktop_user_info:hover .logout {
    display: block;
}








/* MENU */

#_desktop_top_menu {
    padding-left: 0;
    width: 100%;
}

#_desktop_top_menu ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

#header .menu > ul > li {
    position: relative;
}

.top-menu a[data-depth="0"] {
    font-size: 16px;
    font-weight: bold;
    padding-left: 16px;
    padding-right: 16px;
}

#header .header-top a[data-depth="0"] {
    color: var(--primary-blue);
    text-transform: initial;
}

#header .top-menu a[data-depth="0"]:hover, a:hover {
    color: var(--primary-blue-h);
}

.top-menu .sub-menu {
    width: auto;
    background-color: var(--primary-blue);
}

#header .top-menu .sub-menu a {
    color: var(--white);
    font-size: 14px;
    text-transform: initial;
}

.top-menu .sub-menu ul[data-depth="1"] {
    padding: 15px;
}

.top-menu .sub-menu ul[data-depth="1"] > li {
    margin: 0;
}

.top-menu .sub-menu ul[data-depth="1"] > li a {
    padding: 0;
}





/* HOME */

.product-features {
    margin-left: 0;
}









/* WRAPPER */

#wrapper {
    background-color: var(--primary-bg);
}






/* FOOTER */

#footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding-top: 44px;
    padding-bottom: 60px;
}

#footer .footer-container {
    padding-top: 0;
}

#footer .footer-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#footer .footer-info img {
    margin-bottom: 15px;
}

#footer .footer-info p {
    color: var(--white);
    text-align: center;
    font-size: 11px;
    font-weight: 400;
    line-height: 150%;
}

#footer .links {
    text-align: center;
}

#footer .links .h3 {
    display: none;
}

#footer .links ul li a {
    color: var(--white);
}



/* PRODUCT MINIATURES */

#js-product-list-top h2 {
    font-weight: 500;
}


#category #js-product-list .products {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 20px;
}

#category #js-product-list .products .product {
    width: auto;
    min-width: inherit;
    background-color: var(--white);
    border: 1px solid var(--borders);
    padding: 15px;
    border-radius: 3px;
    box-shadow: 0px 0px 5.513px 0px rgba(0, 0, 0, 0.10);
}

.product-miniature .thumbnail-container {
    margin-bottom: 0;
}

.product-miniature .product-description {
    padding-bottom: 0;
}

.product-miniature .product-description a {
    font-family: 'Almarai', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    color: var(--text-black);

}

.product-miniature .product-title {
    text-align: left;
    font-family: 'Almarai', sans-serif;
    font-size: 14px;
    font-weight: 700;;
}

.product-miniature .product-price-and-shipping {
    text-align: left;
}

.product-miniature .product-price-and-shipping span {
    font-family: 'Almarai', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--text-black);
}

.cat-add-to-cart {
    width: 100%;
    height: 26px;
    display: flex;
    justify-content: center;
    border-radius: 3.061px;
    background: var(--primary-blue);
    margin-top: 24px;
}

.cat-add-to-cart:hover {
    cursor: pointer;
}

.cat-add-to-cart button {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 10px;
    font-family: 'Almarai', sans-serif;
    font-weight: 700;
}

.product-flags li.product-flag {
    background: transparent;
    color: var(--primary-blue);
    font-size: 10px;
}






/* CART MODAL */

#blockcart-modal .product-name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-blue);
    margin-top: 0
}

#blockcart-modal .cart-content p.cart-products-count {
    color: var(--primary-blue);
    font-family: Almarai;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
}

#blockcart-modal .cart-content-btn {
    width: 100%;;
}

#blockcart-modal .cart-content-btn > * {
    width: 50%;
}






/* MY ACCOUNT */

.page-my-account #content .links a {
    background-color: var(--white);
    border: 1px solid var(--borders);
    padding: 15px;
    margin: 15px;
    width: calc(33.333% - 30px);
}







/* PRODUCT */

#product .current-price {
    display: flex;
    align-items: first baseline;
    flex-wrap: wrap;
}

#product .product-price-info {
    margin-left: 30px;
    margin-bottom: 0;
}

.current-price-value-price,
.product-price-value-after {
    font-size: 18px;
}

.current-price-value-price .product-format {
    display: flex;
    margin-top: 10px;
}

.product-price-features {
    font-size: 18px;
    margin-bottom: 17px !important;
}

.product-price-features-bottom {
    font-size: 14px;
    font-weight: 600;
}

.product-price-info {
    display: flex;
    flex-direction: column;
}
.product-format.formato,
.product-format.peso,
.product-format.end-label {
    font-size: 18px;
    font-weight: 600;
}

#product .tax-shipping-delivery-label {
    font-size: 16px;
    font-weight: 400;
    color: var(--primary-blue);
    margin-bottom: 0;
}






body#checkout #footer {
    background-color: var(--primary-blue);
}

body#checkout #footer .container {
    min-height: unset;
}

#checkout .h1 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 0;
    padding-top: .15rem;
    padding-bottom: 1.25rem;
}

#checkout .h1 ~ hr {
    border-color: #ddd;
}





.product-price-info-bottom-text {
    font-size: 14px;
    border: 2px solid var(--primary-blue);
    display: inline-block;
    padding: 10px;
    color: var(--primary-blue);
    margin-right: 1.875rem;
}

.product-price-info-bottom-text-checkout {
    font-size: 14px;
    border: 2px solid var(--primary-blue);
    display: inline-block;
    padding: 10px;
    color: var(--primary-blue);
}










/* RESPOSIVE */

@media (max-width: 899px) {



    #authentication .left-authentication-login {
        padding-left: 15px;
        padding-right: 15px;
    }



    /* REGISTRATION */

    #registration #header .header-nav .mobile {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    #registration #menu-icon,
    #registration #_mobile_cart,
    #registration #_mobile_user_info {
        display: none;
    }


    /* HEADER */

    #header a {
        color: var(--primary-blue);
    }

    #header .header-nav .container .row > .right-nav {
        order: 2;
    }

    #header .header-nav .container .row > .mobile {
        order: 1;
    }

    #header .header-nav > .container > .flex {
        flex-wrap: wrap;
    }

    #header .header-nav .left-nav {
        display: none !important;
    }

    #header .top-logo img {
        max-height: unset;
    }

    #header .header-nav .right-nav {

        width: 100%;
        justify-content: center;;
    }

    #header .header-nav .mobile {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    #header .header-nav .mobile #_mobile_logo {
        order: 1;
    }

    #header .header-nav .mobile #_mobile_user_info {
        order: 2;
    }

    #header .header-nav .mobile #_mobile_cart {
        order: 3;
    }

    #header .header-nav .mobile #menu-icon {
        order: 4;
    }

    #header .logout {
        display: none;
    }

    #header #_mobile_user_info {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background-color: #d8d8d8 !important;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
    }

    #header .header-nav .user-info {
        margin-left: 0;
        text-align: center;
    }

    #header .header-nav .user-info i {
        color: var(--white);
    }

    #header .header-nav .blockcart {
        margin-left: 0;
    }




    /* FOOTER */

    .footer-container .links ul {
        background-color: var(--primary-blue);
    }





    /* MY ACCOUNT */

    .page-my-account #content .links a {
        width: calc(100%);
    }



    /* PRODUCT LIST */

    #category #js-product-list .products {
        grid-template-columns: repeat(2, 1fr);
    }



    /* PRODUCT */

    #product .tabs {
        padding-right: 0;
    }

    #product .product-price-info {
        margin-left: 0;
    }

    #product .product-price-info-bottom-text {
        margin-right: 0;
    }

    #product .product-quantity {
        flex-wrap: wrap;
        justify-content: center;
    }

    #product .product-quantity .add {
        order: 2;
        width: 100%;
    }

    #product .product-quantity .add button {
        margin-right: 0;
    }

    #product .product-quantity .qty {
        order: 1;
        margin-left: 0;
    }

    #product .product-quantity .product-quantity-down {
        order: 3;
    }



    /* ORDER */

    body#checkout #delivery textarea, body#checkout #gift_message textarea {
        max-width: 84vw;
    }




    /* SEARCH */

    #search_widget form input {
        min-width: 0;
        width: 100%;
    }

    #search .products {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
    }

    /* CONTACTO */



}