﻿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, body {
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.card-lista-produtos {
}

    .card-lista-produtos a:first-child {
        text-decoration: none;
    }

        .card-lista-produtos a:first-child div.card .card-body {
        }

            .card-lista-produtos a:first-child div.card .card-body .card-title {
                color: #000000;
            }

            .card-lista-produtos a:first-child div.card .card-body .card-values {
                color: #000000;
            }

    .card-lista-produtos div.card {
        cursor: pointer;
    }

    .card-lista-produtos div.card-values div:first-child {
        height: 26px;
    }

.carrinho-item-fadeout {
    opacity: 0;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.carrinho-fadein-down {
    opacity: 0;
    transform: translateY(-15px);
    transition: all 0.35s ease;
    padding: 8px 12px;
}

    .carrinho-fadein-down.show {
        opacity: 1;
        transform: translateY(0);
    }

.timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 40px 0;
    padding: 20px 0;
}

    .timeline::before {
        content: "";
        position: absolute;
        top: 28px;
        left: 0;
        width: 100%;
        height: 4px;
        background: #003366;
    }

.timeline-item {
    text-align: center;
    width: 16%;
    position: relative;
}

.timeline-point {
    width: 20px;
    height: 20px;
    background: #003366;
    border-radius: 50%;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.timeline-item p {
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 500;
    color: #003366;
}

/* -------------------------
   MODO VERTICAL (celular)
--------------------------*/
@media (max-width: 768px) {

    .timeline {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 30px;
    }

        .timeline::before {
            top: 0;
            left: 10px;
            width: 4px;
            height: 100%;
        }

    .timeline-item {
        width: 100%;
        margin-bottom: 40px;
        text-align: left;
    }

    .timeline-point {
        position: absolute;
        left: -20px;
    }
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.nav > .nav-item .nav-link {
    padding-left: 0;
}

.nav > .nav-item + .nav-item {
    position: relative;
    padding-left: 1rem;
}

    .nav > .nav-item + .nav-item::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 14px;
        width: 1px;
        background-color: #dee2e6;
    }

.nav-link {
    font-weight: 500;
    font-size: .95rem;
}

    .nav-link:hover {
        text-decoration: underline;
    }

.product-card .ratio {
    overflow: hidden;
}

.product-card img {
    transition: transform 0.2s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.pedido-card {
    border-radius: 12px;
}

.timeline {
    position: relative;
    margin-left: 10px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    margin-bottom: 12px;
}

    .timeline-item::before {
        content: "";
        position: absolute;
        left: 6px;
        top: 16px;
        width: 2px;
        height: 100%;
        background-color: #dee2e6;
    }

    .timeline-item:last-child::before {
        display: none;
    }

.timeline-point {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-top: 4px;
}

.pedido-card.ativo {
    border-left: 4px solid #0d6efd;
}

.limite-scroll {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 8px;
}

.add-endereco-card {
    border: 2px dashed #0d6efd;
    background-color: #f8f9ff;
}

    .add-endereco-card:hover {
        background-color: #eef2ff;
        transform: translateY(-3px);
    }

    .add-endereco-card.disabled {
        border: 2px dashed #b3b6bb;
        background-color: #e7e7e7;
    }

a.disabled {
    pointer-events: none;
    cursor: default;
}


.timeline-horizontal {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    gap: 10px;
    overflow-x: auto;
    padding: 30px 10px 10px;
}

    .timeline-horizontal::before {
        content: "";
        position: absolute;
        top: 16px;
        left: 0;
        right: 0;
        height: 3px;
        background: #e5e7eb;
        z-index: 0;
    }

.step {
    position: relative;
    text-align: center;
    min-width: 120px;
    z-index: 1;
}

.point {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    background: #e5e7eb;
    color: transparent;
    border: 3px solid #fff;
    transition: all .25s ease;
}

.step p {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

.step small {
    font-size: 11px;
    color: #6b7280;
}

.step.success .point {
    background: #22c55e;
    color: #fff;
}

.step.success .point::before {
    content: "✓";
}

.step.danger .point {
    background: #dd3041;
    color: #fff;
}

    .step.danger .point::before {
        content: "✓";
    }

.step.current .point {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
}

.step:hover .point {
    transform: scale(1.08);
}

.step.pending .point {
    background: #e5e7eb;
}

.item-capa {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.item-hide {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
}

#MAIN_CABECALHO .estilo-cabecalho {
    height: 100px;
    background-color: #1d3a9b;
    color: #ffffff;
    border-top: 6px solid #ff7a00;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#MAIN_MENU .estilo-menu {
    background-color: #f7f7f7;
    border-bottom: 1px solid #dee2e6;
}

#MAIN_CORPO {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #fafafa;
}

    #MAIN_CORPO .estilo-corpo {
        display: flex;
        flex-direction: column;
        background-color: #fafafa;
        padding-bottom: 5rem;
        line-height: initial;
    }

#MAIN_RODAPE .estilo-rodape {
    width: 100%;
    white-space: nowrap;
    color: #6c757d;
    border-top: 1px solid #dee2e6;
    background-color: #efefef;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.notificacao-produto {
    max-width: 500px;
}

.bell:hover {
    transform: rotate(-10deg);
}

.img-thumb-principal {
    border: 2px solid #375cd9;
}