@font-face {
    font-family: Roboto_Mono;
    src: url(../fontes/Roboto_Mono/RobotoMono-VariableFont_wght.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto_Mono', 'Roboto Mono', monospace;
}

body {
    background-color: #fff;
    color: #212529;
}

a {
    text-decoration: none;
    color: inherit;
}

.top-bar {
    background-color: #ba4a1b;
    color: #ffffff;
    text-align: center;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    border-bottom: 1px solid #eeeeee;
    gap: 20px;
    position: sticky;
    top: 0;
    background-color: #ffffff;
    z-index: 1000;
}

.logo-monogram {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.logo-monogram:hover {
    transform: scale(1.03);
}

.logo-circle {
    width: 48px;
    height: 48px;
    background-color: #1a1a1a;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto Mono', monospace;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -1px;
}

.logo-circle .accent {
    color: #c85a32;
}

.logo-text {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 2px;
}

.search-box {
    flex: 1;
    max-width: 500px;
}

.search-box input {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    outline: none;
    font-size: 0.85rem;
}

.search-box input:focus {
    border-color: #ba4a1b;
}

.user-action {
    display: flex;
    gap: 20px;
    align-items: center;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #333;
    font-size: 0.75rem;
    font-weight: 600;
    transition: color 0.2s;
}

.action-item i {
    font-size: 1.2rem;
}

.action-item:hover {
    color: #c85a32;
}

.nav-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 14px 0;
    border-bottom: 1px solid #eeeeee;
    background-color: #fafafa;
}

.nav-bar a {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.nav-bar a:hover {
    color: #ba4a1b;
}

.produto-galeria {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.produto-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.produto-image {
    width: 100%;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #f5f2ed;
    margin-bottom: 12px;
}

.produto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.produto-image img:hover {
    transform: scale(1.06);
}

.produto-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.produto-titulo {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.produto-preco {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
}

.btn-buy {
    width: 100%;
    padding: 10px 15px;
    background-color: #c85a32;
    color: #ffffff;
    border: none;
    font-weight: bold;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-buy:hover {
    background-color: #a04322;
    transform: scale(1.03);
}

.footer {
  background-color: #1a1a1a;
  color: #f5f2ed;
  padding-top: 50px;
  margin-top: 60px;
  border-top: 3px solid #c85a32;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px 20px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
  letter-spacing: 1px;
}

.footer-col p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #cccccc;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.8rem;
  color: #cccccc;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #c85a32;
}

.payment-methods, .social-links {
  display: flex;
  gap: 15px;
  font-size: 1.5rem;
  color: #cccccc;
}

.social-links a {
  color: #cccccc;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  color: #c85a32;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid #333333;
  text-align: center;
  padding: 20px;
  font-size: 0.75rem;
  color: #888888;
}

@media (max-width: 768px) {

    .top-bar {
        font-size: 0.75rem;
        padding: 6px 10px;
    }

    .header-main {
        flex-direction: column;
        padding: 12px 16px;
        gap: 12px;
    }

    .search-box {
        width: 100%;
        max-width: 100%;
    }

    .user-action {
        width: 100%;
        justify-content: space-around;
    }

    .nav-bar {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 10px 16px;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .nav-bar a {
        font-size: 0.8rem;
    }

    .produto-galeria {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
        margin: 20px auto;
    }

    .produto-image {
        height: 320px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .payment-methods, .social-links {
        justify-content: center;
    }
}
