﻿/*******FUENTES AGREGADAS*******/
@font-face {
    font-family: "SF Arch Rival ExtendedBold";
    src: url("../Recursos/FuentesLetra/SFArchRival ExtendedBold.ttf") format('truetype');
}

@font-face {
    font-family: "Kirsty, Bold";
    src: url("../Recursos/FuentesLetra/KirstyBold.ttf") format("truetype");
}
@font-face {
    font-family: "Komigo3D-Regular, Regular";
    src: url("../Recursos/FuentesLetra/Komigo3D-Regular.ttf") format("truetype");
}




/***********WHATSAPP FLOTANTE***********/
.whatsapp-flotante {
    position: fixed;
    bottom: 60px;
    right: 24px;
    z-index: 1050;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-flotante:hover {
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.whatsapp-tooltip {
    position: absolute;
    right: 68px;
    background-color: #fff;
    color: #212529;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.whatsapp-flotante:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* En celular no hay hover real, así que ocultamos el tooltip para que no quede pegado */
@media (hover: none) {
    .whatsapp-tooltip {
        display: none;
    }
}



/*************/
/*Errores*/
#numeroError {
    font-size: 6rem !important;
    display: block !important;
    color: #dc3545;
    margin-top: 0 !important;
}

/***CONTENIDO INICIO****/
/* ===================== CARRUSEL INICIO ===================== */


/* ===== SLIDE CAPACITACIONES (2 columnas) ===== */
.dc-cap-img-mobile {
    display: none;
}

/* ===== SLIDE REPARACIÓN (2 columnas) ===== */
.dc-reparacion-layout, .dc-pasos-layout--capacitaciones {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    height: 100%; /* ocupa todo el alto del slide */
    min-height: 100%;
}

.dc-btn-reparacion, .dc-btn-capacitacion {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    text-decoration: none;
    background: linear-gradient(135deg,#5aa0ff,#2b6fde);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: 11px;
    box-shadow: 0 14px 34px -10px rgba(43,134,255,.7);
}

.dc-btn-reparacion svg, .dc-btn-capacitacion svg{
    width: 18px;
    height: 18px;
}

.dc-btn-reparacion:hover, .dc-btn-capacitacion:hover {
    color: #fff;
}

.dc-rep-feats, .dc-cap-feats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(43,134,255,.22);
}

.dc-rep-feat, .dc-cap-feat {
    display: flex;
    align-items: center;
    gap: 9px;
}

.dc-rep-feat svg, .dc-cap-feat svg {
    width: 26px;
    height: 26px;
    color: #4a9bff;
    flex-shrink: 0;
}

.dc-rep-feat div, .dc-cap-feat div {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.dc-rep-feat strong, .dc-cap-feat strong {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.dc-rep-feat span, .dc-cap-span  {
    color: #8ba0bf;
    font-size: 11.5px;
}

.dc-rep-img, .dc-cap-img {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dc-rep-img img, .dc-cap-img img  {
    width: 100%;
    max-width: 620px; /* antes 520px, la agrando */
    height: auto;
    display: block;
    border-radius: 14px;
    filter: drop-shadow(0 16px 40px rgba(0,0,0,.6));
}

/* ===== PANTALLAS MUY CHICAS (iPhone SE, etc.) ===== */
@media (max-width:380px) {
    .dc-rep-feats {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .dc-rep-img img {
        max-width: 230px;
    }
}


/*********************Carrusel inicio pasos*********************/
.body-inicio {
    padding-top: 60px; /* alto real de tu navbar */
}

.dc-carrusel {
    position: relative;
}

/* controles invisibles pero clickeables a los costados */
.dc-carrusel .carousel-control-prev,
.dc-carrusel .carousel-control-next {
    width: 9%;
    opacity: 0;
    z-index: 5;
}

.dc-carrusel .carousel-control-prev-icon,
.dc-carrusel .carousel-control-next-icon {
    display: none;
}

/* ===== SLIDE 4 SIMPLES PASOS ===== */
.dc-pasos {
    position: relative;
    overflow: hidden;
    height: 82.35vh;
    background: radial-gradient(620px 440px at 90% 8%, rgba(43,134,255,.28), transparent 60%), linear-gradient(125deg,#000000 0%, #050a16 55%, #0a1426 100%);
    padding: 42px 46px;
}

.dc-pasos::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:radial-gradient(rgba(90,160,255,.16) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: .5;
}

.dc-pasos::after {
    content: "";
    position: absolute;
    left: -5%;
    bottom: -8%;
    width: 62%;
    height: 58%;
    background-image: linear-gradient(rgba(70,150,255,.30) 1px,transparent 1px),linear-gradient(90deg,rgba(70,150,255,.18) 1px,transparent 1px);
    background-size: 42px 42px;
    transform: perspective(420px) rotateX(62deg);
    transform-origin: bottom;
    -webkit-mask-image: linear-gradient(to top,#000,transparent 75%);
    mask-image: linear-gradient(to top,#000,transparent 75%);
    opacity: .5;
}

.dc-pasos-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 600px;
    gap: 34px;
    align-items: center;
}

.dc-ph, .dc-ph-cap {
    margin-bottom: 26px;
}

.dc-ph-e, .dc-ph-e-cap {
    display: inline-block;
    color: #6fb0ff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.dc-ph-k, .dc-ph-k-cap {
    display: block;
    font-family: 'Anton',sans-serif;
    font-size: 42px;
    color: #fff;
    text-transform: uppercase;
    line-height: .95;
    letter-spacing: .5px;
    text-shadow: 0 2px 0 #14418f, 0 4px 10px rgba(0,0,0,.6);
}

.dc-ph-k b, .dc-ph-k-cap b {
    color: #4a9bff;
}

.dc-pasos-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;

}

.dc-paso {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 4px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(20,55,120,.45), rgba(6,12,24,.88));
    clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 9px);
    box-shadow: 0 10px 26px -12px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.10), inset 0 0 0 1px rgba(43,134,255,.25);
}

.dc-num {
    position: relative;
    width: 78px;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Anton',sans-serif;
    font-size: 34px;
    color: #fff;
    background: linear-gradient(160deg,#5aa0ff,#2b6fde 55%,#14418f);
    box-shadow: inset 0 2px 0 rgba(255,255,255,.35), inset 0 -3px 8px rgba(0,0,0,.45), 6px 0 16px -6px rgba(43,134,255,.7);
    text-shadow: 0 2px 0 #0f3270, 0 3px 6px rgba(0,0,0,.5);
}

.dc-num::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg,#bcdcff,#2b6fde);
}

.dc-pt {
    padding: 16px 20px;
}

.dc-pt h4 {
    color: #fff;
    font-size: 16.5px;
    font-weight: 700;
    margin-bottom: 3px;
}

.dc-pt h4 span {
    color: #6fb0ff;
}

.dc-pt p {
     color: #b8c6dd;
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
}

.dc-pasos-hombre {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dc-pasos-hombre img {
    width: 450px;
    height: auto;
    display: block;
    filter: drop-shadow(0 12px 34px rgba(0,0,0,.65));
    border-radius: 12px;
    transform: translateY(0px); /* lo sube 30px; subí o bajá este número */
}

.dc-feats {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(168,85,247,.22);
}

.dc-feat {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
}

.dc-feat svg {
    width: 18px;
    height: 18px;
   color: #4a9bff;
}

.dc-feat small {
    display: block;
    color: #8ba0bf;
    font-weight: 500;
    font-size: 11px;
}


/*==============SLIDE 2 HERRAMIENTAS===================*/

.dc-pasos-layout--tools {
    grid-template-columns: 620px 1fr; /* más ancho para la imagen, solo acá */

}

.dc-pasos-layout--tools .dc-tools-img img{
    max-width: 680px;
    order: 1;
}
.dc-pasos-layout--tools .dc-pasos-col {
    order: 2;
}
.dc-tools{
    height: 81.5vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top left,#ff2a3d33,transparent 35%), radial-gradient(circle at bottom right,#00d8ff22,transparent 35%), linear-gradient(135deg,#070707,#111827);
    position: relative;
    overflow: hidden;
}

.dc-tools::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
    background-size: 40px 40px;
}

.dc-tools .container {
    position: relative;
    z-index: 2;
}

.dc-title {
    font-family: 'Anton',sans-serif;
    font-size: 64px;
    line-height: .9;
    color: #fff;
    text-transform: uppercase;
}

.dc-title span {
    color: #00d8ff;
}

.dc-title strong {
    color: #ff3d4f;
    font-weight: 400;
}

.dc-tools-text {
    max-width: 420px;
    font-size: 1.2rem;
}

.dc-tools-img {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center; /* centrada verticalmente, no pegada arriba */
    justify-content: center;
}

.dc-tools-img img {
    width: 100%;
    max-width: 800px; /* que ocupe bien la columna */
    height: auto;
    display: block;
    border-radius: 14px;
    filter: drop-shadow(0 16px 40px rgba(0,0,0,.6));
    transform: none; /* anula el -130px que tenía heredado */
}
.dc-tools-sub, .dc-cap-sub {
    color: #b8c6dd;
    font-size: 15px;
    line-height: 1.55;
    max-width: 430px;
    margin: -14px 0 22px; /* lo acerca al título */
}
.dc-paso--sn .dc-ico {
    position: relative;
    width: 78px;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg,#5aa0ff,#2b6fde 55%,#14418f);
    box-shadow: inset 0 2px 0 rgba(255,255,255,.35), inset 0 -3px 8px rgba(0,0,0,.45), 6px 0 16px -6px rgba(43,134,255,.7);
}
.dc-paso--sn .dc-ico::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg,#bcdcff,#2b6fde);
}

.dc-paso--sn .dc-ico svg {
    width: 34px;
    height: 34px;
    color: #fff;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,.4));
}

.dc-pasos-list--corta {
    max-width: 460px; /* achicá o agrandá este número a gusto */
}


.toast-container {
    z-index: 1090;
}


/* ===== CELULAR ===== */

@media (max-width:767.98px) {

    /*********MENSAJES***********/
    .toast-container {
        top: 75px !important;
        bottom: auto !important;
        left: 12px !important;
        right: 12px !important;
        transform: none !important;
        width: auto;
        max-width: none;
        padding: 0 !important;
    }

    .toast-container .toast {
        width: 100%;
        font-size: 13px;
    }

    .toast-container .toast-body {
        padding: 0.6rem 0.8rem;
    }

    .whatsapp-flotante {
        bottom: 150px;
    }

    /* ===== ALTURA FIJA DEL CARRUSEL (entre navbar y cinta) ===== */
    .dc-carrusel,
    .dc-carrusel .carousel,
    .dc-carrusel .carousel-inner,
    .dc-carrusel .carousel-item {
        height: calc(100vh - 65px - 60px - 50px) !important;
        /* 65px = navbar | 60px = tabbar | 50px = alto de la cinta */
        min-height: 0 !important;
    }

    .carousel-item {
        position: relative !important;
    }

    .dc-pasos {
        height: 100% !important;
        min-height: 0 !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start; /* cambia de space-evenly a flex-start: todo arriba */
        gap: clamp(16px, 4vw, 28px); /* el espacio entre bloques lo controla este gap */
        overflow: hidden;
    }


    .dc-pasos .dc-tools {
        height: auto !important;
        padding: 22px 20px 26px;
    }

    /* ===== TÍTULOS: se achican proporcionalmente si falta espacio ===== */
    .dc-ph-k, .dc-ph-k-cap {
        white-space: normal;
        overflow-wrap: break-word;
        font-size: clamp(15px, 5.2vw, 30px);
    }

    /* ===== SLIDE "4 SIMPLES PASOS" ===== */
    .dc-pasos-layout {
        grid-template-columns: 1fr;
        gap: clamp(12px, 3vw, 22px);
    }

    .dc-pasos-hombre {
        display: none;
    }

    .dc-pt {
        padding: clamp(8px, 2vw, 12px) 16px;
    }

    .dc-pt h4 {
        font-size: clamp(13px, 4vw, 15px);
        margin-bottom: 1px;
    }

    .dc-pt p {
        font-size: clamp(11px, 3.2vw, 12.5px);
        line-height: 1.35;
    }

    .dc-num {
        width: clamp(44px, 14vw, 56px);
        font-size: clamp(20px, 6vw, 24px);
    }

    .dc-paso--sn .dc-ico {
        width: clamp(44px, 14vw, 56px);
    }

    .dc-paso--sn .dc-ico svg {
        width: clamp(20px, 6vw, 26px);
        height: clamp(20px, 6vw, 26px);
    }

    .dc-pasos-list {
        gap: clamp(14px, 4vw, 26px);
    }

    .dc-pasos-list--corta {
        max-width: 100%;
        gap: 10px;
    }

    /* ===== SLIDE HERRAMIENTAS ===== */
    .dc-pasos-layout--tools .dc-pasos-col {
        order: 1;
    }

    .dc-pasos-layout--tools .dc-tools-img {
        order: 2;
    }

    .dc-tools-img {
        display:none;
    }

    /* ===== SLIDE REPARACIÓN ===== */
    /* ===== SLIDE REPARACIÓN / CAPACITACIONES ===== */
    .dc-reparacion-layout,
    .dc-pasos-layout--capacitaciones {
        grid-template-columns: 1fr;
        gap: clamp(10px,3vw,20px);
        height: auto;
        min-height: 0;
        min-width: 0;
        text-align: center;
        justify-items: center;
    }

    .dc-pasos-layout--capacitaciones .dc-pasos-col {
        min-width: 0;
        width: 100%;
    }

    .dc-rep-img,
    .dc-cap-img {
        order: -1;
        height: auto;
        margin-top: 30px;
        padding-top: clamp(20px,7vw,40px);
    }

    .dc-rep-img img,
    .dc-cap-img img {
        max-width: 300px;
        max-height: 26vh;
        width: auto;
        margin: 0 auto;
    }

    .dc-ph, .dc-ph-cap {
        margin-top: clamp(20px, 8vw, 50px);
        margin-bottom: clamp(14px, 4vw, 30px);
    }

    .dc-tools-sub, .dc-cap-sub {
        margin-top: 0px;
        margin-bottom: 5px;
        font-size: clamp(12px, 3.5vw, 14px);
    }

    .dc-btn-reparacion,
    .dc-btn-capacitacion {
        margin-top: clamp(16px,4vw,35px);
        width: 100%;
        justify-content: center;
    }

    .dc-rep-feats,
    .dc-cap-feats {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 8px;
        margin-top: clamp(12px,3vw,20px);
    }

    .dc-rep-feat, .dc-cap-feat{
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4px;
    }

    .dc-rep-feat svg,
    .dc-cap-feat svg {
        width: clamp(16px,5vw,20px);
        height: clamp(16px,5vw,20px);
    }

    .dc-rep-feat strong,
    .dc-cap-feat strong {
        font-size: clamp(10px,3vw,11px);
        white-space: nowrap;
    }

    .dc-rep-feat span,
    .dc-cap-feat span {
        font-size: clamp(8.5px,2.6vw,9.5px);
        white-space: nowrap;
    }

    /*************CAPACITACIONES**************/

    .dc-cap-img {
        display: none;
    }

    .dc-cap-img-mobile {
        display: flex;
        order: -1;
        height: auto;
        margin-top: 30px;
        padding-top: clamp(20px,7vw,40px);
    }
    
    .dc-cap-img-mobile img {
        max-width: 300px;
        max-height: 26vh;
        width: auto;
        margin: 0 auto;
    }
  
}


/**************************************/
/****************CINTA IFINITA********************/
/**************************************/
.dc-marquee {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg,#062864,#1a4da0,#092048);
    padding: 14px 0;
}

.dc-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: dc-marquee-scroll 28s linear infinite;
}

.dc-marquee:hover .dc-marquee-track {
    animation-play-state: paused;
}

.dc-mitem {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 0 30px;
    white-space: nowrap;
}

.dc-mitem svg {
    width: 21px;
    height: 21px;
}

.dc-mdot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.6);
}

@keyframes dc-marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
    /* se mueve la mitad = un grupo completo */
}

@media (max-width:767.98px) {
    .dc-mitem {
        font-size: 14px;
        padding: 0 22px;
    }
    .dc-marquee {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 71px; /* alto real de tu tabbar — ajustalo a tu medida exacta */
        z-index: 1020; /* por debajo del tabbar (que suele tener z-index:1030) */
    }

    /* como la cinta ahora es "fixed" y sale del flujo normal,
       hay que dejarle un hueco al contenido para que no quede tapado debajo */
    .dc-carrusel {
        margin-bottom: 50px; /* alto aproximado de la cinta, para no superponer contenido */
    }
}

/*************************/
/********REGISTRO LOGIN***********/
/*************************/

.main-container{

    padding-top: 5.5rem;
    padding-bottom: 2%;
}


.custom-card {
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
  
}


.title{
    font-size: 20px;
    color: #2055df;
    text-transform: uppercase;
}


.form-label{
    font-weight: 600;
    color: #374151;
}

.custom-input,
.input-group-text{
    height: 58px;
    border: 1px solid #bdd5f1;
    background: #fff;
     border-radius: 30px;
}

.custom-input{
    border-left: none;
    border-right: none;
}

.input-group-text{
    color: #9ca3af;
}

.input-group .form-control:focus{
    box-shadow: none;
    border-color: #5385f0;
   
}

.input-group:focus-within{
    box-shadow: 0 0 0 4px rgba(37,99,235,.12);
    border-radius: 30px;
    border-color: #5385f0;
}

.input-group{
    border-radius: 14px;
    overflow: hidden;
}


.custom-btn{
    height: 58px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 17px;
    background: linear-gradient(135deg,#2563eb,#1d4ed8);
    border: none;
    transition: .2s;
}

.custom-btn:hover{
    transform: translateY(-2px);
}


.form-check-label a{
    text-decoration: none;
}

.MostrarContraseña:hover{
    cursor: pointer;
}

.whatsapp-card{

    border-radius: 1.5rem;
}

.whatsapp-icon{

    width: 90px;
    height: 90px;
    background: #e9f9ee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #25D366;
}

.telefono-box{

    background: #eefaf1;
    border: 1px solid #cfeeda;
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f8f4d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
}

.codigo-container{

    display: flex;
    justify-content: center;
    gap: .7rem;
}

.codigo-input{

    width: 55px;
    height: 65px;
    border: 2px solid #dee2e6;
    border-radius: .8rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    transition: .2s;
}

.codigo-input:focus{

    border-color: #25D366;
    box-shadow: 0 0 0 .2rem rgba(37, 211, 102, .15);
    outline: none;
}

.seguridad-box{

    background: #f4f8ff;
    border: 1px solid #d7e4ff;
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: .8rem;
    color: #4b5563;
}

.seguridad-box i{
    font-size: 1.3rem;
    color: #2563eb;
}


/***************************************/
/**************PERFIL USUARIO********************/
/***************************************/

#perfilTelefono {
    min-width: 0;
    flex: 1;
}

#perfilCorreo {
    min-width: 0;
    flex: 1;
}

.bandera {
    height: 38px;
}

/**************************************/
/******Recuperar contraseña***********/
/*************************************/

.body-recuperar {
    margin: 0;
    padding: 0;
    background: #f4f7fb;
    font-family: 'Segoe UI',sans-serif;
    
}

.recovery-container {
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top:  5%;
}

.recovery-card {
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
}

.recovery-header {
    text-align: center;
    margin-bottom: 35px;
}

.icon-circle {
    width: 90px;
    height: 90px;
    margin: auto;
    border-radius: 50%;
    background: #edf4ff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.icon-circle i {
    font-size: 42px;
    color: #2563eb;
}

.recovery-header h1 {
    font-size: 36px;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 700;
}

.recovery-header p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.5;
}

.input-box {
    margin-bottom: 22px;
}

.input-box label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #334155;
}

.input-group-custom {
    display: flex;
    align-items: center;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: .3s;
}

.input-group-custom:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}

.input-group-custom i {
    padding: 0 16px;
    color: #64748b;
    font-size: 18px;
}

.input-group-custom input {
    width: 100%;
    border: none;
    outline: none;
    padding: 16px;
    font-size: 15px;
    background: transparent;
}

.country-code {
    padding: 0 16px;
    font-weight: 600;
    color: #334155;
    border-right: 1px solid lightgray;
    width: 25%;
}

.btn-primary-custom, .btn-success-custom {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
    margin-top: 8px;
}

.btn-primary-custom {
    background: #2563eb;
    color: white;
}

.btn-primary-custom:hover {
    background: #1d4ed8;
}

.btn-success-custom {
    background: #16a34a;
    color: white;
}

.btn-success-custom:hover {
    background: #15803d;
}

.codigo-section {
    margin-top: 35px;
    text-align: center;
}

.codigo-section h3 {
    margin-bottom: 10px;
    color: #1e293b;
}

.codigo-section p {
    color: #64748b;
    margin-bottom: 25px;
}

.codigo-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.codigo-input {
    width: 55px;
    height: 60px;
    border-radius: 14px;
    border: 1px solid #cbd5e1;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    outline: none;
    transition: .3s;
}

.codigo-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}

.password-section {
    margin-top: 35px;
}

/* ========================= */
/* PASSWORD SECTION */
/* ========================= */

.password-section {
    width: 100%;
    max-width: 420px;
    margin: auto;
    padding: 30px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

/* ========================= */
/* HEADER */
/* ========================= */

.password-header {
    text-align: center;
    margin-bottom: 30px;
}

.password-icon {
    width: 90px;
    height: 90px;
    margin: auto;
    border-radius: 50%;
    background: #edf3ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-icon i {
    font-size: 42px;
    color: #2563eb;
}

.password-header h3 {
    margin-top: 18px;
    font-size: 1.7rem;
    font-weight: 700;
    color: #1e293b;
}

.password-header p {
    color: #64748b;
    margin-top: 8px;
    line-height: 1.5;
}

/* ========================= */
/* INPUTS */
/* ========================= */

.input-box {
    margin-bottom: 20px;
}

.input-box label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #334155;
}

.password-input {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #dbe3f0;
    border-radius: 12px;
    overflow: hidden;
    transition: .3s;
}

.password-input:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.password-input i.bi-lock,
.password-input i.bi-lock-fill {
    padding-left: 15px;
    color: #64748b;
    font-size: 1rem;
}

.password-input input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 12px;
    font-size: 15px;
    background: transparent;
}

.password-input input::placeholder {
    color: #94a3b8;
}

.MostrarContraseña {
    cursor: pointer;
    padding: 0 15px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.MostrarContraseña:hover {
    color: #2563eb;
}

/* ========================= */
/* ERRORES */
/* ========================= */

.text-danger {
    display: block;
    margin-top: 6px;
    font-size: .85rem;
}

/* ========================= */
/* BOTON */
/* ========================= */

.btn-primary-custom {
    width: 100%;
    border: none;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        #2563eb,
        #3b82f6
    );
    color: white;
    font-weight: 600;
    padding: 14px;
    margin-top: 10px;
    transition: .3s;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(37,99,235,.25);
}

.btn-primary-custom i {
    margin-right: 8px;
}


@media(max-width:600px) {
    .recovery-card {
        padding: 28px;
    }

    .recovery-header h1 {
        font-size: 28px;
    }

    .codigo-input {
        width: 45px;
        height: 52px;
        font-size: 20px;
    }
}

/**************************/
/*********ADMINISTRAR************/
/**************************/

.seccion {
    display: none;
}

.seccion.is-active {
    display: block;
}

.vista {
    display: none;
}

.vista.is-active {
    display: block;
}

.admin-nav .btn-outline-light:hover,
.admin-nav .btn-outline-light:focus,
.admin-nav .btn-outline-light:active {
    box-shadow: none !important;
}

.admin {
    min-height: 100vh;
}

.admin-nav {
    min-width: 230px;
}

.drag-over {
    border-color: #0dcaf0;
    background-color: rgba(13,202,240,.15);
}

.dropzone-input {
    border-style: dashed !important; 
    cursor: pointer;
}

.altura-tabla {
    max-height: 235px;
}

.altura-buscar-usuario {
    height: 38px;
}
tamanio-columna {
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#codigo::-webkit-search-cancel-button {
    display: none;
}


#usuarioBuscarTermino::-webkit-search-cancel-button {
    display: none;
}

#buscarTermino::-webkit-search-cancel-button {
    display: none;
}


.altura-buscar-pedido {
    height: 38px;
}

#pedidoBuscarTermino::-webkit-search-cancel-button {
    display: none;
}

@media (max-width: 768px) {
    .admin-nav {
        margin-top: 15px;
        min-width: 100%;
    }
    .vista h2{
        margin-top: 0px !important;
    }
    .seccion h2 {
        margin-top: 0px !important;
    }
    .busqueda-producto div:first-child {
        padding-top: 0px;
        margin-top: 0px !important;
    }
    
}

/*************DESCUENTOS************/
.franja-descuento {
    position: absolute;
    top: 14px;
    right: -38px;
    background-color: #dc3545;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    padding: 6px 46px;
    transform: rotate(45deg);
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    z-index: 2;
}

.precio-tachado {
    font-family: inherit; /* hereda la misma fuente que .precio */
    font-size: 1rem;
    font-weight: 600;
    color: #38bdf8;
    text-decoration: line-through;
    margin-bottom: 2px;
    text-align:center;

}

.precio-descuento {
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
 
    color: #dc3545;
    font-weight: 800;
}

/*************************/
/********FOOTER***********/
/*************************/


.footer{
  background:#050505;
  color:white;
  padding-top:12px;
}

.footer-container{
  max-width:1400px;
}


.footer-top{
  border-top:1px solid rgba(255,255,255,0.08);
  border-bottom:1px solid rgba(255,255,255,0.08);
  padding:26px 0;
}


.footer-brand-wrapper{
  display:flex;
  justify-content:center;
  align-items:center;
 
}

.footer-brand{
  max-width:520px;
  width:100%;
  height: 370px;
}

.footer-title{
  font-size:28px;
  font-weight:700;
  margin-bottom:18px;
}

.footer-logo-content{
  display:flex;
  align-items:flex-start;
  gap:22px;
}

.footer-logo{
  width:95px;
  height:auto;
}

.footer-description{
  color:#d0d0d0;
  font-size:14px;
  line-height:1.9;
  max-width:320px;
  margin:0;
}

/*Redes sociales*/
.footer-social{
  display:flex;
  gap:14px;
  margin-top:24px;
}

.footer-social a{
  width:52px;
  height:52px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.18);

  display:flex;
  align-items:center;
  justify-content:center;

  color:white;
  font-size:24px;

  text-decoration:none;
  transition:0.3s;
}

.footer-social a:nth-child(1):hover{
  background:rgb(192, 51, 51);
  color:black;
}
.footer-social a:nth-child(2):hover{
  background:rgb(75, 138, 255);
  color:black;
}
.footer-social a:nth-child(3):hover{
  background:rgb(53, 201, 97);
  color:black;
}


.footer-map-column{
  border-left:1px solid rgba(255,255,255,0.08);

  display:flex;
  align-items:center;
  justify-content:center;
}

.footer-map-wrapper{
  width:100%;
  max-width:640px;
}

.footer-map-title{
  font-size:24px;
  font-weight:700;
  margin-bottom:18px;
}

.footer-map{
  width:100%;
  height:320px;

  border-radius:22px;
  overflow:hidden;
}

.footer-map iframe{
  width:100%;
  height:100%;
  border:0;

  filter:
  grayscale(100%)
  invert(92%)
  contrast(85%);
}

.footer-features{
  padding:24px 0;
}

.feature-box{
  display:flex;
  align-items:flex-start;
  gap:16px;
}

.feature-box i{
  font-size:22px;
}

.feature-box h4{
  font-size:15px;
  margin-bottom:8px;
  font-weight:700;
}

.feature-box p{
  color:#d0d0d0;
  font-size:13px;
  line-height:1.7;
  margin:0;
}

.feature-border{
  border-left:1px solid rgba(255,255,255,0.08);
  padding-left:26px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0 24px;
}

.footer-copyright {
    color: #d0d0d0;
    font-size: 13px;
}

.footer-legal-link {
    color: #d0d0d0;
    font-size: 13px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-legal-link:hover {
    color: white;
}

.footer-legal-sep {
    color: rgba(255,255,255,0.2);
    margin: 0 8px;
}


@media (max-width: 991.98px) {
   
    .footer-brand {
        height: auto;
        max-width: 100%;
    }

    .footer-map-column {
        border-left: none;
        margin-top: 40px !important;
    }

    .feature-border {
        border-left: none;
        padding-left: 0;
    }

    .footer-features .row > div {
        margin-bottom: 20px;
    }

    .footer-features .row > div:last-child {
        margin-bottom: 0;
    }
}


/**************************************/
/*************CATEGORIA****************/
/**************************************/

.container-categoria {
    height: auto;
    padding-top: 85px;
    margin-bottom: 15px;
    overflow: hidden;
}


.categoria-card {
    border: none;
    border-radius: 50px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #111;
    color: white;
    height: 100%;
}

.categoria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.categoria-img {
    height: auto;
    object-fit: cover;
    width: auto;
}


.categoria-card:hover {
    cursor: pointer;
}

.categoria-card img:hover {
    transform: scale(1.15);
}


.categoria-body {
    padding: 15px;
    text-align: center;
    background-color: transparent;
}

.categoria-titulo {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    min-height: 24px;
}



/**************************************************/
/***********PRODUCTOS DE LA CATEGORIA**************/
/**************************************************/

/*****COPIAR ENLACE****/
.btn-icono-enlace {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
    color: #495057;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-icono-enlace:hover {
    background-color: #f1f3f5;
    border-color: #adb5bd;
}


/***********AGREGAR AL CARRITO******************/
.btn-icono-carrito {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
    color: #495057;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-icono-carrito:hover {
    background-color: #f1f3f5;
    border-color: #adb5bd;
}

.btn-icono-carrito:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #dee2e6;
}

/* CARD */


.filtro-chip {
    width: auto;
    min-width: 90px;
    padding: 0.4rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    background-color: #fff;
    color: #212529;
    font-size: 0.85rem;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.filtro-chip:hover {
    border-color: #9b9e9f;
}

.filtro-chip.activo {
    background-color: #212529;
    border-color: #212529;
    color: #fff;
    font-weight: 600;
}

/* Checkbox custom color - filtros de productos */
#checkboxesMarca .form-check-input,
#checkboxesSubcategoria .form-check-input {
    accent-color: #5bc0eb; /* celeste */
    width: 1.1em;
    height: 1.1em;
    cursor: pointer;
}

#checkboxesMarca .form-check-input:focus,
#checkboxesSubcategoria .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(91, 192, 235, 0.25);
    border-color: #5bc0eb;
}

#checkboxesMarca .form-check-label,
#checkboxesSubcategoria .form-check-label {
    cursor: pointer;
}
.card-producto {
    background: #151515;
    border: none;
    border-radius: 18px;
    overflow: hidden;
    transition: 0.3s;
    height: 100%;
}

.card-producto:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}


/* IMAGEN */

.img-producto {
    width: 100%;
    height: 280px;
    padding-top: 50px;
    object-fit: contain;
    display: flex;
    align-items: center;
    background: #ffffff;
}

/* BADGE */

.badge-stock {
    position: absolute;
    top: 15px;
    left: 14px;
    z-index: 2;
    padding: 4px 15px;
    border-radius: 0px;
    font-size: 12px;
}

.disponible {
    background: #d2f7d7;
    color: green
}

.no-disponible {
    background: #f5d2d6;
    color: red;
}


/* TEXTO */

.descripcion {
    color: #bcbcbc;
    min-height: 30px;
    
}

.precio {
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    color: #00bfff;
}

.card-body h4 {
   
    font-size: 1.2rem;
}

.card-body {
    border: 1px solid #e7e7e7;
}

/* BOTON */

.btn-detalle {
    border-radius: 5px;
    border: 1px solid rgb(71, 71, 71);
    color: rgb(255, 255, 255);
    background-color: #0056b3;
}

 .container-producto{
    margin-top: 60px;
    height: auto;
}

.btn-detalle:hover {
    border-radius: 5px;
    border: 1px solid rgb(71, 71, 71);
    color: #0d0d0d;
    background-color: white;
   
}

/**************************************************/
/***************BUSCAR PRODUCTOS********************/
/**************************************************/


.busqueda-producto {
    min-height: 80vh;
}
.card-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 16px;
}

.card-img-wrapper .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}






/****************************************/
/***********CONTENEDOR DE IMAGENES*******/
/****************************************/
.contenedor-muestra {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 5%;
    margin-bottom: 1%;
    min-height: 53.4vh;
    justify-content: center;
    width: 100%;
    padding: 10px;
}

.contenedor-principal-detalle{
    display:flex;
    justify-content:center;
}

.imagen-muestra {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    width:50%
}

.contenedor-imagenes {
    display: flex;
    align-items: center; 
    overflow: hidden;
    position: relative;
    width: 100%;
    height: auto; 
}

.contenedor-imagenes-muestra {
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: transform 0.3s ease;
    width: max-content;
    margin: 0 auto;
}

.contenedor-imagenes-muestra img {
    width: 12%; 
    height: auto; 
    display:flex;
    cursor: pointer; 
    border: 2px solid transparent; 
    object-fit: cover;
}

.contenedor-imagenes-muestra img:hover {
    border-color: red; 
}

.contenedor-informacion {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 40%;
}

.texto-muestra h1 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.texto-muestra p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.boton-agregar {
    display: flex;
    background-color: green;
    color: white;
    padding: 5px;
    text-align: center;
    border: none;
    margin-top: 20px;
    border-radius: 10px;
    position: relative;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: bold;
    overflow: hidden;
    transition: background-color 0.3s ease;
    width: 100%;
}

.boton-agregar:hover {
    background-color: darkgreen;
}

.flecha {
    background-color: rgba(0, 0, 0, 0.5); 
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.flecha-izquierda {
    left: 10px;
}

.flecha-derecha {
    right: 10px; 
}

#imagenPrincipal {
    border: solid 1px gray;
    border-radius: 5px;
    width: 45%;
    height: auto;
    display: flex;
}

/************************************************/
/***************CARRITO MENSAJE******************/
/************************************************/
.posicion-mensaje {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 70%;
    max-width: 600px;
    margin: 20vh auto;
    height: 40vh;
    text-align: center;
    border: solid 1px black;
    border-radius: 15px;
    box-shadow: inset 6px 6px 10px rgb(66, 65, 65, 0.3), inset -6px -6px 10px rgb(66, 65, 65, 0.3);
}

.contenido-mensaje img {
    max-width: 100%; 
    height: auto;
    margin-bottom: 1rem;
}

.contenido-mensaje .color-contenido p {
    font-size: 1.2rem;
    color: #555;
    font-weight:bold;
}
.contenido-mensaje .letra-carrito{
    margin-bottom:0px;
}

/****************************/
/***********CARRITO**********/
/****************************/

.item-carrito-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px 140px;
    align-items: center;
    gap: 1rem;
}
.grid-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}
.grid-cantidad {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}
.grid-total {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 0.5rem;
}



/*********************************/
/**************DETALLE PRODUCTO***************/
/**********************************/
.btn-ver-mas {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f3f5;
    color: #6c757d;
    border: none;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 0.85rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-ver-mas:hover {
    background: #e2e5e8;
    color: #495057;
}

.icono-ver-mas {
    transition: transform 0.2s ease;
}

.btn-ver-mas.expandido .icono-ver-mas {
    transform: rotate(45deg);
}
.descripcion-producto {
    max-height: 9.8rem; /* ajustable: ~6 líneas de texto normal */
    overflow: hidden;
    position: relative;
}

.descripcion-producto.expandido {
    max-height: none;
    overflow: visible;
}

.descripcion-producto ul {
    padding-left: 1.2rem;
}
/**********************************/
/*****************PEDIDOS**********/
/**********************************/
.filtro-estado {
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #495057;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.filtro-estado:hover {
    background: #f1f3f5;
}

.filtro-estado.active {
    background: #0d6efd;
    color: #fff;
}

.filtro-estado.active .badge {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #fff !important;
}

.pedido-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    transition: box-shadow 0.2s ease;
}

.pedido-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.pedido-icono {
    width: 56px;
    height: 56px;
    background: #e7f1ff;
    color: #0d6efd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-estado-preparando {
    background-color: #f5a623;
    color: #fff;
}

.badge-estado-listo {
    background-color: #28a745;
    color: #fff;
}

.badge-estado-completado {
    background-color: #0d6efd;
    color: #fff;
}

.badge-estado-cancelado {
    background-color: #dc3545;
    color: #fff;
}
.badge-estado-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

/*************************************************/
/*************BUSCAR PRODUCTO Y AGREGAR A PEDIDO************/
/*************************************************/
#pedidoAgregarProductoResultados .list-group-item {
    cursor: pointer;
    font-size: 0.9rem;
}

#pedidoAgregarProductoResultados .list-group-item:hover {
    background-color: #f1f3f5;
}
.btn-quitar-linea {
    background: none;
    border: none;
    color: #dc3545;
    padding: 4px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-quitar-linea:hover {
    background-color: #f8d7da;
}
/********************************************/
/*************LISTA PEDIDOS*****************/
/******************************************/
.boton-detalle {
    background-color: #0d6efd;
    border: none;
    border-radius: 2px;
    width: 100%;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 0 10px #ccc;
    height: 5%;
}

.boton-detalle:hover {
    background-color:  #0f6cf5;
    
}

.producto-detalle {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: #f4f4f4;
    padding: 5px;
    border-radius: 8px;
    gap: 0px;
    align-items: start;
}

.columna-pedido-detalle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.nombre-producto-pedido {
    text-transform: capitalize;
    font-size: 1.3rem;
    text-align: center;
    width: 100%;
    margin-bottom: 5px;
    font-weight: bold;
}

.imagen-producto-pedido {
    width: 100px;
    height: auto;
    object-fit: contain;
    margin-top: 5px;
}

.titulo-campo {
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
}

.flecha-desplegable {
    cursor: pointer;
    width: 30px;
    height: 30px;
}

.ocultar-detalle{
    display:none;
}

.columna6{
    background-color: rgba(0,0,0,0.7);
}

.columna6 .cerrar-detalle {
    color: red;
    border: 1px solid red;
    display: flex;
    justify-content: center;
    background-color: rgba(255,0,0,0.2);
    border-radius: 5px;
    font-size: 20px;
    width: 5%;
    margin-bottom: 5px;
}

.columna6 .cerrar-detalle:hover {
    color: black;
    border: 1px solid red;
    background-color: rgba(255,0,0,1);
    cursor: pointer;
}

.cerrar-detalle-pedido {
    display: flex;
    justify-content: right;
}

#listaDetallePedido, #listaProductoDetalle {
    height: auto;
    max-height:280px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid white;
    border-radius: 10px;
    margin-top: 5px;
    color: white;
}

#listaDetallePedido::-webkit-scrollbar {
    display: none;
}

.mostrar-ventana-detalle {
    display: block;
    position: absolute;
    top: 5px;
    left: 81px;
    width: 40%;
    height: auto;
    max-height: 60%;
    border: 1px solid white;
    z-index: 100;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 1);
    padding: 20px;
    border-radius: 15px;
}

.mostrar-ventana-detalle:active {
    cursor: grabbing;
}

/************************************************************/
/****************TABLA DETALLE PRODUCTO***********************/
/************************************************************/

.tabla-productos-detalle {
    width: 100%;
    border-collapse: collapse;
    border-radius: 5px;
    display: block;
    max-height: 500px;
    overflow-y: scroll;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    color: white;
    background-color: rgba(4, 39, 78, 0.5);
    border: solid 2px white;
    text-align: center;
}
.tabla-productos-detalle::-webkit-scrollbar {
    display: none;
}
.tabla-productos-detalle thead ,
.tabla-productos-detalle tbody ,
.tabla-productos-detalle tr 
{
    display:table;
    width: 100%;
    table-layout: fixed;
}

.tabla-productos-detalle tbody {
  display: block;
  max-height: 500px;         
  overflow-y: scroll;
}

.tabla-productos-detalle tbody::-webkit-scrollbar {
  display: none;
}

.tabla-productos-detalle td, .tabla-productos-detalle th {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-left: none;
  border-right: none;
  box-sizing: border-box;
}

.tabla-productos-detalle thead {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255,1);
    z-index: 10;
    color: black;
    font-size: 15px;
}

.tabla-productos-detalle th {
    padding: 4px;
    text-align: center;
}

.columna-nombre,
.columna-apellido,
.columna-telefono,
.columna-total,
.columna-fecha,
.columna-pedido,
.columna-estado {
    text-align: center;
    vertical-align: middle;
}

.columna-nombre {
    width: 100px;
}

.columna-apellido {
    width: 100px;
}

.columna-telefono {
    width: 130px;
}

.columna-total {
    width: 118px;
}

.columna-fecha {
    width: 100px;
}

.columna-pedido {
    width: 120px;
}

.columna-estado {
    width: 220px;
}

/*******************************/
/**********REPORTE**************/
/*******************************/

.titulo-reportes {
    width: 100%;
    text-align: center;
}
.columna7 {

    padding: 20px;
    border-radius: 10px;
    max-width: 100%;
    font-family: Arial, sans-serif;
    color: white;
}


.fila-reportes {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.fila-reportes .bloque-reporte {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.fila-reportes .boton-reporte {
    margin-top: 10px;
}


.bloque-reporte {
    margin-bottom: 30px;
}

.bloque-reporte label {
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

.fecha-reporte {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.fecha-input {
    padding: 5px;
}


.boton-reporte {
    padding: 8px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.boton-reporte:hover {
    background-color: #0056b3;
}

#reporteProductoBuscarTermino,
#reporteProductoBuscarPor,
.input-group:has(#reporteProductoBuscarTermino) .input-group-text {
    height: 38px !important;
    padding-top: 0.375rem !important;
    padding-bottom: 0.375rem !important;
    display: flex;
    align-items: center;
}
/************************************/
/****TABLA REPORTES VISTA PREVIA*****/
/************************************/

.reporte-body {
    font-family: Arial, sans-serif;
    padding: 20px;
}

.reporte-encabezado {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    text-align: center;
}

.reporte-logo {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-right: 20px;
}

.logo-imagen {
    width: 50px;
    height: auto;
    border-radius: 50%;
    margin-left: 17px;
}

.logo-texto {
    font-size: 0.8rem;
    margin-top: 12px;
    text-align: center;
}

.reporte-titulo-container {
    flex-grow: 1;
}

.reporte-titulo {
    margin: 0;
    font-size: 0.8rem;
}

.reporte-tabla {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 11px;
}


.reporte-tabla th,
.reporte-tabla td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
}

.reporte-boton {
    margin-top: 40px;
    padding: 5px 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.reporte-boton:hover {
    background-color: #0056b3;
}


/********************************/
/**********RESPONSIVE************/
/********************************/

@media (max-width: 650px) {
    .item-carrito-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "info info"
            "cantidad total";
        row-gap: 0.75rem;
    }

    .grid-info {
        grid-area: info;
    }

    .grid-cantidad {
        grid-area: cantidad;
        justify-self: start;
        justify-content: flex-start;
    }

    .grid-total {
        grid-area: total;
        justify-self: end;
        justify-content: flex-end;
    }
}

@media (max-width: 576px) {
    .grupo-filtro-vendidos {
        flex-direction: column;
        align-items: stretch !important;
        width: 100%;
        gap: 0.5rem !important;
    }

        .grupo-filtro-vendidos select,
        .grupo-filtro-vendidos button {
            width: 100% !important;
        }

    .seccion[data-name="reportes"] .d-flex.gap-2.flex-wrap > button {
        flex: 1 1 100%;
    }
}

@media (max-width:565px){
    /**BUSCAR PRODUCTO**/
    .contenedor-buscar {
        display: grid;
        grid-template-columns: repeat(1, minmax(200px, 100%));
        gap: 15px;
        justify-content: center;
    }
}

@media (min-width: 600px) and (max-width: 860px) {
    
    
}



  

@media (min-width:600px) and (max-width: 800px) {
    /**DETALLE PRODUCTO**/
    .contenedor-informacion{
        width:100%;
    }
    .contenedor-muestra {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 80px;
    }

    .contenedor-imagenes-muestra img {
        width: 12%;
        height: auto;
    }

    #imagenPrincipal {
        width: 30%;
        height: auto;
    }

    .imagen-muestra {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

   
}
@media (max-width:600px) {
    /**DETALLE PRODUCTO**/
    .contenedor-informacion{
        width:100%;
    }
    .contenedor-muestra {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 80px;
    }

    .contenedor-imagenes-muestra img {
        width: 12%;
        height: auto;
    }

    #imagenPrincipal {
        width: 50%;
        height: auto;
    }

    .imagen-muestra {
        display: flex;
        flex-direction: column;
        width: 100%;
    } 
}

@media (min-width: 800px) and (max-width: 1000px){
    /**DETALLE PRODUCTO**/
    .contenedor-muestra {
        margin-top:12%;
    }
    .contenedor-imagenes-muestra img {
        width: 16%;
        height: auto;
    }

    #imagenPrincipal {
        width: 50%;
        height: auto;
    }
}

@media screen and (max-width: 860px) {
   

    /*********BUSCAR PRODUCTO**********/
    .busqueda-barra {
        padding-top: 80px;
    }
}

@media screen and (max-width: 780px) {

    /*******APARTADO BUSCAR PRODUCTOS********/
    .contenedor-buscar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 20%));
        gap: 15px;
        justify-items: center;
        width: 75%
    }

    .buscar-productos {
        flex-direction: column;
        align-items: center;
    }

    .texto-producto-buscar {
        align-items: center;
    }

    .buscar-info {
        flex-direction: column;
    }

    .buscar-info h2 {
        width: 100%;
        margin-bottom: 5px;
    }

    .imagen-buscar-producto {
        width: 100%;
    }

    .buscar-productos img, .texto-producto-buscar {
        width: 100%;
    }
}




@media (min-width:780px) and (max-width: 1250px){
    .contenedor-buscar {
        grid-template-columns: repeat(2, minmax(220px, 40%));
        width: 95%;
    }
}




@media (max-width: 768px) {

    /**NAVBAR*/
    .navbar-collapse.show {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #212529;
        z-index: 1050;
        padding-top: 4rem;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
    }

    .navbar-nav .nav-link {
        font-size: 1.5rem;
    }

    .navbar-toggler {
        position: relative;
        z-index: 1100;
    }

    .collapsing {
        transition: none !important;
        height: auto !important;
    }

  

    .navbar-nav .dropdown-menu {
        font-size: 1.3rem;
    }

    /*Inicio*/

    

    
}

@media (max-width:468px) {


    /*NAVBAR*/
    .tamaño-logo {
        width: 2.2rem;
        padding-right: 0.2rem;
    }

    .tamaño-letra {
        width: 8.5rem;
        height: auto;
    }



    /*INICIO*/
    .body-inicio{
        margin:0;
        background:black;
        overflow:hidden;
    }

    .carousel-inicio{
        position:relative;
        height:100vh;
        overflow:hidden;
    }

    #carouselExampleIndicators{
        height:100vh;
        position:relative;
    }

    .carousel-inner,
    .carousel-item{
        height:100vh;
    }

    /* IMAGENES */

    .img-desktop{
        display:none;
    }

    .img-mobile{
        display:block;
        width:100%;
        height:75vh;
        object-fit:contain;
        position:relative;
        z-index:2;
    }

    .carousel-inicio img{
        width:100%;
        object-fit:contain;
    }

    /* BLUR FONDO */

    .carousel-item::before{
        content:"";
        position:absolute;
        inset:0;
        width:100%;
        height:100%;
        background-size:cover;
        background-position:center;
        filter:blur(40px);
        transform:scale(1.4);
        opacity:.75;
        z-index:0;
    }

   
    /*REGISTRO INICIO SESION WHATSAPP*/

    .main-container {
        padding-top: 20%;
    }
    
}



/*NAVBAR */
.tamaño-logo {
    width: 2.2rem;
    padding-right: 0.2rem;
}

.tamaño-letra {
    width: 10rem;
    height: auto;
}
/*.container-fluid {
    padding-left: 0px;
    margin-left: 0px;
}
.tamaño-logo {
    width: 2.2rem;
    padding-right: 0.2rem;
}
.tamaño-letra {
    width: 10rem;
    height: auto;
}

.container-fluid {
    padding-left: 0px;
    margin-left: 0px;
}
/*
.navbar {
    padding: 0.1rem 2rem;
}

.navbar-nav .nav-link {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    font-size: 0.9rem;
    font-weight: 500;
}
/*





*/

/* ===================== NAVBAR DOCTOR CELULARES ===================== */
.dc-nav-inner {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 65px;
}

.dc-tab-badge {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(6px);
    font-size: 10px;
    padding: 2px 5px;
}

.dc-navbar {
    height: 60px; /* el nav en sí, mismo valor */
    overflow: visible; /* para que los dropdowns se sigan viendo */
}

.dc-links .nav-link {
    color: #b9b9c2;
    font-weight: 500;
    transition: color .18s ease;
}



.dc-links .nav-link:hover,
.dc-links .nav-link:focus {
    color: #fff;
}

.dc-links .nav-link.active {

    color: #fff;
    font-weight: 600;
}

.dc-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.dc-search-mobile {
    display: none;
    color: #fff;
}

.dc-tabbar {
    display: none;
}

.dc-toggler {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #3a3a45;
    border-radius: 9px;
    color: #fff;
}

.dc-toggler:focus {
    box-shadow: none;
}

.dc-toggler svg {
    width: 20px;
    height: 20px;
}

/* Por defecto (menú cerrado): se ven las 3 líneas, la cruz oculta */
.dc-toggler .dc-ic-close{ 
    display:none;

}

.dc-toggler .dc-ic-open{ 
    display:block; 

}

/* Menú abierto (Bootstrap pone aria-expanded="true"): se ve la cruz */
.dc-toggler[aria-expanded="true"] .dc-ic-open{ 
    display:none;

}
.dc-toggler[aria-expanded="true"] .dc-ic-close{
    display:block; 

}

/* ---------- ESCRITORIO (>=768px) ---------- */
@media (min-width:768px) {
    .dc-links {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        gap: 2.2rem;
    }

    .dc-links .nav-link {
        padding-left: .25rem;
        padding-right: .25rem;
    }

    .dc-links .nav-link.active {
        position: relative;
    }

    .dc-links .nav-link.active::after {
        display: none;
    }

    .dc-right {
        margin-left: auto;
    }

    .dc-cart {
        border: 1px solid #3a3a45;
        background: #2b2b34;
        padding: .45rem .9rem;
        border-radius: 9px;
    }

    
}

/* ---------- CELULAR (<768px) ---------- */
@media (max-width:767.98px) {
    .dc-toggler {
        order: 1;
    }

    .dc-links .nav-link {
        font-size: 1.1rem;
    }
    .dc-brand {
        order: 2;
        flex: 1;
        justify-content: center;
        margin: 0;
    }

    .dc-search-mobile {
        order: 3;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
    }

    .dc-collapse {
        order: 4;
    }

    .dc-tabbar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1030;
        background: #23232b;
        border-top: 1px solid #34343f;
        padding-bottom: env(safe-area-inset-bottom); /* zona segura iPhone */
    }

    .dc-tab {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 8px 4px 10px;
        color: #9a9aa6;
        text-decoration: none;
        font-size: 11px;
        font-weight: 500;
    }

    .dc-tab:hover {
        color: #fff;
    }

    .dc-tab svg {
        width: 22px;
        height: 22px;
    }

    .dc-tab-center {
        color: #fff;
    }

    .dc-tab-center .dc-tab-ic {
        width: 46px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 11px;
        background: #fff;
        color: #1a1a22;
    }

    .dc-tab-center .dc-tab-ic svg {
        width: 22px;
        height: 22px;
    }

    body {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }

    /* ---- Botones Crear cuenta / Iniciar sesión (especificidad sube para ganarle a Bootstrap) ---- */
    .dc-navbar .dc-links a.nav-link.js-ir-login,
    .dc-navbar .dc-links a.nav-link.js-ir-registro {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        text-align: center;
        border-radius: 11px;
        font-weight: 600;
        font-size: .95rem; /* letra más chica */
        padding: 11px 16px; /* aire arriba/abajo e izquierda/derecha */
        margin: 8px 12px 0; /* separa el botón de los bordes laterales */
    }

    .dc-navbar .dc-links a.nav-link.js-ir-login .dc-btn-ic,
    .dc-navbar .dc-links a.nav-link.js-ir-registro .dc-btn-ic {
        stroke: currentColor;
    }

    .dc-navbar .dc-links a.nav-link.js-ir-login {
        background: #fff;
        color: #1a1a22;
    }

    .dc-navbar .dc-links a.nav-link.js-ir-login:hover,
    .dc-navbar .dc-links a.nav-link.js-ir-login:focus {
        color: #1a1a22;
    }

    .dc-navbar .dc-links a.nav-link.js-ir-registro {
        border: 1px solid #4a4a57;
        color: #fff;
    }

    .dc-navbar .dc-links a.nav-link.js-ir-registro:hover,
    .dc-navbar .dc-links a.nav-link.js-ir-registro:focus {
        color: #fff;
    }
    .dc-navbar {
        height: 75px; /* el nav en sí, mismo valor */
    }
}