html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: #fce4ec; /* fucsia pastel */
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    background-size: 60%, 60%;
    filter: invert(77%) sepia(42%) saturate(900%) hue-rotate(10deg) brightness(95%) contrast(90%);
}

.carousel-control-prev,
.carousel-control-next {
    width: 12%;
}

.social-icons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

    .social-icons a {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #fff; /* Fondo blanco */
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        transition: all 0.3s ease;
    }

        /* Colores de los íconos */
        .social-icons a.whatsapp i {
            color: #25D366;
        }

        .social-icons a.instagram i {
            color: #E4405F;
        }

        .social-icons a.facebook i {
            color: #1877F2;
        }

        .social-icons a.pinterest i {
            color: #E60023;
        }

        .social-icons a.email i {
            color: #6c757d;
        }

        /* Hover elegante */
        /*.social-icons a:hover {
            transform: scale(1.15);
            box-shadow: 0 6px 15px rgba(0,0,0,0.3);
        }*/
        /* Efecto de brillo dorado */
        .social-icons a:hover {
            transform: scale(1.15);
            box-shadow: 0 0 12px #d4af37, 0 0 20px rgba(212, 175, 55, 0.6);
            background: #fff8e1; /* dorado muy suave */
        }

            .social-icons a:hover i {
                color: #d4af37; /* dorado */
            }


html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Footer siempre al fondo */
footer {
    margin-top: auto;
    width: 100%;
}

.nav-link i {
    transition: transform 0.3s ease, color 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.2);
    color: #0d6efd; /* azul moderno */
}

.badge {
    font-size: 0.75rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.logo-navbar {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 50%;
    background-color: white;
}

    .logo-navbar:hover {
        transform: scale(1.05);
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    }

/*.navbar {
    transition: box-shadow 0.3s ease;
}

    .navbar:hover {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    }

.nav-link {
    transition: color 0.3s ease;
}

    .nav-link:hover {
        color: #0d6efd;
    }*/
.navbar {
    background: linear-gradient(90deg, #d4af37, #f7e7ce); /* dorado suave con degradado */
    color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

    .navbar .nav-link {
        color: #fff !important;
    }

        .navbar .nav-link:hover {
            color: #fce4ec !important; /* fucsia claro del logo */
        }

.navbar-brand img {
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.6));
}

.container-global {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
}

/*Codigo antes de seccion*/
.seccion-aluma {
    background-color: rgba(253, 246, 249, 0.7); /* fucsia pastel translúcido */
    padding: 60px 0;
    border-radius: 12px;
    width: 95%;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.contenido-aluma {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.col-logo {
    flex: 1 1 300px;
    text-align: left;
}

.logo-section {
    height: 400px; /* más grande */
    width: auto;
    object-fit: contain;
    border-radius: 50%;
    background-color: transparent;
}

.col-texto {
    flex: 2 1 500px;
    text-align: center;
}

.titulo-aluma {
    font-size: 2.4rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 25px;
}

.texto-aluma {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 20px;
    text-align: justify; /* 🔹 Justifica el texto */
    text-justify: inter-word; /* 🔹 Distribuye mejor los espacios */
}

.frase-final {
    font-style: italic;
    font-weight: 600;
    color: #b565a7;
}

/*Codigo despues de seccion*/

/*Paginacion Inicio*/
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

    .pagination .page-item .page-link {
        color: #b565a7; /* lila del logo */
        border: 2px solid #d4af37; /* dorado */
        border-radius: 50%; /* forma circular */
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        background-color: #fff;
        transition: all 0.3s ease;
    }

    /* Botón activo */
    .pagination .page-item.active .page-link {
        background-color: #d4af37; /* dorado */
        color: #fff;
        border-color: #d4af37;
    }

    /* Hover */
    .pagination .page-link:hover {
        background-color: #fce4ec; /* fucsia pastel */
        color: #d4af37;
        box-shadow: 0 0 10px rgba(212,175,55,0.5);
    }

    /* Botones de texto (Anterior / Siguiente) */
    .pagination .page-item .page-link:not(:has(span)):not(:has(i)) {
        border-radius: 20px; /* forma ovalada para texto */
        width: auto;
        padding: 0 16px;
    }
/*Paginacion Final*/

/*Botones de la pagina*/
/* BOTONES PRINCIPALES (Ver detalles) */
.btn-primary,
.btn-outline-primary {
    color: #fff;
    background-color: #b565a7; /* lila */
    border-color: #b565a7;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-primary:hover,
    .btn-outline-primary:hover {
        background-color: #d4af37; /* dorado */
        border-color: #d4af37;
        color: #fff;
        box-shadow: 0 0 12px rgba(212,175,55,0.7), 0 0 20px rgba(212,175,55,0.4);
        transform: translateY(-2px);
    }

/* BOTONES SECUNDARIOS (Agregar al carrito) */
.btn-success,
.btn-outline-success {
    color: #fff;
    background-color: #d4af37; /* dorado */
    border-color: #d4af37;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-success:hover,
    .btn-outline-success:hover {
        background-color: #b565a7; /* lila */
        border-color: #b565a7;
        color: #fff;
        box-shadow: 0 0 12px rgba(181,101,167,0.7), 0 0 20px rgba(181,101,167,0.4);
        transform: translateY(-2px);
    }

/* ANIMACIÓN SUAVE AL HACER CLICK */
.btn:active {
    transform: scale(0.95);
}

/*Botones de la pagina temina codigo*/

/*Icono Carrito*/
.bi-bag-check-fill {
    color: #d4af37 !important; /* dorado */
    transition: color 0.3s ease, transform 0.3s ease;
}

    .bi-bag-check-fill:hover {
        color: #b565a7 !important; /* lila */
        transform: scale(1.15);
    }

/* Precio normal */
.precio-aluma {
    color: #b565a7; /* lila */
    font-weight: 700;
}

/* Precio en oferta */
.precio-oferta {
    color: #d4af37; /* dorado */
    font-weight: 800;
    font-size: 1.3rem;
}

/* Precio tachado */
.precio-anterior {
    color: #8a8a8a;
    text-decoration: line-through;
}

/*Notificacion para agregar al carrito*/
.notificacion {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #d4af37;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
}

    .notificacion.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .notificacion.error {
        background-color: #b565a7;
    }


/*Carrito Index*/
.carrito-item {
    background-color: #fff;
    border-radius: 15px;
    transition: all 0.3s ease;
}

    .carrito-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 0 15px rgba(212,175,55,0.3);
    }

.precio-aluma {
    color: #b565a7;
    font-weight: 700;
}

.btn-danger {
    background-color: #b565a7;
    border-color: #b565a7;
}

    .btn-danger:hover {
        background-color: #d4af37;
        border-color: #d4af37;
    }

.card, .form-control, textarea {
    border-radius: 10px;
    border: 1px solid #d4af37;
}

.card {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(212,175,55,0.2);
}

label {
    color: #b565a7;
    font-weight: 600;
}

/* 🔹 Estilo base */
input, textarea, select, input[type="file"] {
    border: 1px solid #b565a7 !important; /* lila suave */
    border-radius: 8px;
    background-color: #fff8f9 !important; /* rosado claro dentro del campo */
    transition: all 0.3s ease;
}

    /* 🔹 Efecto dorado al enfocar */
    input:focus, textarea:focus, select:focus, input[type="file"]:focus {
        border: 2px solid #d4af37 !important; /* dorado */
        box-shadow: 0 0 6px rgba(212, 175, 55, 0.6) !important; /* brillo dorado */
        background-color: #fff0f5 !important; /* rosado más intenso */
        outline: none !important;
    }

/* 🔹 Sobrescribe el estilo azul de Bootstrap */
.form-control:focus {
    border-color: #d4af37 !important;
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.6) !important;
    background-color: #fff0f5 !important;
}

/* 🔹 Opcional: color del texto dentro del campo */
input, textarea, select {
    color: #b565a7 !important; /* texto lila suave */
}

    /* 🔹 Opcional: color del texto en las opciones del select */
    select option {
        background-color: #fff8f9; /* fondo rosado claro */
        color: #b565a7; /* texto lila */
    }

.btn-outline-warning {
    border-color: #d4af37;
    background-color: #d4af37;
    color: #fff; /* blanco para contraste */
    font-weight: bold;
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.6);
}

    .btn-outline-warning:hover {
        background-color: #bfa233;
        color: #fff;
    }

.dropdown-menu {
    background-color: #fff8f9 !important; /* rosado claro */
    border: 2px solid #d4af37 !important; /* borde dorado */
    border-radius: 8px !important;
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3) !important;
}

.dropdown-item {
    color: #b565a7 !important; /* lila suave */
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

    .dropdown-item:hover {
        background-color: #fdf6f9;
        color: #d4af37; /* dorado al pasar el mouse */
    }

.active-categoria {
    background-color: #d4af37 !important; /* dorado */
    color: #fff !important; /* texto blanco */
    font-weight: 600;
    border-radius: 6px;
}
/* Estilo base del checkbox */
.form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid #d4af37; /* borde dorado */
    border-radius: 4px;
    background-color: #fff8f9; /* rosado claro */
    cursor: pointer;
    transition: all 0.3s ease;
}

    /* Cuando está marcado */
    .form-check-input:checked {
        background-color: #d4af37 !important; /* dorado */
        border-color: #d4af37 !important;
        box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
    }

        /* El ícono del check (✔) */
        .form-check-input:checked::before {
            color: #fff;
            font-weight: bold;
            position: relative;
            left: 3px;
            top: -1px;
        }

    /* Efecto al enfocar */
    .form-check-input:focus {
        outline: none;
        box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
    }

/* Etiqueta del checkbox */
.form-label {
    color: #b565a7; /* lila suave */
    font-weight: 500;
    margin-left: 5px;
}

/* 🌸 Tabla estilo Aluma */
.table-aluma thead th {
    background: linear-gradient(90deg, #d4af37, #e6c76a) !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-align: center !important;
    letter-spacing: 0.5px !important;
    border-bottom: 2px solid #d4af37 !important;
}

/* ✨ Encabezado dorado con sombra suave */
.table-aluma thead {
    background: linear-gradient(90deg, #d4af37, #e6c76a) !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-align: center !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 6px rgba(212, 175, 55, 0.3) !important;
}

/* 🩷 Celdas y filas */
.table-aluma th, .table-aluma td {
    padding: 12px 16px !important;
    border: 1px solid #f3e5f5 !important;
    vertical-align: middle !important;
}

/* 🌸 Fondo general del cuerpo */
.table-aluma tbody tr {
    background-color: #fff5f7 !important; /* rosado pastel */
}

    /* 🌷 Filas alternadas con tono más oscuro */
    .table-aluma tbody tr:nth-child(even) {
        background-color: #fbe3eb !important; /* rosado medio */
    }

    /* 💫 Hover con un toque más intenso */
    .table-aluma tbody tr:hover {
        background-color: #f7cfe0 !important; /* rosado más oscuro al pasar el mouse */
        transition: background-color 0.3s ease !important;
    }

/* 🩰 Bordes suaves */
.table-aluma td {
    border-color: #f3d7e5 !important;
}

.table-aluma .btn-info {
    background-color: #b565a7 !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
}

.table-aluma .btn-danger {
    background-color: #e57373 !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
}

/* 🌼 Badges */
.badge.bg-success {
    background-color: #4caf50 !important;
    border-radius: 6px !important;
}

.badge.bg-secondary {
    background-color: #b565a7 !important;
    border-radius: 6px !important;
}
