html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

#DivCentral {
    display: none;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: Arial, Helvetica, sans-serif;
}

.loaderr {
    width: 100%;
    height: 100%;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    background-color: lavender;
}

.dot {
    border-radius: 100%;
    border: 5px solid white;
    margin: 10px;
    background-color: crimson;
}

    .dot:nth-child(1) {
        animation: preloader .6s ease-in-out alternate infinite;
    }

    .dot:nth-child(2) {
        animation: preloader .6s ease-in-out alternate .2s infinite;
    }

    .dot:nth-child(3) {
        animation: preloader .6s ease-in-out alternate .4s infinite;
    }

@keyframes preloader {
    100% {
        transform: scale(2);
    }
}

.card_login {
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.img_logo {
    width: 150px;
}

label {
    font-weight: bold;
}

.btnsi {
    background: #ffbd59;
    color: #161B6E;
    padding: .375rem .75rem;
    border-radius: 6px;
    border: 0px;
}

.c-logo {
    color: #161B6E;
}

.c_logo_am {
    color: #ffbd59;
}

.btn_agregar {
    border-radius: 40%;
}

.btnsi:hover {
    font-weight: bold;
}

.fs9 {
    font-size: 9px;
}

.fs10 {
    font-size: 10px;
}

.fs11 {
    font-size: 11px;
}

.fs12 {
    font-size: 12px;
}

.portada_producto {
    height: 50%;
}

.cardsinonimos {
    display: inline-block;
    background-color: #e0e0e0;
    padding: 5px 10px;
    margin: 5px;
    border-radius: 5px;
}


.slider {
    position: relative;
    width: 100%;
    height: 300px; /* Ajusta la altura del slider según tus necesidades */
    overflow: hidden;
}

.slide {
    display: none;
    height: 100%; /* Ajusta la altura de la imagen al 100% */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.active {
    display: block;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.card {
    border-radius: 0.5rem;
    transition: transform 0.2s ease;
}

    .card:hover {
        transform: scale(1.03);
    }

.card-img-top {
    border-radius: 0.5rem 0.5rem 0 0;
}

label.form-label {
    font-weight: bold;
}


/* Estilo para cards */
.card-form {
    border-radius: 1rem;
    background-color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Input */
.form-control,
textarea {
    border-radius: 0.5rem;
}

/* Label mejor posicionada */
.form-floating > label {
    font-size: 0.875rem;
    color: #555;
}

/* Botones */
.btnsi {
    background-color: #007bff;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 0.875rem;
    transition: 0.3s ease;
}

    .btnsi:hover {
        background-color: #0056b3;
    }

    /* Botón eliminar y portada */
    .btn-danger.fs10,
    .btnsi.fs10 {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
        margin-top: 0.25rem;
    }

/* Sinónimos */
.cardsinonimos {
    display: inline-block;
    background-color: #e9f0ff;
    color: #333;
    padding: 4px 10px;
    margin: 5px;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Imágenes */
.img_logo {
    max-height: 120px;
    margin-bottom: 10px;
    border-radius: 0.5rem;
    object-fit: cover;
}


.terminos-body {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.terminos-list {
    padding-left: 1rem;
    list-style: none;
}

    .terminos-list > li {
        margin-bottom: 1rem;
    }

    .terminos-list strong {
        display: block;
        color: #333;
        margin-bottom: 0.3rem;
    }

    .terminos-list ul {
        list-style: disc;
        padding-left: 1.2rem;
        margin-top: 0.3rem;
    }

.terminos-body a {
    color: #0d6efd;
    text-decoration: none;
}


.variante-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s;
}

    .variante-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }


.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

    .lightbox-content img {
        max-width: 100%;
        max-height: 100%;
        border-radius: 10px;
    }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    border: none;
    font-size: 2rem;
    color: white;
    padding: 0 1rem;
    cursor: pointer;
}

    .lightbox-nav.left {
        left: -3rem;
    }

    .lightbox-nav.right {
        right: -3rem;
    }

.btn-close-lightbox {
    position: absolute;
    top: 10px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}
