/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #3a86ff;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo h1 {
    font-size: 24px;
    color: #3a86ff;
}

.menu {
    display: flex;
}

.menu li {
    margin-left: 20px;
}

.menu a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.menu a:hover {
    color: #3a86ff;
}

.carrinho a {
    color: #333;
    font-size: 20px;
    position: relative;
}

.contador-carrinho {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ff006e;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

/* Main Content */
main {
    padding: 30px 0;
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background-color: #3a86ff;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: #ff006e;
    color: #fff;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #d60059;
}

/* Categorias */
.categorias {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.categoria-card {
    flex: 0 0 calc(33.333% - 20px);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.categoria-card:hover {
    transform: translateY(-5px);
}

.categoria-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.categoria-info {
    padding: 20px;
    text-align: center;
}

.categoria-info h3 {
    margin-bottom: 10px;
    color: #333;
}

/* Produtos */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.produto-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.produto-card:hover {
    transform: translateY(-5px);
}

.produto-img {
    height: 200px;
    overflow: hidden;
}

.produto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.produto-card:hover .produto-img img {
    transform: scale(1.05);
}

.produto-info {
    padding: 20px;
}

.produto-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.produto-categoria {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.produto-preco {
    font-size: 20px;
    font-weight: 600;
    color: #ff006e;
    margin-bottom: 15px;
}

.btn-adicionar-carrinho {
    width: 100%;
    text-align: center;
    background-color: #3a86ff;
}

.btn-adicionar-carrinho:hover {
    background-color: #2a75e8;
}

/* Página de Produto */
.produto-detalhe {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.produto-detalhe-img {
    flex: 0 0 40%;
}

.produto-detalhe-img img {
    width: 100%;
    border-radius: 8px;
}

.produto-detalhe-info {
    flex: 0 0 60%;
    padding-left: 30px;
}

.produto-detalhe-info h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.produto-detalhe-categoria {
    color: #666;
    margin-bottom: 20px;
}

.produto-detalhe-descricao {
    margin-bottom: 20px;
    line-height: 1.7;
}

.produto-detalhe-preco {
    font-size: 28px;
    font-weight: 600;
    color: #ff006e;
    margin-bottom: 20px;
}

.produto-detalhe-acoes {
    display: flex;
    align-items: center;
}

.quantidade {
    display: flex;
    margin-right: 20px;
}

.quantidade input {
    width: 60px;
    text-align: center;
    font-size: 16px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.quantidade button {
    background-color: #3a86ff;
    color: #fff;
    border: none;
    width: 40px;
    font-size: 16px;
    cursor: pointer;
}

.quantidade button:first-child {
    border-radius: 4px 0 0 4px;
}

.quantidade button:last-child {
    border-radius: 0 4px 4px 0;
}

/* Carrinho */
.carrinho-tabela {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.carrinho-tabela th,
.carrinho-tabela td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.carrinho-produto {
    display: flex;
    align-items: center;
}

.carrinho-produto img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 4px;
}

.carrinho-quantidade {
    display: flex;
    align-items: center;
}

.carrinho-quantidade input {
    width: 50px;
    text-align: center;
    padding: 5px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-remover {
    color: #ff006e;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.carrinho-resumo {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carrinho-resumo h2 {
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.carrinho-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
    font-size: 18px;
}

.checkout-btn {
    width: 100%;
    text-align: center;
    padding: 15px;
    background-color: #ff006e;
    font-size: 18px;
}

/* Checkout */
.checkout-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.checkout-form {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.checkout-resumo {
    flex: 0 0 350px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}
/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #3a86ff;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo h1 {
    font-size: 24px;
    color: #3a86ff;
}

.menu {
    display: flex;
}

.menu li {
    margin-left: 20px;
}

.menu a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.menu a:hover {
    color: #3a86ff;
}

.carrinho a {
    color: #333;
    font-size: 20px;
    position: relative;
}

.contador-carrinho {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ff006e;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

/* Main Content */
main {
    padding: 30px 0;
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background-color: #3a86ff;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: #ff006e;
    color: #fff;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #d60059;
}

/* Categorias */
.categorias {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.categoria-card {
    flex: 0 0 calc(33.333% - 20px);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.categoria-card:hover {
    transform: translateY(-5px);
}

.categoria-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.categoria-info {
    padding: 20px;
    text-align: center;
}

.categoria-info h3 {
    margin-bottom: 10px;
    color: #333;
}

/* Produtos */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.produto-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.produto-card:hover {
    transform: translateY(-5px);
}

.produto-img {
    height: 200px;
    overflow: hidden;
}

.produto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.produto-card:hover .produto-img img {
    transform: scale(1.05);
}

.produto-info {
    padding: 20px;
}

.produto-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.produto-categoria {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.produto-preco {
    font-size: 20px;
    font-weight: 600;
    color: #ff006e;
    margin-bottom: 15px;
}

.btn-adicionar-carrinho {
    width: 100%;
    text-align: center;
    background-color: #3a86ff;
}

.btn-adicionar-carrinho:hover {
    background-color: #2a75e8;
}

/* Página de Produto */
.produto-detalhe {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.produto-detalhe-img {
    flex: 0 0 40%;
}

.produto-detalhe-img img {
    width: 100%;
    border-radius: 8px;
}

.produto-detalhe-info {
    flex: 0 0 60%;
    padding-left: 30px;
}

.produto-detalhe-info h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.produto-detalhe-categoria {
    color: #666;
    margin-bottom: 20px;
}

.produto-detalhe-descricao {
    margin-bottom: 20px;
    line-height: 1.7;
}

.produto-detalhe-preco {
    font-size: 28px;
    font-weight: 600;
    color: #ff006e;
    margin-bottom: 20px;
}

.produto-detalhe-acoes {
    display: flex;
    align-items: center;
}

.quantidade {
    display: flex;
    margin-right: 20px;
}

.quantidade input {
    width: 60px;
    text-align: center;
    font-size: 16px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.quantidade button {
    background-color: #3a86ff;
    color: #fff;
    border: none;
    width: 40px;
    font-size: 16px;
    cursor: pointer;
}

.quantidade button:first-child {
    border-radius: 4px 0 0 4px;
}

.quantidade button:last-child {
    border-radius: 0 4px 4px 0;
}

/* Carrinho */
.carrinho-tabela {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.carrinho-tabela th,
.carrinho-tabela td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.carrinho-produto {
    display: flex;
    align-items: center;
}

.carrinho-produto img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 4px;
}

.carrinho-quantidade {
    display: flex;
    align-items: center;
}

.carrinho-quantidade input {
    width: 50px;
    text-align: center;
    padding: 5px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-remover {
    color: #ff006e;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.carrinho-resumo {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carrinho-resumo h2 {
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.carrinho-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
    font-size: 18px;
}

.checkout-btn {
    width: 100%;
    text-align: center;
    padding: 15px;
    background-color: #ff006e;
    font-size: 18px;
}

/* Checkout */
.checkout-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.checkout-form {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.checkout-resumo {
    flex: 0 0 350px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo {
    flex: 0 0 30%;
}

.footer-logo h2 {
    color: #3a86ff;
    margin-bottom: 15px;
}

.footer-links, .footer-contact {
    flex: 0 0 30%;
}

.footer-links h3, .footer-contact h3 {
    color: #fff;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ddd;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #3a86ff;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: #3a86ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsividade */
@media (max-width: 992px) {
    .categoria-card {
        flex: 0 0 calc(50% - 15px);
        margin-bottom: 30px;
    }
    
    .produto-detalhe-img, .produto-detalhe-info {
        flex: 0 0 100%;
    }
    
    .produto-detalhe-info {
        padding-left: 0;
        padding-top: 30px;
    }
    
    .footer-logo, .footer-links, .footer-contact {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .menu {
        margin-bottom: 15px;
    }
    
    .categoria-card {
        flex: 0 0 100%;
    }
    
    .checkout-container {
        flex-direction: column;
    }
    
    .checkout-resumo {
        flex: 0 0 100%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-
<!-- Add this CSS to your style.css file -->
<style>
.busca {
    margin: 0 20px;
}

.busca form {
    display: flex;
    align-items: center;
}

.busca input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    width: 200px;
}

.busca button {
    background-color: #3a86ff;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    
    .busca {
        order: 3;
        width: 100%;
        margin: 15px 0 0;
    }
    
    .busca form {
        width: 100%;
    }
    
    .busca input {
        flex: 1;
    }
}

.busca {
    margin: 0 20px;
}

.busca form {
    display: flex;
    align-items: center;
}

.busca input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    width: 200px;
}

.busca button {
    background-color: #3a86ff;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    
    .busca {
        order: 3;
        width: 100%;
        margin: 15px 0 0;
    }
    
    .busca form {
        width: 100%;
    }
    
    .busca input {
        flex: 1;
    }
}