﻿body {
    font-size: .80em;
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
    color: #696969;
}

.template {
    background-color: Transparent !important;
    border: none !important;
    background: none;
    border: 0 none !important;
    text-decoration: none;
    border-bottom-width: 0px !important;
    border-color: transparent;
}

div.RadToolBar_Default .rtbOuter {
    border: none !important;
}

div.RadToolBar_Default .rtbOuter {
    border: none;
}

div.RadToolBar_Default .rtbMiddle {
    border: none;
}

.classPO_Text {
    background-color: transparent !important;
    background-image: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    height: 3rem;
    outline: none;
    transition: border 0.3s ease;
}

    .classPO_Text:focus {
        border-color: #6c757d !important;
        outline: none;
        box-shadow: none !important;
    }


input.classPO_Text:-webkit-autofill,
input.classPO_Text:-webkit-autofill:hover,
input.classPO_Text:-webkit-autofill:focus,
input.classPO_Text:-internal-autofill-selected {
    background-color: transparent !important;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    box-shadow: 0 0 0px 1000px transparent inset !important;
    background-image: none !important;
    transition: background-color 5000s ease-in-out 0s;
    color: #000 !important;
}

.classPO_ButtonStyle {
    border-radius: 50px;
    height: 45px;
    width: 100%;
    border-width: 1px;
    background-color: darkslategray;
    color: white;
}

.classPO_Parent {
    position: relative;
    text-align: center;
    vertical-align: central;
}

.classPO_container {
    color: darkslategray;
    background-color: transparent;
    padding: 12px;
    font-family: Arial;
}

    .classPO_container h4, H5 {
        color: darkslategray;
        padding: 12px;
        font-family: Arial;
    }


.classPO_DivContainer {
    padding: 12px;
    width: 100%;
    text-align: center;
    background-color: transparent;
}

.classPO_ObjectLabelText {
    position: absolute;
    font-weight: bold;
    left: 15px;
    top: 0px;
    padding-top: 0px;
    background-color: #fff;
    color: darkslategray;
}

.classPO_Validator {
    position: relative;
    top: 35px;
    left: 12px;
}


.classPO_MainDiv {
    position: relative;
    top: 0;
    padding-top: 10px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    background-color: white;
    vertical-align: central;
    text-align: center;
}

.classPO_SubDiv {
    border-radius: 8px;
    border-style: solid;
    position: relative;
    min-height: 50px;
    text-align: left;
    border-color: darkgray;
    border-width: 1px;
    background-color: white;
    vertical-align: middle;
    padding-top: 4px;
    padding-left: 6px;
    padding-right: 6px;
}

.classPO_TableZeroSpace {
    border: none;
    border-collapse: collapse;
    padding: 0;
    margin: 0;
    border-spacing: 0px;
}

.classPO_VerticalCenteredElement {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 25px; /*requires explicit height*/
    padding-left: 12px;
}

.classPO_TableCustStyle1 {
    border-spacing: 3px;
    background-color: transparent;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    /*                border-collapse:separate;
                    border:solid black 1px;
                    border-radius:6px;
    */
}

    .classPO_TableCustStyle1 a {
        color: White !important;
        /*background-color: aliceblue;*/
        font-weight: bold;
    }

    .classPO_TableCustStyle1 th {
        padding: 3px;
        vertical-align: middle;
        background-color: darkslategray;
        color: white;
        text-align: center;
    }

    .classPO_TableCustStyle1 td {
        padding: 5px;
        vertical-align: middle;
        /*background-color: whitesmoke;*/
    }


.classPO_TableCustStyle2 {
    border-spacing: 3px;
    border-color: transparent;
    background-color: aliceblue;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    border-collapse: separate;
    /*border:solid black 1px;
                    border-radius:6px;
        */
}

    .classPO_TableCustStyle2 a {
        color: White !important;
        /*background-color: aliceblue;*/
        font-weight: bold;
    }

    .classPO_TableCustStyle2 th {
        padding: 3px;
        border-spacing: 3px;
        vertical-align: middle;
        border-color: transparent;
        background-color: darkslategray !important;
        color: white;
        text-align: center;
    }

    .classPO_TableCustStyle2 td {
        padding: 5px;
        border: 1px solid white;
        border-spacing: 3px;
        vertical-align: middle;
        border-color: transparent;
        /*background-color: whitesmoke;*/
    }

    .classPO_TableCustStyle2.grid {
        border-collapse: collapse;
    }

        .classPO_TableCustStyle2.grid tr {
            border: 0px solid white;
            border-width: 20px 0;
        }




.classPO_TableCustStyle3 {
    border-spacing: 3px;
    border-color: transparent;
    /*                background-color: aliceblue;*/
    margin-left: auto;
    margin-right: auto;
    border-collapse: separate;
}

    .classPO_TableCustStyle3 th {
        padding: 3px;
        border-spacing: 3px;
        vertical-align: middle;
        border-color: transparent;
        background-color: darkslategray;
        color: white;
        text-align: center;
    }

    .classPO_TableCustStyle3 td {
        padding: 5px;
        border-spacing: 3px;
        vertical-align: middle;
        border-color: transparent;
        /*background-color: whitesmoke;*/
    }



.classPO_vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.classPO_TableTDBackColorDefault {
    background-color: aliceblue;
}

.classPO_RadToolBarStyle {
    padding-top: 30px;
}


.container1 {
    width: 100%; /* Ensures the div takes the full width of its parent */
    display: flex; /* Uses Flexbox to center the child elements */
    justify-content: center; /* Centers the table horizontally */
    align-items: center; /* Centers the table vertically, if needed */
}

.centeredTable1 {
    /* Set a specific width for your table */
    width: 80%; /* Example width, adjust as needed */
    margin-left: auto;
    margin-right: auto;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Adjust based on your needs */
    gap: 1px; /* Adjust the gap size to control grid line thickness */
    /*background-color: black; */
}

.grid-item {
    background-color: white; /* Or any desired cell background color */
    /* Add other styling as needed */
}


.tree ul {
    list-style-type: none;
}

    .tree ul ul {
        margin-left: 20px;
    }

.collapsed > ul {
    display: none;
}

.toggle::before {
    content: '+ ';
    cursor: pointer;
}

.collapsed .toggle::before {
    content: '- ';
}

.toolbar-bleed {
    width: 100vw; /* pega a largura da viewport */
    margin-left: calc(50% - 50vw); /* anula o padding/margem do pai */
    margin-right: calc(50% - 50vw);
    position: sticky; /* fixa no topo ao rolar (opcional) */
    top: 0;
    z-index: 1000;
    background-color: #2f4f4f; /* cor de fundo desejada do topo */
}

    /* faz o fundo cinza ser contínuo dentro do RadToolBar */
    .toolbar-bleed .RadToolBar,
    .toolbar-bleed .rtbOuter,
    .toolbar-bleed .rtbWrap {
        background: transparent; /* o container .toolbar-bleed já tem a cor */
        width: 100%;
        border: 0;
    }

    /* melhora usabilidade no celular */
    .toolbar-bleed .rtbWrap {
        overflow-x: auto; /* permite rolar horizontal se precisar */
        -webkit-overflow-scrolling: touch;
    }

    .toolbar-bleed .rtbInner {
        display: flex;
        flex-wrap: nowrap;
        gap: .25rem;
    }

    .toolbar-bleed .rtbItem {
        min-width: 44px; /* alvo de toque recomendado */
    }

/* Oculta textos dos botões quando a tela é estreita: ícones ficam melhores */
@media (max-width: 480px) {
    .toolbar-bleed .rtbText {
        display: none !important;
    }
}

.up-overlay {
    position: fixed;
    inset: 0; /* cobre a tela toda */
    background: rgba(255,255,255,.6);
    display: grid;
    place-items: center;
    z-index: 9999; /* acima do layout */
}

.up-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    background: #fff;
    padding: 16px 18px;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,.15);
}

    .up-box img {
        width: 40px;
        height: 40px;
    }

.up-text {
    font: 600 14px/1.2 system-ui, sans-serif;
    color: #111827;
}

/* assegura altura do viewport (não é obrigatório, mas ajuda em alguns temas) */
html, body {
    height: 100%;
}

/* overlay central, acima de tudo */
.up-overlay {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.6);
    z-index: 2147483647; /* maior que header fixo */
}

/* caixinha do spinner */
.up-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    background: #fff;
    padding: 16px 18px;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,.15);
}

/* compacta a tabela inteira */
#GridViewProductOptionItems {
    border-collapse: collapse;
    table-layout: fixed; /* evita expansão pela descrição */
    font-size: 13px; /* levemente menor */
}

    #GridViewProductOptionItems td {
        padding: 4px 6px; /* principal redução de altura */
        line-height: 1.1; /* compacta ainda mais */
        vertical-align: middle;
    }

    /* coluna da imagem e a própria imagem */
    #GridViewProductOptionItems .col-img {
        width: 42px;
    }

    #GridViewProductOptionItems .c-img {
        width: 36px;
        height: 36px;
        object-fit: cover;
        display: block;
        border-radius: 6px; /* opcional */
    }

    /* descrição enxuta (evita múltiplas linhas) */
    #GridViewProductOptionItems .c-desc {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* preço sem quebra, com destaque leve */
    #GridViewProductOptionItems .c-price {
        white-space: nowrap;
        font-weight: 600;
    }

    /* bloco de quantidade super compacto */
    #GridViewProductOptionItems .c-qty {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }




    #GridViewProductOptionItems .btn-qty {
        min-width: 36px; /* antes 28px */
        height: 36px; /* antes 28px */
        line-height: 34px; /* = altura - 2px de borda */
        font-size: 18px; /* sinal maior */
        border: 1px solid #d1d5db;
        border-radius: 8px;
        background: #fff;
        padding: 0; /* manter compacto */
        cursor: pointer;
    }

    #GridViewProductOptionItems .btn-qty:active {
        transform: translateY(1px);
    }

        /* opcional: em telas pequenas, um pouco maiores */
        @media (max-width:480px) {
            #GridViewProductOptionItems .btn-qty {
                min-width: 40px;
                height: 40px;
                line-height: 38px;
                font-size: 20px;
            }

    #GridViewProductOptionItems .qty-val {
        min-width: 32px;
        font-size: 17px;
    }
}

#GridViewProductOptionItems .qty-val {
    min-width: 28px; /* para não “pular” quando chegar 10+ */
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

#GridViewProductOptionItems .qty-val {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
}

/* opcional: reduza ainda mais em telas estreitas */
@media (max-width: 480px) {
    #GridViewProductOptionItems td {
        padding: 3px 4px;
    }

    #GridViewProductOptionItems .c-img {
        width: 32px;
        height: 32px;
    }

    #GridViewProductOptionItems .btn-qty {
        min-width: 26px;
        height: 26px;
        line-height: 24px;
    }
}


/* aplica no fim do seu CSS */
#GridViewProductOptionItems tr > td:first-child {
    padding-left: 0 !important; /* encosta a célula na borda esquerda */
}

#GridViewProductOptionItems .col-img { /* se você usou essa classe na coluna da imagem */
    padding-left: 0 !important;
    width: 42px; /* ajuste como preferir */
}

#GridViewProductOptionItems .c-img {
    display: block;
    margin-left: 0 !important;
    width: 36px;
    height: 36px; /* ou 40x40 se quiser maior */
    object-fit: cover;
}

/* estabiliza a tabela */
#GridViewProductOptionItems{ table-layout: fixed; border-spacing: 0; }


/* agora a IMAGEM é a "nova" primeira visível ⇒ zera o padding esquerdo */
#GridViewProductOptionItems tbody tr > td:first-child{
  padding-left: 0 !important;
  width: 44px !important;
}
#GridViewProductOptionItems tbody tr > td:first-child img{
  display:block; margin:0 !important; padding:0 !important;
  width:36px; height:36px; object-fit:cover;
}

/* mantém tabela estável e compacta */
#GridViewProductOptionItems {
    table-layout: fixed;
    border-spacing: 0;
}

    #GridViewProductOptionItems td {
        padding: 6px 8px;
        line-height: 1.15;
        vertical-align: middle;
    }

    /* 1ª coluna = imagem: encostar à esquerda e respeitar 40x40 */
    #GridViewProductOptionItems tr > td:first-child {
        width: 52px !important;
        padding-left: 0 !important;
    }

    #GridViewProductOptionItems .img40 {
        display: block;
        width: 40px;
        height: 40px;
        object-fit: cover;
        margin: 0;
        padding: 0;
    }

    /* descrição sem quebrar feio (opcional) */
    #GridViewProductOptionItems .c-desc {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #GridViewProductOptionItems thead tr > th:first-child {
        width: 28px !important;
        padding: 0 !important;
        background-size: 18px 18px !important; /* reduz o tamanho do ícone */
        background-repeat: no-repeat !important;
        background-position: center center !important;
    }

    /* a 1ª coluna continua larga o bastante p/ as imagens 40x40 das linhas */
    #GridViewProductOptionItems thead tr > th:first-child {
        width: 52px !important; /* mesmo width da coluna de imagem das linhas */
        padding: 0 6px !important;
        text-align: center;
        vertical-align: middle;
    }

        /* diminui APENAS o ícone do cabeçalho */
        #GridViewProductOptionItems thead tr > th:first-child img {
            width: 18px !important; /* ajuste: 16–20 */
            height: 18px !important;
            display: block;
            margin: 0 auto; /* centraliza no TH */
        }

    /* mantém as imagens das LINHAS em 40x40 (como já está) */
    #GridViewProductOptionItems tbody img.img40 {
        width: 40px;
        height: 40px;
        object-fit: cover;
        display: block;
    }

    /* 1ª coluna: largura padrão para itens normais (acomoda 40x40) */
    #GridViewProductOptionItems tr td:first-child {
        width: 52px;
        padding-left: 0;
        vertical-align: middle;
    }

    /* linhas normais: imagem 40x40 */
    #GridViewProductOptionItems tbody img.img40 {
        width: 40px;
        height: 40px;
        object-fit: cover;
        display: block;
    }

    /* 1ª célula da linha de grupo: estreita e centralizada */
    #GridViewProductOptionItems tr.gv-group td:first-child {
        width: 28px !important;
        padding: 0 !important;
        text-align: center !important;
        vertical-align: middle !important;
    }

    /* ícone do check centralizado */
    #GridViewProductOptionItems tr.gv-group td:first-child img.gv-check {
        display: block; /* evita inline com espaços */
        margin: 0 auto; /* centraliza horizontalmente */
        width: 18px;
        height: 18px; /* seu tamanho reduzido */
    }


    /* coluna da imagem nas linhas normais (acomoda 40x40) */
    #GridViewProductOptionItems td:first-child {
        width: 52px;
        padding-left: 0;
        vertical-align: middle;
    }

    /* imagens normais: 40x40 */
    #GridViewProductOptionItems img.img40 {
        display: block;
        width: 40px;
        height: 40px;
        object-fit: cover;
    }

    /* só na linha de grupo (marcada no RowDataBound) o check é 18x18 */
    #GridViewProductOptionItems tr.gv-group td:first-child img.gv-check {
        width: 18px !important;
        height: 18px !important;
        display: block;
        margin: 0 auto;
    }

    /* se quiser a 1ª célula da linha de grupo mais estreita */
    #GridViewProductOptionItems tr.gv-group td:first-child {
        width: 28px !important;
        padding: 0 !important;
        text-align: center;
    }

/* base reutilizável */
.btn-qty2 {
    display: inline-block;
    min-width: 36px;
    height: 36px;
    line-height: 34px;
    font-size: 18px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    padding: 0;
    cursor: pointer;
    user-select: none;
}

/* variações de tamanho */
.btn-qty2--sm {
    min-width: 32px;
    height: 32px;
    line-height: 30px;
    font-size: 16px;
}

.btn-qty2--md {
    min-width: 36px;
    height: 36px;
    line-height: 34px;
    font-size: 18px;
}
/* igual à base */
.btn-qty2--lg {
    min-width: 44px;
    height: 44px;
    line-height: 42px;
    font-size: 22px;
}

.btn-qty2 {
    box-sizing: border-box;
    transition: transform .04s, box-shadow .12s;
}

    .btn-qty2:hover {
        box-shadow: 0 1px 4px rgba(0,0,0,.08);
    }

    .btn-qty2:active {
        transform: translateY(1px);
    }

    .btn-qty2:disabled {
        opacity: .5;
        cursor: not-allowed;
    }

    .btn-qty2:focus-visible {
        outline: 2px solid #2563eb;
        outline-offset: 2px;
    }
/* acessível */


/* sem borda e sem glow no foco (Bootstrap/Chrome) */
#reqQtyHTML {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent; /* opcional */
    border-radius: 0; /* se houver cantos arredondados */
}

    /* se quiser ainda ter um foco acessível, coloque um bem discreto */
    #reqQtyHTML:focus-visible {
        outline: 2px solid #94a3b8; /* ou remova esta regra para zero foco */
        outline-offset: 2px;
    }

/* 120x90 fixos, sem distorcer; corta excesso */
/*.gv-img-cover {
    width: 120px;
    height: 90px;  caixa fixa 
    object-fit: cover;  mantém proporção 
    object-position: center center;  centraliza o corte 
    display: block;  evita espaços estranhos 
}*/
