/*CONFIGS*/
@import url("./fonts.css");

* {
  box-sizing: border-box;
  margin: 0;
}

.offsale-top{
  height: 35px;
  font-size: 20px;
  background-color: rgb(0, 0, 0);
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: jaini;
}

header {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  background: linear-gradient(to bottom, #2e0000, #a00000);

  .container-hdr {
    width: 1400px;
    height: 300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .hdr-left-container {
    width: 20%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hdr-middle-container {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    .slogan-box{
      width:100%;
      height: 160px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .search-bar-box{
      width:100%;
      height: 50px;
      display: flex;
      justify-content: center;
      align-items: center;

      .searchBar{
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;

        input{
          width: 100%;
          height: 30px;
          padding: 0 10px;
          border: none;
          outline: none;
          background: #fff;
          color: #111;
          font-size: 14px;
        }

        .search-btn {
          height: 30px;
          width: 42px;
          background-color: #9C0404;
          border: none;
          color: white;
          font-size: 16px;
          cursor: pointer;
          display: flex;
          align-items: center;
          justify-content: center;
          transition: background-color 0.2s;

          &:hover {
            background-color: #db0000;
          }
        }
      }
    }

    .navbar-box{
      width: 100%;
      height: 50px;
      display: flex;
      justify-content: center;

      .nav-links{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;

        ul{
          padding: 0;
          width: 100%;
          display: flex;
          justify-content: space-evenly;
          align-items: center;
          list-style: none;
          color: white;
          font-size: 28px;
          font-family: jaini;
        }
      }
    }

  }

  .hdr-right-container {
    width: 20%;
    height: 100%;
    display: flex;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 50px;

    .right-box{
      width: 100%;
      height: auto;
      display: flex;
      align-items: center;
      justify-content: space-around;
      flex-direction:column;

      .top-interactions{
        width: 100%;
        height: 60px;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .login-btn{
          display: flex;
          justify-content: center;

          button{
            background-color: #9C0404;
            width: 150px;
            height: 40px;
            color: white;
            border: none;
            font-family: jaini;
            font-size: 25px;
            cursor: pointer;
            transition: background-color 0.2s;

            &:hover {
              background-color: #db0000;
            }
          }
        }

        .menu{
          width: 50px;
          height: 50px;
          color: white;
          font-size: 50px;
          cursor: pointer;
        }
      }

      .bottom-interactions{
        width: 100%;
        height: 60px;
        display: flex;
        justify-content: right;
        align-items: center;

        .shop-cart{
          width: 50px;
          height: 50px;
          color: white;
          font-size: 40px;
          display:flex;
          justify-content: center;
          cursor: pointer;
          transition: color 0.2s;

          &:hover {
            color: #ff4444;
          }
        }
      }
    }
  }
}


/*HOVER EFFECTS*/
.nav-links li:hover{
  transform: scale(1.1);
  cursor: pointer;
}

.offsale-top:hover{
  background-color:#db0000;
  color: black;
  cursor: pointer;
  transition-delay: 100ms;
}


/* ===========================
   BANNER SECTION
   =========================== */
.banner-section {
  margin-top: 50px;
  margin-bottom:50px;
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #ffffff;

  .banner-container {
    width: 100%;
    max-width: 1180px;

    img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
    }
  }
}


/* ===========================
   BENEFITS BAR
   =========================== */
.benefits-bar {
  width: 100%;
  background-color: #fff;
  border-bottom: 2px solid #e0e0e0;
  display: flex;
  justify-content: center;
  padding: 18px 0;

  .benefits-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
  }

  .benefit-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    .benefit-icon {
      width: 52px;
      height: 52px;
      background-color: #9C0404;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 26px;
      flex-shrink: 0;
    }

    .benefit-text {
      display: flex;
      flex-direction: column;

      .benefit-title {
        font-family: jaini;
        font-size: 18px;
        color: #111;
        text-transform: uppercase;
        letter-spacing: 0.03em;
      }

      .benefit-sub {
        font-size: 12px;
        color: #666;
        margin-top: 2px;
      }
    }
  }

  .benefit-divider {
    width: 1px;
    height: 50px;
    background-color: #ccc;
    flex-shrink: 0;
  }
}


/* ===========================
   CATEGORIES SECTION
   =========================== */
.categories-section {
  width: 100%;
  background-color: #f4f0f0;
  display: flex;
  justify-content: center;
  padding: 30px 0;

  .categories-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
  }

  .category-card {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    max-width: 380px;
    height: 200px;
    background-color: #1a0000;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.4s ease;
      opacity: 0.85;
    }

    &:hover img {
      transform: scale(1.06);
      opacity: 1;
    }

    .category-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 16px 20px;
      background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
      display: flex;
      flex-direction: column;

      .category-label {
        font-family: jaini;
        font-size: 26px;
        color: white;
        text-transform: uppercase;
        line-height: 1;
      }

      .category-label-accent {
        font-family: jaini;
        font-size: 26px;
        color: #ff2222;
        text-transform: uppercase;
        font-style: italic;
        line-height: 1;
      }
    }
  }
}


/* ===========================
   PRODUCTS SECTION
   =========================== */
.products-section {
  width: 100%;
  background-color: #f4f0f0;
  display: flex;
  justify-content: center;
  padding: 30px 0 10px;

  .products-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  .section-title {
    font-family: jaini;
    font-size: 32px;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    text-align: center;
  }

  .products-grid {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  .product-card {
    width: 190px;
    height: 190px;
    background-color: #fff;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;

    &:hover {
      box-shadow: 0 4px 20px rgba(156, 4, 4, 0.3);
      transform: translateY(-4px);
    }

    .product-img-wrap {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.3s ease;
      }
    }

    &:hover .product-img-wrap img {
      transform: scale(1.08);
    }
  }
}

.culture-section {
  padding-top: 20px;
  padding-bottom: 40px;
}

.ver-mais-box {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;

  .ver-mais-btn {
    font-family: jaini;
    font-size: 22px;
    color: #111;
    background: transparent;
    border: 2px solid #111;
    padding: 10px 60px;
    cursor: pointer;
    letter-spacing: 0.08em;
    transition: background-color 0.2s, color 0.2s;

    &:hover {
      background-color: #9C0404;
      border-color: #9C0404;
      color: white;
    }
  }
}


/* ===========================
   FOOTER
   =========================== */
footer {
  width: 100%;
  background: linear-gradient(to bottom, #1a0000, #0a0000);

  .footer-top {
    display: flex;
    justify-content: center;
    padding: 50px 20px;

    .footer-container {
      width: 100%;
      max-width: 1400px;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 40px;
    }
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;

    img {
      width: 120px;
      height: auto;
    }

    .footer-slogan {
      font-family: jaini;
      font-size: 14px;
      color: #aaa;
      letter-spacing: 0.1em;
    }
  }

  .footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 14px;

    h4 {
      font-family: jaini;
      font-size: 18px;
      color: white;
      letter-spacing: 0.06em;
      border-bottom: 1px solid #9C0404;
      padding-bottom: 8px;
    }

    ul {
      list-style: none;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;

      li {
        font-size: 14px;
        color: #bbb;
        cursor: pointer;
        transition: color 0.2s;

        &:hover {
          color: #ff3333;
        }
      }
    }
  }

  .footer-social {
    display: flex;
    flex-direction: column;
    gap: 14px;

    h4 {
      font-family: jaini;
      font-size: 18px;
      color: white;
      letter-spacing: 0.06em;
      border-bottom: 1px solid #9C0404;
      padding-bottom: 8px;
    }

    .social-icons {
      display: flex;
      gap: 20px;

      a {
        color: #bbb;
        font-size: 28px;
        text-decoration: none;
        transition: color 0.2s;

        &:hover {
          color: #ff3333;
        }
      }
    }

    .footer-handle {
      font-size: 13px;
      color: #888;
    }
  }

  .footer-bottom {
    background-color: #000;
    text-align: center;
    padding: 16px 20px;

    p {
      font-size: 12px;
      color: #ffffff;
    }
  }
}


/* ===========================
   SOBRE NÓS + MAPA
   =========================== */
.sobre-nos-section {
  width: 100%;
  background-color: #111;
  display: flex;
  justify-content: center;
  padding: 60px 20px;

  .sobre-nos-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    gap: 60px;
    align-items: flex-start;
  }

  .sobre-nos-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;

    p {
      font-size: 15px;
      color: #ccc;
      line-height: 1.8;

      strong {
        color: #ff3333;
      }
    }

    .sobre-nos-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 8px;

      span {
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: jaini;
        font-size: 15px;
        color: #eee;
        background-color: #1e1e1e;
        border: 1px solid #9C0404;
        padding: 8px 16px;
        letter-spacing: 0.04em;

        i {
          color: #9C0404;
          font-size: 16px;
        }
      }
    }
  }

  .sobre-nos-map {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;

    .map-wrapper {
      width: 100%;
      border: 2px solid #9C0404;
      overflow: hidden;

      iframe {
        display: block;
        filter: grayscale(30%) contrast(1.05);
      }
    }

    .map-info {
      display: flex;
      flex-direction: column;
      gap: 8px;

      p {
        font-size: 14px;
        color: #bbb;
        display: flex;
        align-items: center;
        gap: 10px;

        i {
          color: #9C0404;
          font-size: 16px;
        }
      }
    }
  }

  .section-title-dark {
    font-family: jaini;
    font-size: 32px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-left: 4px solid #9C0404;
    padding-left: 14px;
  }
}


/* ===========================
   HOME - SESSÕES DINÂMICAS DO DASHBOARD
   =========================== */

#homeSections {
  width: 100%;
  background: #f4f0f0 !important;
}

#homeSections .home-dynamic-section {
  width: 100%;
  background: #f4f0f0;
  padding: 42px 0 28px;
  display: flex;
  justify-content: center;
}

#homeSections .home-dynamic-container {
  width: 100%;
  max-width: 1200px;
  padding: 0 24px;
  margin: 0 auto;
}

#homeSections .home-section-heading {
  text-align: center;
  margin-bottom: 28px;
}

#homeSections .home-section-heading h2 {
  font-family: jaini, Arial, sans-serif;
  font-size: 40px;
  line-height: 0.95;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

#homeSections .home-section-heading p {
  margin: 10px auto 0;
  color: #555;
  font-size: 15px;
  max-width: 620px;
}

#homeSections .home-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 220px));
  justify-content: center;
  gap: 22px;
}

#homeSections .home-product-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid #d8d8d8;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#homeSections .home-product-card:hover {
  transform: translateY(-4px);
  border-color: #9c0404;
  box-shadow: 0 8px 24px rgba(156, 4, 4, 0.16);
}

#homeSections .home-product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
}

#homeSections .home-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#homeSections .home-product-info {
  padding: 14px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#homeSections .home-product-category {
  font-size: 10px;
  color: #9c0404;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

#homeSections .home-product-info h3 {
  margin: 0;
  color: #111;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#homeSections .home-product-info p {
  margin: 0;
  color: #666;
  font-size: 12px;
  line-height: 1.3;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#homeSections .home-product-info strong {
  color: #9c0404;
  font-size: 20px;
  font-weight: 900;
}

#homeSections .home-cart-btn {
  width: 100%;
  border: none;
  background: #9c0404;
  color: #ffffff;
  padding: 11px 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.2s ease, transform 0.2s ease;
}

#homeSections .home-cart-btn:hover {
  background: #c70606;
  transform: translateY(-1px);
}

#homeSections .home-status-msg {
  color: #555;
  text-align: center;
  font-size: 15px;
  padding: 24px 0;
}

#homeSections .home-error-msg {
  color: #9c0404;
}

@media (max-width: 560px) {
  #homeSections .home-dynamic-section {
    padding: 32px 0 22px;
  }

  #homeSections .home-dynamic-container {
    padding: 0 14px;
  }

  #homeSections .home-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  #homeSections .home-section-heading h2 {
    font-size: 32px;
  }

  #homeSections .home-product-info {
    padding: 10px;
  }

  #homeSections .home-product-info h3 {
    font-size: 13px;
  }

  #homeSections .home-product-info strong {
    font-size: 17px;
  }
}

