@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* Padronização geral */
:root {
    --primary: #fff;
}

body {
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
    background: #ffffff;
    margin: 0;
    font-size: 0.8rem;
  }

/* Estilos de cabeçalho e rodapé */
.header {
    background: var(--primary);
    padding: 12px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.imglogo {
    max-width: 150px;
}

/* Estilos de catálogo e carrinho */
.card-prod {
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: 0.2s;
    cursor: pointer;
}

.card-prod:hover {
    transform: translateY(-2px);
}

.card-prod img {
    height: 160px;
    object-fit: contain;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-title-code {
    font-weight: bold;
    color: #d6181e; /* text-red-600 do Tailwind */
    
}

.card-title-desc {
    font-weight: 600;
   
}

.qty-input {
    width: 50px;
}

.toast-fixed {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
}

.toast .bi-check-circle-fill {
    font-size: 1.5rem;
}

.toast-link {
    text-decoration: underline;
    font-weight: bold;
    color: #fff;
}

/* Estilos de página de produto */
.img-wrapper {
    position: relative;
    width: 100%;
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    
   
}

.texto_footer{
            
            text-align: center;
            color: #fff;
            background-color: #5C5C5C;
            padding: 10px;
            font-size: 0.75rem;
            margin-top: 3rem;
            position: relative;
            bottom: 0;
            left: 0;
            width: 100%;
            
        
            
        }
        
         
  
  


.img-wrapper img.img-large {
    max-width: 100%;
    width: 100%;
    object-fit: contain;
    z-index: 1;
    display: block;
}

.img-wrapper img.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1rem;
    z-index: 2;
    pointer-events: none;
}

.table th {
    width: 160px;
    font-weight: 600;
}

h2,
h3 {
    color: #333;
}

/* Estilos da página de carrinho */
.cart-title {
    font-size: 1.25rem; /* text-xl do Tailwind */
    font-weight: bold;
    margin-bottom: 0;
    color: #000;
}

.product-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 6px;
}

.product-info h5 {
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}

.product-info p {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
}

.product-actions input {
    width: 60px;
}

.cart-buttons-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
}

.cart-btn-clear,
.cart-btn-submit {
    width: 100%;
    text-align: center;
}

@media (min-width: 768px) {
    .cart-buttons-wrapper {
        flex-direction: row;
        justify-content: flex-end;
        gap: 0.5rem;
    }

    .cart-btn-clear,
    .cart-btn-submit {
        width: auto;
    }
}

/* Novas classes para substituir o Tailwind */
.search-container {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 3rem;
}

.search-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #d6181e;
    margin-bottom: 0.75rem;
}

.search-form {
    width: 100%;
    max-width: 32rem;
    margin-bottom: 1rem;
}

.search-label {
    font-size: 0.875rem;
    color: #4b5563;
    text-align: left;
    font-weight: 600;
}

/* Correção para alinhar os campos */
.form-flex-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.5);
}

.btn-search {
    width: 100%;
    padding: 0.5rem 1rem;
    background-color: #dc2626;
    color: #fff;
    font-weight: bold;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
    border: none;
}

.btn-search:hover {
    background-color: #b91c1c;
}



/* Estilos para a barra de busca, alinhando-se à imagem */
.search-container {
    background-color: #f8f9fa; /* Um cinza claro para o fundo */
    border: 1px solid #dee2e6; /* Borda sutil */
    border-radius: 8px;
    padding: 20px;
}

.search-container h3 {
    color: #d9534f;
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center;
}

.search-container p {
    font-weight: bold;
    color: #d9534f;
    margin-bottom: 5px;
}

.search-container .form-control {
    border-radius: 0.25rem;
}

.search-container .btn-danger {
    background-color: #d9534f;
    border-color: #d9534f;
    font-weight: bold;
}

.search-container .btn-danger:hover {
    background-color: #c9302c;
    border-color: #ac2925;
}

.form-check-input:checked {
    background-color: #d9534f;
    border-color: #d9534f;
}




@media (min-width: 640px) {
    .form-flex-row {
        flex-direction: row;
    }

    .btn-search {
        width: auto;
    }
}


