﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 4rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: white;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

    .main .top-row > a, .main .top-row .btn-link {
        white-space: nowrap;
        /*margin-left: 1.5rem;*/
    }

    .main .top-row a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

.sidebar {
    background-image: linear-gradient(180deg, #F9F9DD 80%, #EAEA86 100%);
}

.sidebar .top-row {
    background-color: #F9F9DD;
    text-align: left;
}

.sidebar .oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.sidebar .nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.sidebar .nav-item:first-of-type {
    padding-top: 1rem;
}

.sidebar .nav-item:last-of-type {
    padding-bottom: 1rem;
}

.sidebar .nav-item a {
    color: black;
    border-radius: 4px;
    height: 2.4rem;
    display: flex;
    align-items: center;
    line-height: 2.2rem;
}

.sidebar .nav-item a.active {
    background-color: #E1E15B;
    color: white;
    min-height: 3.2rem;
    width: 12rem;
    padding-top: 5px;
}

.sidebar .nav-item a.active span {
    color: white;
}

.sidebar .nav-item a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.sidebar .nav-item a:hover span {
    color: white;
}

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    height: 60px;
    width: 60px;
    /*background-image: none;*/
}

/*.carousel-control-next-icon:after {
    content: '>';
    font-size: 55px;
    color: grey;
}

.carousel-control-prev-icon:after {
    content: '<';
    font-size: 55px;
    color: grey;
}*/

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        /*display: none;*/
        height: 5rem;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }

    .main-bgColor {
        background-color: white;
        /*background-image: linear-gradient(180deg, #F29821 10%, #FFE713 70%);*/
    }

    .logoCopianet {
        width: 4.8rem !important;
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
        text-align: center;
    }
}

@media (min-width: 768px) {
    .sidebar .navbar-brand {
        font-size: 1.1rem;
        text-align: center;
        width: 60%;
    }

    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        min-height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .main-bgColor {
        background-color: white;
        /*background-image: linear-gradient(180deg, #F29821 10%, #FFE713 70%);*/
    }

    .logoCopianet {
        height: 7rem !important;
    }

    /*.menuIconHome {
        display: none;
    }*/
}

.main-bgColor {
    background-color: white;
    /*background-image: linear-gradient(180deg, #F29821 10%, #FFE713 70%);*/
}

.top-row-bgColor {
    background-color: #F9F9DD !important;
}

.menuLabel {
    font-size: 11px;
    color: #474747;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 20px;
}

.menuParent {
    cursor: pointer;
    color: black;
    border-radius: 4px;
    height: 2.2rem;
    display: flex;
    align-items: center;
    line-height: 2.2rem;
    padding: 0 0.8rem; /* Agrega un pequeño padding para que el texto no se 'comprese' */
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.menuParent:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.15); /* Escala uniformemente */
    transform-origin: center; /* Crece desde el centro */
}


.menuIcon {
    color: #73818F;
    font-size: 12px !important;
}

.menuIconContacto {
    color: #73818F;
    font-size: 18px !important;
}

.menuIconWeb {
    color: #E1E15B;
    font-size: 22px !important;
    margin-right: 8px;
    margin-bottom: 8px;
}

.menuIconLoginHeader {
    color: #73818F;
    font-size: 20px !important;
    margin-right: 5px;
}

.menuIconHome {
    color: #73818F;
    font-size: 24px !important;
    margin-right: 5px;
}

.card {
    padding: 0 !important;
}

.spanPasswordField {
    margin-left: 2px;
    margin-right: 2px;
}

.imagen {
    width: 100px;
    height: 100px;
    transition: all .2s ease-in-out;
}

.imagen-seleccionable:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.selector-multiple {
    display: flex;
}

.selectable-ul {
    height: 200px;
    overflow-y: auto;
    list-style-type: none;
    width: 170px;
    padding: 0;
    border-radius: 3px;
    border: 1px solid #ccc;
}

.selectable-ul li {
    cursor: pointer;
    border-bottom: 1px #eee solid;
    padding: 2px 10px;
    font-size: 14px;
}

.selectable-ul li:hover {
    background-color: #08c;
}

.selector-multiple-botones {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5px;
}

.selector-multiple-botones button {
    margin: 5px;
}

.loggedUser {
    font-size: 18px;
    color: black;
    font-style: italic;
}

.loggedUser:hover {
    color: black;
    font-style: italic;
}

.copiaNetButton {
    background-color: #F9F9DD !important;
    color: black !important;
    cursor: pointer;
}

.copiaNetButton:hover {
    background-color: #EEEEA4 !important;
    color: black !important;
}

.copiaNetButtonImpresion {
    background-color: #ff9f1a !important;
    color: black !important;
    cursor: pointer;
}

.copiaNetButtonImpresion:hover {
    background-color: #ffb347 !important;
    color: black !important;
}

.copiaNetButtonGrey {
    background-color: #B0B0B0 !important;
    color: black !important;
    cursor: pointer;
}

.copiaNetButtonGrey:hover {
    background-color: #DFDFDF !important;
    color: black !important;
}

.copiaNetButtonLogin {
    background-color: #E1E15B !important;
    width: 100%;
    text-align: center;
    color: black !important;
}

.copiaNetButtonLogin:hover {
    background-color: #FFF386 !important;
    color: black !important;
}

.lblMenuCategorias {
    font-size: 14px;
    font-weight: bold;
    font-style: italic;
    cursor: pointer;
    width: 160px;
    line-height: normal;
}

.invisible {
    visibility: hidden;
    display: none;
}

.map {
    height: 400px;
    width: 100%;
}

.linkContacto {
    color: grey;
}

.marginTopImporte {
    margin-top: 8px;
}

.marginsDescuento {
    margin-top: 6px;
    margin-left: 10px;
    margin-right: 10px;
}

.ventaHeader {
    background-color: lightgrey;
    width: 100%;
}

.numberField {
    text-align: right;
    padding: 0;
}

.inlineFieldMargin {
    margin-left: 8px;
    margin-right: 8px;
}

.dropzone {
    border: 3px dashed steelblue;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.2);
    color: #444;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
}

.dropzone:hover {
    background-color: #f3f3f3;
    color: #333;
}

.dropzone input[type=file] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.dropzone-drag {
    background-color: palegreen;
}

.lblCategoriaHome {
    font-weight: bold;
    font-style: italic;
    color: #E1E15B;
}

.carouselArt {
    width: 100%;
}

/* ECOMMERCE */
.pizza-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, 15rem);
    grid-gap: 2rem;
    justify-content: center;
    padding-left: 0;
}

.pizza-cards > li {
    height: 15rem;
    position: relative;
    background-size: cover;
    border-radius: 0.5rem;
    list-style-type: none;
    box-shadow: 0 3px 4px rgba(0,0,0,0.4);
    transition: 0.1s ease-out;
}

/* En pantallas pequeñas: 2 columnas */
@media (max-width: 600px) {
    .pizza-cards {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1rem;
        justify-items: center;
    }

        .pizza-cards > li {
            width: 100%;
            aspect-ratio: 1 / 1; /* mantiene forma cuadrada */
            border-radius: 0.5rem;
            overflow: hidden; /* asegura que nada se salga del borde */
        }
}

.pizza-cards > li:hover {
    transform: scale(1.04);
}

.pizza-info {
    border-radius: 0.5rem;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    background: linear-gradient(rgba(0,0,0,0.5) 5%, rgba(0,0,0,0) 50%);
    padding: 1rem 1rem;
    color: #fff2cc;
    cursor: pointer;
    line-height: 1.25rem;
}

.pizza-info .title {
    color: white;
    font-size: 1.2rem;
    display: block;
    margin: 0.2rem 0 0.4rem 0;
    font-family: 'Bahnschrift', Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}

.pizza-info .product-description {
    color: white;
    font-size: 0.8rem;
    display: block;
    margin: 0.2rem 0 0.4rem 0;
    font-family: 'Bahnschrift', Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}

.pizza-info .price {
    position: absolute;
    bottom: 0.5rem;
    right: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0rem 0.7rem;
    border-radius: 4px;
    background-color: #F3F3BE;
    color: black;
    line-height: 2rem;
}

.pizza-info .withoutStock {
    position: absolute;
    bottom: 0.5rem;
    right: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0rem 0.7rem;
    border-radius: 4px;
    background-color: #676767;
    color: white;
    line-height: 2rem;
}

.pizza-info .btn-eliminar {
    position: absolute;
    bottom: 0.5rem;
    left: 1rem;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    background-color: #dc3545; /* rojo tipo bootstrap */
    color: white;
    border: none;
    cursor: pointer;
}

    .pizza-info .btn-eliminar:hover {
        background-color: #bb2d3b;
    }

.price::before {
    content: '$';
    font-weight: 200;
    font-size: 1.2rem;
    margin-right: 0.2rem;
}

.order-contents {
    overflow-y: auto;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    flex-grow: 1;
}

    .order-contents h2 {
        color: #fff2cc;
        font-size: 1.3rem;
        font-weight: 300;
        margin-bottom: 1rem;
        font-family: 'Bahnschrift', Arial, Helvetica, sans-serif;
        text-transform: uppercase;
    }

.order-total {
    background-color: rgb(191, 52, 52);
    height: 4rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    padding: 0 1.5rem;
}

    .order-total.hidden {
        transform: translate3d(0, 4rem, 0);
    }

    .order-total .total-price {
        font-weight: 700;
        font-size: 1.5rem;
    }

        .order-total .total-price::before {
            content: '£';
            font-weight: 300;
            margin: 0 0.1rem 0 0.4rem;
        }

    .order-total .btn {
        margin-left: auto;
        font-weight: 700;
        border-radius: 20px;
        padding: 0.4rem 1.2rem;
    }

.checkout-button {
    margin: auto;
    display: block;
    font-weight: 700;
    border-radius: 20px;
    padding: 0.4rem 1.2rem;
}

.cart-item {
    background-color: #333333;
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    font-weight: 100;
    margin-top: 1rem;
    position: relative;
}

    .cart-item .title {
        font-weight: 700;
    }

    .cart-item ul {
        padding: 0;
        margin: 0.4rem 0.6rem;
    }

    .cart-item li {
        list-style-type: none;
        margin-left: 0rem;
        font-size: 0.8rem;
    }

.empty-cart {
    text-align: center;
    margin: auto;
    font-size: 1.5rem;
    font-weight: 100;
    color: #676767;
}

.item-price {
    font-weight: 500;
}

    .item-price::before {
        content: '£';
        font-weight: 100;
        margin-right: 0.3rem;
    }

.delete-item {
    position: absolute;
    top: 0;
    right: 0;
    content: 'X';
    cursor: pointer;
    color: #fff2cc;
    width: 2rem;
    height: 2rem;
    text-align: center;
}

    .delete-item:hover {
        text-decoration: none;
        color: #fff2cc;
        background-color: rgba(255,255,255,0.1);
    }

.configured-pizza-item {
    display: flex;
    flex-direction: row;
}

.dialog-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2000;
    display: flex;
    animation: dialog-container-entry 0.2s;
}

.carouselArt {
    background: rgba(217, 217, 217, 0.5); /* Hace el fondo más transparente */
    padding: 10px; /* Da más espacio alrededor */
    border-radius: 10px; /* Bordes más suaves */
}

.carousel-control-prev, .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.2); /* Más transparencia */
    border-radius: 50%; /* Hace los botones redondos */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
    top: 50%; /* Centrado vertical */
    transform: translateY(-50%); /* Asegura que esté centrado */
}

    .carousel-control-prev:hover, .carousel-control-next:hover {
        background: rgba(0, 0, 0, 0.5); /* Oscurece más al pasar el mouse */
        transform: translateY(-50%) scale(1.1); /* Mantiene el centrado con el zoom */
    }


.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 30px;
    height: 30px;
}

.input-spacing-10-right {
    margin-right: 10px;
}

.container.producto-container {
    border: 1px solid #ddd; /* Borde fino gris */
    border-radius: 10px; /* Bordes redondeados */
    padding: 20px; /* Espaciado interno */
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.checkout-container {
    max-width: 95%;
    margin: auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.pedido-lista {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pedido-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
}

    .pedido-item > * {
        margin-bottom: 1rem;
    }

@media (min-width: 768px) {
    .pedido-item > * {
        margin-bottom: 0;
        margin-right: 1.5rem;
    }
}

.pedido-info {
    flex: 2;
}

.pedido-detalle {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
}

.pedido-acciones {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.total-container {
    text-align: right;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    padding: 10px;
    background-color: #eef;
    border-radius: 5px;
}

.msgpedidocreado-container {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    padding: 10px;
    background-color: #FFFFAA;
    border-radius: 5px;
    vertical-align: middle;
}

.checkout-acciones {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

    .checkout-acciones > *:not(:last-child) {
        margin-right: 1rem;
    }

.producto-imagen-sm{
    width: 150px;
    margin-right: 15px;
}

.whatsapp-button {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 50px; /* Aumentamos el tamaño del contorno verde */
    height: 50px; /* Aumentamos el tamaño del contorno verde */
    background-color: rgb(77, 194, 71);
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-button img {
    width: 25px; /* Ajustamos el tamaño de la imagen blanca */
    height: 25px; /* Ajustamos el tamaño de la imagen blanca */
    transition: transform 0.3s;
}

.whatsapp-button img:hover {
    transform: scale(1.1); /* Efecto de aumento al pasar el ratón */
}

/* Footer */

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas por defecto */
    gap: 20px;
    padding: 20px;
    background-color: #F9F9DD;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left,
.footer-center-left,
.footer-center-right,
.footer-right {
    text-align: center;
    min-width: 0; /* para evitar overflow */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Texto y direcciones */
.footer-text {
    font-family: 'Georgia', serif;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.footer-address {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Redes sociales */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 0.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.2s ease;
}

    .social-icon.facebook {
        background-color: #3b5998;
    }

    .social-icon.instagram {
        background: linear-gradient(to right, #f58529, #dd2a7b, #8134af, #515bd4);
    }

    .social-icon:hover {
        transform: scale(1.1);
    }

/* MEDIA QUERIES */

/* Tablets: 2 columnas */
@media (max-width: 1023px) and (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Móviles: 1 columna */
@media (max-width: 767px) {
    .footer-container {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .footer-left,
    .footer-center-left,
    .footer-center-right,
    .footer-right {
        text-align: center;
        padding: 10px 0;
    }

    .social-icons {
        justify-content: center;
    }

    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }
}
/* Formulario registro */

.registro-container {
    max-width: 80%;
    margin: auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.registro-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.registro-input {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.registro-observaciones {
    grid-column: span 2;
    height: 60px;
}

.registro-botonera {
    text-align: center;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; /* Espacio entre botones */
}

.registro-botonera .button-orange {
    min-width: 200px; /* Opcional: que tengan un ancho mínimo */
    flex: 1 1 auto; /* Que se adapten en mobile */
}

.button-orange {
    display: inline-block;
    text-align: center;
    background-color: #E1E15B;
    color: white !important; /* Fuerza el color del texto */
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none !important; /* Elimina el subrayado */
    cursor: pointer;
}

.button-orange:hover,
.button-orange:focus,
.button-orange:active {
    background-color: #D9D92D;
    color: white !important;
    text-decoration: none !important;
    outline: none;
}

/* Evita que los estilos predeterminados de los enlaces afecten */
.button-orange:visited,
.button-orange:link {
    color: white !important;
    text-decoration: none !important;
}

.registro-alerta {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.registro-alerta.show {
    opacity: 1;
}


.social-icon-header {
    font-size: 2rem;
    padding: 12px;
    transition: background-color 0.3s;
    color: #73818F;
    text-decoration: none;
}

.social-icon.facebook-icon-header {
    background-color: #73818F; /* Facebook azul */
    width: 55px;
}

.social-icon-header.instagram-icon-header {
     /* Colores de Instagram */
}

/* Login */
.registro-container-login {
    max-width: 80%;
    margin: auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

/* Mis Pedidos */
/* Contenedor general */
.checkout-container-mis-pedidos {
    max-width: 95%;
    margin: auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.checkout-container-mis-pedidos-artrelacionados {
    max-width: 95%;
    margin: auto;
    padding: 20px;
    background-color: #FFFDE6;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

/* Lista de pedidos */
.pedidos-lista-mis-pedidos {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Cada pedido */
.pedido-mis-pedidos {
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
    padding: 20px;
}

    /* Contenedor de la info del pedido */
    .pedido-mis-pedidos .row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap; /* Permite mejor distribución en pantallas pequeñas */
    }

/* Ajuste del tamaño de cada sección */
.info-pedido-mis-pedidos,
.estado-total-mis-pedidos,
.boton-ver-pedido-mis-pedidos {
    flex: 1;
    min-width: 200px; /* Evita que los elementos se amontonen */
    text-align: center; /* Centra el contenido de cada bloque */
}

/* Espaciado para la información del pedido */
.contenido-info-pedido {
    padding-left: 20px;
    padding-top: 18px;
}

/* Estado y total con mejor alineación */
.estado-total-mis-pedidos {
    margin-top: 10px;
}

/* Corrección de alineación del estado */
.pedido-estado-mis-pedidos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px; /* Espacio entre el ícono y el texto */
}

/* Espaciado del botón "Ver Pedido" */
.boton-ver-pedido-mis-pedidos {
    margin-top: 15px;
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
}

/* Loading page */
/* Overlay with image background */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
    z-index: 9999;
}

/* Fondo con imagen repetida, pequeña y difuminada */
.background-tiles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/mm_bannerindex.png');
    background-repeat: repeat;
    background-size: 80px 80px;
    opacity: 0.35; /* hace que sea muy tenue */
    filter: blur(4px); /* desenfoca el fondo */
    z-index: 1;
    pointer-events: none; /* para no interferir con clicks */
}

/* Imagen central que ocupa todo el ancho, con max-width para limitar tamaño */
.banner-front {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: auto;
    z-index: 2;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.25);
}

/* Spinner arriba de todo */
.spinner2 {
    position: relative;
    z-index: 3;
    margin-top: 20px;
    /* estilo spinner aquí */
}

/* Spinner styles */
.spinner {
    border: 8px solid rgba(218, 219, 223, 0.3);
    border-top: 8px solid rgba(238, 238, 164, 1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

/*.spinner {
    margin-left: -4em;
    border: .6em solid rgba(218, 219, 223, 1);
    border-left: .6em solid rgba(249, 249, 0, 1);
    animation: spin 1.1s infinite linear;
    border-radius: 50%;
    width: 4em;
    height: 4em;
    display: block;
    position: absolute;
    top: 30%;
    left: 50%;
}*/

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/*Animación alertas*/
@keyframes bell-shake {
    0% {
        transform: rotate(0);
    }

    15% {
        transform: rotate(-15deg);
    }

    30% {
        transform: rotate(15deg);
    }

    45% {
        transform: rotate(-10deg);
        transform: scale(1.25);
    }

    60% {
        transform: rotate(10deg);
    }

    75% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0);
    }
}

.animate-bell {
    animation: bell-shake 0.6s ease-in-out;
}

.pedido-impresion {
    border-left: 6px solid #0d6efd; /* Azul Bootstrap */
    background-color: #e9f3ff; /* Azul claro */
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.1);
}

.button-mercado-pago {
    background-color: #009ee3;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    height: 68px; /* altura pareja como otros botones */
    padding: 0 14px;
}

.button-mercado-pago:hover {
    background-color: #0077b6;
}

.logo-mercado-pago-large {
    height: 45px; /* tamaño cómodo en desktop */
    width: auto;
}

.texto-mercado-pago {
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    margin-left: -10px;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .button-mercado-pago {
        flex-direction: column; /* logo arriba, texto abajo */
        height: 68px; /* se adapta al contenido */
        padding: 8px 12px 15px;
    }

    .logo-mercado-pago-large {
        width: auto; /* más grande en mobile */
    }

    .texto-mercado-pago {
        font-size: 15px;
        white-space: normal; /* permite que el texto salte abajo */
    }

    .button-orange-ancho {
        min-width: 50px;
        margin-bottom: 10px;
        margin-right: -10px;
    }

    .button-orange-ancho {
        min-height: 68px;
        margin-bottom: 10px;
        margin-right: -10px;
    }
}

.button-orange-ancho {
    min-height: 68px;
    margin-bottom: 10px;
    margin-right: -10px;
}

.spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50;
}

.li-printer {
    background-color: white;
    position: relative;
}

    .li-printer::before {
        content: "\f1c1"; /* Unicode de fa-file-pdf */
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 6rem;
        color: #000;
        opacity: 0.2; /* para que quede de fondo */
    }

.price.no-currency::before {
    content: none; /* elimina el $ */
}

.articulo-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Otros estilos de la card */
}

    /* Para artículos sin imagen */
    .articulo-card.sin-img {
        background-size: 160%; /* Ocupa más espacio */
        background-position: center;
        background-repeat: no-repeat;
        background-color: #f5f5f5;
        min-height: 180px; /* Altura mínima para que no quede muy chico */
    }

.related-carousel {
    white-space: nowrap;
    padding-bottom: 10px;
}

    .related-carousel .articulo-relacionado {
        display: inline-block;
    }

.carousel-item img {
    width: 100%;
    height: auto; /* que respete proporción */
    object-fit: cover; /* recorta si sobra alto */
    object-position: center; /* centra el recorte */
    max-height: 350px; /* límite en desktop */
}

@media (max-width: 600px) {
    .carousel-item img {
        max-height: 170px; /* límite en mobile */
    }
}

.fontAgregarArticulo {
    font-size: 2rem; /* tamaño por defecto */
}

@media (max-width: 600px) {
    .fontAgregarArticulo {
        font-size: 1.2rem; /* más chico en mobile */
    }
}

/* Copia Einstein Articulo Home Card*/
.articulo-card {
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* imagen arriba, info abajo */
}

/* wrapper con tamaño fijo relativo a la card */
.articulo-img-wrapper {
    position: relative;
    height: 100%;
    overflow: hidden;
}

    /* imágenes dentro del wrapper */
    .articulo-img-wrapper .articulo-img {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        transition: transform 0.6s ease, opacity 0.6s ease;
    }

        /* segunda imagen encima, inicialmente oculta */
        .articulo-img-wrapper .articulo-img.second {
            opacity: 0;
        }

/* efecto hover: zoom + fade */
.articulo-card:hover .articulo-img {
    transform: scale(1.04);
}

    .articulo-card:hover .articulo-img.second {
        opacity: 1;
        transform: scale(1.04);
    }

/* Timeline estado pedidos */

/* Timeline base */
.timeline {
    position: relative;
    margin: 20px 0;
    padding: 0 0 0 30px;
}

/* Timeline para pedidos normales */
.timeline-articulos {
    border-left: 2px solid #E1E15B; /* amarillo */
}

    .timeline-articulos .timeline-marker {
        background: #E1E15B;
        box-shadow: 0 0 0 2px #E1E15B;
    }

/* Timeline para pedidos de impresión */
.timeline-impresion {
    border-left: 2px solid #ff9f1a; /* naranja */
}

    .timeline-impresion .timeline-marker {
        background: #ff9f1a;
        box-shadow: 0 0 0 2px #ff9f1a;
    }

/* Items y contenido (comparten estilo) */
.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-marker {
    position: absolute;
    left: -11px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #fff;
}

.timeline-content {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Palabras Rápidas */

.palabras-rapidas {
    margin: 20px 0;
    text-align: center;
}

.palabras-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.palabra-chip {
    background-color: #E1E15B;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 20px; /* más grande */
    font-size: 1.1rem; /* aumenta el tamaño de la letra */
    cursor: pointer;
    transition: 0.2s;
}

    .palabra-chip:hover {
        background-color: #ffb347;
        transform: scale(1.1);
        transform-origin: center;
    }

/* Modal fullscreen */

.modal-fullscreen {
    width: 100vw;
    height: 100vh;
    margin: 0;
    top: 0;
    left: 0;
}

    .modal-fullscreen .modal-content {
        height: 100%;
        border: none;
        border-radius: 0;
    }

    .modal-fullscreen .modal-body {
        height: 100%;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Limitar la imagen para que no supere la pantalla */
    .modal-fullscreen .carousel-item img {
        max-height: 90vh; /* nunca más alto que la pantalla */
        width: auto;
        object-fit: contain;
        margin: 0 auto;
    }

    /* Solo para el carousel dentro del modal fullscreen */
    .modal-fullscreen .carousel-item img {
        max-width: 90vw; /* nunca más ancho que la pantalla */
        max-height: 80vh; /* nunca más alto que la pantalla */
        width: auto;
        height: auto;
        object-fit: contain; /* mantiene proporción sin recortar */
        display: block;
        margin: 0 auto; /* centra horizontalmente */
    }

@media (max-width: 600px) {
    .modal-fullscreen .carousel-item img {
        max-width: 78vw; /* ancho adaptativo en mobile */
        max-height: 60vh; /* alto adaptativo para que no haga scroll */
    }
}
