:root {
    --main-color: #4b88a9;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}
header{
    display:flow-root;
}
.character-limit {
    width: 200px; /* Set the desired width for the element */
    /*white-space: nowrap;  Prevent text from wrapping to the next line */
    overflow: hidden; /* Hide any overflowing text */
    position: absolute;
    text-overflow: ellipsis; /* Display an ellipsis (...) at the end of the visible text */
}
header img {
    width: 100px;
    height: 85px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
select {
    display: block;
    border: 1px solid #9e9e9e;
    border-radius: 5px;
}
#deletCart {
    background-color: transparent;
    color: #4b88a9;
    border:none;
}
#languages {
    display: block;
    border-radius: 8px;
    background-color: #a12f00;
    color: white;
    border: none;
    height: 35px;
}
.collection {
    border-top: none;
}
.famili {
    padding: 20px 30px;
}
.iti{
    width:100%;
}
.range {
    cursor: pointer;
    width: 25px;
    /*font-size: 20px;
    color: white;
    background: var(--main-color);
    border-radius: 50%;
    
    text-align: center;
    border:none;*/
}
.image {
    width: 45px;
    height: 45px;
}
.image_product{
    width:100px;
    height:100px;
    object-fit: contain;
}
.title {
    font-size: 18px;
    margin-left: 7%;
}
.title_taxa {
    font-size: 22px;
    margin-left: calc(7% + 100px);
}
.icon_more {
    font-size: 30px;
}
#content{
    border-top:none;
}
#items {
    color: white;
    text-align: center;
    justify-content: center;
    font-size: 25px;
}
.subfamilia {
    display: none;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}
.produto {
    display: none;
    text-align: left;
}
.solo_product {
    height: 200px;
    padding: 0px 10px 0px 10px;
}
}
.more_des{
    margin-left:10px;
}
.des{
    display:none;
    margin-top:10px;
}
.des_price {
    float: left;
    margin-left:13%;
}
.price {
    font-weight:600;
    font-size:17px;
}
/*.caracteristicas
{
    margin-top:-20px;
}*/
.des_especificacoes {
    float: right;
    bottom: 0;
}
.add {
    color: white;
    border-radius: 10px;
    width:150px;
    height:35px;
    float:right;
    margin-top:-30px;
    border:none;
}
.campos {
    border: 2px solid;
    border-radius: 5px;
    border-color: #bababa;
    /*margin:6px 0px 6px 0px;*/
    text-align: center;
    margin-top:10px;
}
#secundari-camps{
    display:none;
}
.quantValue {
    padding: 0px 6px;
    float: right;
}
#secundari-camps {
    margin-top: 10px;
}
#ob {
    height: 100px;
    border-radius: 5px;
}
.cart_icon {
    color: #d52f2f;
    margin-right: 15px;
    float: right;
    cursor: pointer;
}
.final_camps {
    position: relative;
    left: 0;
    bottom: 70px;
    width: 100%;
    padding: 10px;
    margin-top:70px;
}
.finalizar {
    color: white;
    border-radius: 5px;
    width: 100%;
    height: 50px;
    margin-top: -30px;
    margin-top:10px;
    border:none;
    font-size:18px;
    margin-bottom: 100px;
}
footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 9%;
    color: white;
}
#valor_total{
    float:left;
    font-size:24px;
    padding:5px 8%;
}
footer a {
    float: right;
    padding:5px 8%;
}
footer i {
    color: white;
    margin-right: 20px;
    cursor:pointer;
}
.success-content{
    justify-content:center;
    text-align:center;
    padding:30px 50px;
}




/* Layout Principal do Item */
.solo_product_horizontal {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    gap: 15px;
    background: #fff;
}

.product_img_side {
    flex: 0 0 80px; /* Largura da imagem fixa */
}

    .product_img_side img {
        width: 80px;
        height: 80px;
        object-fit: contain;
    }

.product_info_side {
    flex: 1; /* Ocupa o resto do espaço */
    display: flex;
    flex-direction: column;
}

/* Nome e Preço na mesma linha */
.title_price_row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

    .title_price_row .title {
        font-weight: bold;
        color: #333;
    }

    .title_price_row .price {
        font-weight: bold;
        color: #2ecc71;
    }

/* Controles de Quantidade e Pessoas */
.controls_row {
    margin-bottom: 10px;
}

.control_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.range_group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.range {
    width: 22px;
    height: 22px;
    cursor: pointer;
}

/* Ações (Info e Adicionar) */
.product_actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info_icon {
    width: 28px;
    height: 28px;
    cursor: pointer;
}

.add {
    flex: 1;
    background: #a43500;
    color: white;
    border: none;
    padding: 8px;
    border-radius: 4px;
    font-weight: bold;
}


:root {
    --primary-color: #a43500;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --bg-card: #ffffff;
    --bg-controls: #f1f2f6;
    --shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.product-list-item {
    list-style: none;
    margin: 15px 0;
}

/* Card Principal */
.modern-card {
    display: flex;
    background: var(--bg-card);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease;
    border: 1px solid #f0f0f0;
}

/* Coluna da Imagem */
.img-side {
    flex: 0 0 100px;
    height: 100px;
    background: #f9f9f9;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .img-side img {
        width: 85%;
        height: 85%;
        object-fit: contain;
    }

/* Coluna de Conteúdo */
.content-side {
    flex: 1;
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    letter-spacing: -0.5px;
}

.product-price {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.2rem;
    margin: 4px 0 12px 0;
}

/* Controles Estilizados */
.selectors-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.selector-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-controls);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.counter-engine {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .counter-engine img {
        width: 20px;
        height: 20px;
        cursor: pointer;
        opacity: 0.7;
    }

        .counter-engine img:hover {
            opacity: 1;
        }

.val-display {
    color: var(--text-main);
    min-width: 12px;
    text-align: center;
}

/* Footer de Ações */
.actions-footer {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-add-modern {
    flex: 1;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(164, 53, 0, 0.2);
}

.btn-info-circle {
    width: 32px;
    height: 32px;
    cursor: pointer;
    filter: grayscale(1) opacity(0.5);
}

/* Estilo para a Família (Categoria Principal) */
.famili {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 15px;
    padding: 12px 18px;
    margin-bottom: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

    .famili:hover {
        background: #fdfdfd;
        transform: translateY(-2px);
    }

    .famili .image {
        width: 35px;
        height: 35px;
        object-fit: contain;
        margin-right: 15px;
    }

    .famili .title {
        flex-grow: 1;
        font-weight: 800;
        font-size: 0.9rem;
        color: #2d3436;
        letter-spacing: 1px;
    }

/* Estilo para a Subfamília */
.subfamilia {
    padding-left: 15px;
    margin-bottom: 20px;
    border-left: 2px solid #eee; /* Linha guia lateral */
}

    .subfamilia .famili {
        background: #f8f9fa; /* Um tom ligeiramente diferente da família */
        box-shadow: none;
        padding: 8px 15px;
        border-radius: 10px;
    }

    .subfamilia .title {
        font-weight: 600;
        font-size: 0.8rem;
        color: #636e72;
    }

/* Ícones de expandir */
.secondary-content i {
    color: #a43500;
    transition: transform 0.3s ease;
}

/* Lista de produtos dentro da subfamília */
.produto {
    padding-left: 0;
    margin-top: 10px;
}