  :root {
    --primary-orange: #F9B487;
    --primary-blue: #427A76;
    --yellow-star: #ffc107;
    --light-yellow: #FFF7ED;
    --white: #FFFFFF;
    --light-gray: #F8FAFC;
    --medium-gray: #64748B;
    --dark-gray: #334155;
    --price-green: #3c5949;
    --success-green: #10B981;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 25px rgba(0, 0, 0, 0.1);
  --border-radius: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* .containerProdutos{
    background-color: var(--primary-blue);
   
  } */

  .carrossel .product-card,
  .banner-produtos .product-card {
    width: 220px !important;
    flex: 0 0 220px !important;
    margin: 8px !important;
    box-shadow: 0 6px 12px rgba(0,0,0,0.06) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: var(--white) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  
  .carrossel .product-image img,
  .carrossel .product-card img {
    height: 160px !important;
    object-fit: cover !important;
  }

  .carrossel::-webkit-scrollbar { height: 8px; }
  .carrossel::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 8px; }

  .carrossel-container { position: relative; }
  .carrossel-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; background: rgba(255,255,255,0.95); border: none; padding: 8px 10px; border-radius: 6px; box-shadow: 0 6px 12px rgba(0,0,0,0.08); }
  .carrossel-btn.prev { left: 8px; }
  .carrossel-btn.next { right: 8px; }

    .onda-verde {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: visible;
    margin: 0;
    padding: 0;
    display: block;
  }

  .onda-verde svg {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    padding: 0;
  }


  @media (max-width: 768px) {
    .carrossel .product-card { width: 180px !important; flex: 0 0 180px !important; }
    .carrossel .product-image img { height: 130px !important; }
  }

 @keyframes shake {
    0% {
        transform: rotate(5deg);
    }

    25% {
        transform: rotate(-6deg);
    }

    50% {
        transform: rotate(5deg);
    }

    75% {
        transform: rotate(-6deg);
    }

    100% {
        transform: rotate(5deg);
    }
}


  .caminhos{
    font-family: 'Zain';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    color: var(--medium-gray);
   

    margin-left: 15%;
  }

  .rodape {
    background-color: var(--primary-blue);
    color: var(--white);
    height: auto;
    width: 100%;
    font-size: 14px;
    font-family: 'Zain'
  }

  .rodape a {
    text-decoration: none;
    color: var(--white);
  }

  .rodape p {
    margin-bottom: 5px;
  }

  .rodape-div {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: auto;
    align-items: stretch;
    padding: 60px 10px 40px 10px;
  }

  .rodape-div-1,
  .rodape-div-2,
  .rodape-div-3,
  .rodape-div-4 {
    display: flex;
    width: calc(100% / 4 - 20px);
    padding: 10px;
  }

  .rodape span {
    font-size: 20px;
    color: var(--white);
  }

  @media (max-width: 768px) {

    .rodape-div-1,
    .rodape-div-2,
    .rodape-div-3,
    .rodape-div-4 {
      width: calc(50% - 20px);
      padding: 10px;
    }

    .rodape-div {
      padding: 60px 0px 40px 0px;
    }
  }

  

  

  .hero-banner {
    /* background: linear-gradient(135deg, var(--light-gray) 0%, #E0F2FE 100%); */
    padding: 80px 0;
    overflow: hidden;
  }

  .hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .hero-text h1 {
    font-size: 4.0rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 24px;
    font-family: 'Zain';

    font-style: normal;

    font-weight: 500;
  }

  .hero-text p {
    font-size: 2.0rem;
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 32px;
    font-family: 'Zain';

    font-style: normal;

    font-weight: 500;
  }

  .hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .eco-illustration {
    position: relative;
    width: 300px;
    height: 300px;
  }

  .earth-globe {
    width: 250px;
    height: 250px;
    /* background: linear-gradient(135deg, #059669, #10B981); */
    border-radius: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(var(--shadow-heavy));
    animation: float 3s ease-in-out infinite;
  }

  .earth-globe img {
    width: 110%;
    height: 110%;
    position: absolute;
    border-radius: 100%;
  }

   /* .earth-globe::before {
    content: '🌍'; 
    font-size: 80px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}  */
   
    @media (max-width: 1200px) {
      .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .hero-image {
        order: -1;
        margin-bottom: 20px;
      }

      .nav {
        padding: 8px 12px;
      }
    }

    @media (max-width: 992px) {
      .products-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .product-card img {
        width: 100%;
        height: auto;
        object-fit: cover;
      }

      .banner-layout {
        display: block;
      }

      .banner-principal, .banners-menores {
        width: 100%;
      }
    }

    @media (max-width: 768px) {
      .nav { flex-wrap: wrap; gap: 8px; }
      .navlogo img { max-height: 48px; }

      .explore-layout { gap: 12px; }

      .hero-text h1 { font-size: 2rem; }
      .hero-text p { font-size: 1rem; }

      .products-grid { grid-template-columns: 1fr; }

      .rodape-div-1, .rodape-div-2, .rodape-div-3, .rodape-div-4 { width: 100%; }
    }

    @media (max-width: 480px) {
      .hero-text h1 { font-size: 1.6rem; }
      .hero-text p { font-size: 0.95rem; }
      .navlogo img { max-height: 40px; }
      .form-pesquisa { width: 100%; }
      .navbar-pesquisa { order: 2; width: 100%; margin: 8px 0; }
    }

    .product-card {
      border-radius: 0;
      overflow: hidden;
      background: #fff;
      box-shadow: var(--shadow-light);
    }
    .product-image img { width: 100%; height: 180px; object-fit: cover; display:block; }
    .product-info { padding: 10px; }

    button, .btn { cursor: pointer; }
    input[type="text"], input[type="number"], select { max-width: 100%; box-sizing: border-box; }

    .offcanvas { max-width: 100%; }

.offcanvas {
  position: fixed !important;
  z-index: 2000 !important;
}

.offcanvas {
  top: 0 !important;
  height: 100vh !important;
  overflow-y: auto !important;
}

.offcanvas.offcanvas-start,
.offcanvas.offcanvas-end {
  width: 340px;
  max-width: 80%;
}
/* Offcanvas - ajustar tipografia e componentes para combinar com o site */
.offcanvas .offcanvas-header,
.offcanvas .offcanvas-body {
  font-family: 'Zain', sans-serif;
  color: var(--primary-blue);
}

.offcanvas .offcanvas-title {
  font-family: 'Zain', sans-serif;
  font-weight: 600;
  color: var(--primary-blue);
  font-size: 1.05rem;
}

.offcanvas.cinza {
  background-color: var(--light-gray);
}

.offcanvas .cadastro-caixa {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 4px;
  font-family: 'Zain', sans-serif;
  font-size: 0.95rem;
  color: var(--primary-blue);
  box-shadow: none;
  box-sizing: border-box;
}

.offcanvas .offcanvas-body label {
  font-family: 'Zain', sans-serif;
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 6px;
  display: inline-block;
}

.offcanvas .btn.btn-primary {
  background: var(--primary-orange);
  border: none;
  padding: 10px 14px;
  font-family: 'Zain', sans-serif;
  font-weight: 600;
  border-radius: 4px;
}

.offcanvas .btn.btn-primary:hover {
  background: var(--primary-blue);
}

.offcanvas a { color: var(--primary-blue); font-family: 'Zain', sans-serif; }

.offcanvas .offcanvas-body h5 {
  font-family: 'Zain', sans-serif;
  font-weight: 500;
  color: var(--medium-gray);
}

#favoritosContainer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#favoritosContainer p {
  margin: 0;
  color: var(--medium-gray);
  font-family: 'Zain', sans-serif;
}

.produto-favorito {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 6px 0;
}

.produto-favorito img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.produto-favorito strong {
  display: block;
  font-family: 'Zain', sans-serif;
  font-weight: 600;
  color: var(--primary-blue);
}

.produto-favorito span {
  font-family: 'Zain', sans-serif;
  color: var(--price-green);
  font-weight: 600;
}

.produto-favorito .btn {
  margin-left: auto;
  font-family: 'Zain', sans-serif;
}

.offcanvas hr,
.filtros-lateral hr { display: none; }
    .eco-illustration { width: 70%; max-width: 420px; height: auto; }

    img { max-width: 100%; height: auto; }
  .leaf-3,
  /* Product card styles to harmonize banner and carousel cards */
  .produto-card,
  .card-produto {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    font-family: 'Zain', sans-serif;
  }

  .produto-card .produto-img,
  .card-produto img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
  }

  /* Banner and carousel layout tweaks to ensure cards look consistent */
  .banner-produtos .produto-card {
    width: 260px;
    margin: 8px;
    flex: 0 0 260px;
  }

  .carrossel {
    display: flex;
    gap: 18px;
    align-items: stretch;
    padding: 12px 8px;
    overflow-x: auto;
  }

  .carrossel .card-produto {
    width: 220px;
    flex: 0 0 220px;
    margin-right: 6px;
  }

  .carrossel .product-card {
    width: 220px;
    flex: 0 0 220px;
    margin-right: 6px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.06);
    border-radius: 6px;
    overflow: hidden;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .product-image img { width:100%; height:160px; object-fit:cover; display:block; }
  .product-info { padding:12px; text-align:left; }
  .product-name { font-size:1rem; color:var(--primary-blue); margin:0 0 8px 0; font-weight:600; }
  .product-price { color:var(--price-green); font-weight:700; margin-bottom:8px; }
  .product-actions { display:flex; gap:8px; }
  .btn-primary { background:var(--primary-orange); color:var(--white); padding:8px 10px; border-radius:6px; text-decoration:none; font-weight:600; }
  .btn-primary:hover { background:var(--primary-blue); }

  .btn-visitar {
    background: var(--primary-orange);
    color: var(--white);
    padding: 8px 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
  }

  .btn-visitar:hover { background: var(--primary-blue); }

  .produto-card h3,
  .card-produto h3 {
    font-size: 1.05rem;
    color: var(--primary-blue);
    margin: 12px;
    font-weight: 600;
  }

  .produto-card .slogan {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin: 0 12px 12px 12px;
  }

  .produto-card .card-info,
  .card-produto .card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-top: 1px solid rgba(0,0,0,0.04);
  }

  .preco-atual {
    font-size: 1.05rem;
    color: var(--price-green);
    font-weight: 700;
  }

  .promo-badge,
  .preco-antigo,
  .preco-promo {
    display: none !important;
  }

  @media (max-width: 768px) {
    .produto-card .produto-img,
    .card-produto img { height: 140px; }
    .produto-card h3, .card-produto h3 { font-size: 0.95rem; }
  }
  .leaf-4,
  .leaf-5 {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--primary-orange);
    border-radius: 0 100% 0 100%;
    animation: rotate-around 5s linear infinite;
  }

  .leaf-1 {
    top: 20px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    animation-delay: 0s;
  }

  .leaf-2 {
    top: 50%;
    right: 20px;
    transform: translateY(-50%) rotate(120deg);
    animation-delay: -2.67s;
  }

  .leaf-3 {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    animation-delay: -2s;
  }

  .leaf-4 {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    animation-delay: -8.00s;
  }

  .leaf-5 {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) rotate(-360deg);
    animation-delay: -10.67s;
  }

  @keyframes float {

    0%,
    100% {
      transform: translate(-50%, -50%) translateY(0);
    }

    50% {
      transform: translate(-50%, -50%) translateY(-10px);
    }
  }

  @keyframes rotate-around {
    0% {
      transform: translateX(-50%) rotate(0deg) translateX(120px) rotate(0deg);
    }

    100% {
      transform: translateX(-50%) rotate(360deg) translateX(120px) rotate(-360deg);
    }
  }

  .nav-off-botoes {

    flex: 1;
    padding: 10px;
    border: none;
    margin-bottom: 2px;
    cursor: pointer;
    font-weight: 500;
   
    text-decoration: none;
    text-align: center;
    

    background: rgba(221, 221, 221, 0.233);
    color: rgb(0, 0, 0);
  }

  /* .nav-off-botoes:hover {
    background: rgba(207, 105, 37, 0.233);
    color: rgb(0, 0, 0);
  } */

  .navbar-pesquisa {
    flex: 1;
    max-width: 600px;
    margin: 0 1rem;
    min-width: 250px;
    
  }

  .form-pesquisa {
    display: flex;
    overflow: hidden;
    border: 2px solid var(--primary-blue);
    border-radius: var(--border-radius);
    height: 44px;
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
  }

  .form-pesquisa:focus-within {
    border-color: var(--primary-orange);
    /* box-shadow: 0 6px 20px rgba(255, 107, 0, 0.12); */
    transform: translateY(-2px);
  }

  .form-pesquisa input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.95rem;
    font-family: 'Zain', sans-serif;
    color: var(--primary-blue);
  }

  .form-pesquisa input::placeholder {
    color: var(--medium-gray);
    font-weight: 400;
  }

  .form-pesquisa button {
    padding: 0 18px;
    background: var(--white);
    color: var(--primary-blue);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .form-pesquisa button:hover {
    color: var(--primary-orange)
  }

  .form-pesquisa button:active {
    transform: scale(0.95);
  }


  /* navbar */
  .nav-cima {
    background-color: var(--primary-blue);
    width: 100%;
    height: 4vh;
    z-index: 3;
  }

  .nav {
    display: flex;
       backdrop-filter: blur(8px);
background-color: rgba(255, 255, 255, 0.8);
    height: 50%;
    align-items: center;
    justify-content: center;
    gap: 1vw;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5);

  }

/* .offcanvas {
  position: fixed !important;
  z-index: 2000 !important; 
} */

  .icon-logar {
    margin-left: -18px;
    margin-top: 9px;
  }

  .txt-welcome {
    text-align: left;
    color: var(--primary-blue);
    font-family: 'Zain';
    font-style: normal;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    margin: 0 8px;
    letter-spacing: 0.3px;
  }

  .txt-logar {
    text-align: left;
    color: var(--primary-blue);
    font-family: 'Zain';
    font-style: normal;
    font-weight: 700;
    font-size: 1rem;
  }

  .icon-fav {
    margin-top: 0;
    cursor: pointer;
  }

  .icone {
    font-size: 1.6rem;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
  }

  .icone:hover {
    transform: scale(1.15) translateY(-4px);
    color: var(--primary-orange);
    filter: drop-shadow(0 4px 12px rgba(255, 107, 0, 0.25));
  }

  .icone:active {
    transform: scale(0.95);
  }

  .navlink {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: 8px;
  }

  .navlink a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: var(--primary-blue);
    transition: var(--transition);
    position: relative;
  }

  .navlink a:hover {
    color: var(--primary-orange);
    transform: scale(1.1);
  }

  .navlink i {
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
  }

  .navlink a:hover i {
    filter: drop-shadow(0 4px 12px rgba(255, 107, 0, 0.25));
  }

  /* Account Dropdown Menu */
  .account-menu-trigger {
    position: relative;
    z-index: 1001;
  }

  .account-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    display: none;
    flex-direction: column;
    z-index: 1000;
    margin-top: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
  }

  .account-dropdown.active {
    display: flex;
  }

  .account-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    text-decoration: none;
    color: var(--primary-blue);
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-weight: 500;
    font-size: 0.95rem;
  }

  .account-dropdown-item:last-child {
    border-bottom: none;
  }

  .account-dropdown-item:hover {
    background-color: rgba(248, 180, 135, 0.15);
    color: var(--primary-orange);
  }

  .account-dropdown-item i {
    font-size: 1.2rem;
    color: var(--primary-orange);
  }

  
  .login-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
  }

  .login-modal-backdrop.active {
    display: block;
  }

  .login-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    display: none;
    z-index: 2001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
  }

  .login-modal.active {
    display: block;
  }

  @keyframes slideUp {
    from {
      transform: translate(-50%, -40%);
      opacity: 0;
    }
    to {
      transform: translate(-50%, -50%);
      opacity: 1;
    }
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 0.5;
    }
  }

  .login-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary-blue);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }

  .login-modal-close:hover {
    color: var(--primary-orange);
    transform: rotate(90deg);
  }

  .login-modal-title {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    font-family: 'Zain', sans-serif;
  }

  .login-modal-divider {
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange) 0%, rgba(248, 180, 135, 0.2) 100%);
    margin: 20px 0;
  }

  .login-modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .login-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .login-form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
    font-family: 'Zain', sans-serif;
  }

  .login-form-input {
    padding: 12px 14px;
    border: 2px solid rgba(66, 122, 118, 0.2);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Zain', sans-serif;
    transition: all 0.3s ease;
  }

  .login-form-input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(248, 180, 135, 0.1);
  }

  .login-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
  }

  .login-password-wrapper .login-form-input {
    padding-right: 40px;
    flex: 1;
  }

  .login-password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-blue);
    font-size: 1.2rem;
    transition: all 0.2s ease;
  }

  .login-password-toggle:hover {
    color: var(--primary-orange);
  }

  .login-submit-btn {
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c42 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Zain', sans-serif;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(248, 180, 135, 0.3);
  }

  .login-submit-btn:active {
    transform: translateY(0);
  }

  .login-modal-footer {
    text-align: center;
    color: var(--medium-gray);
    font-size: 0.9rem;
    font-family: 'Zain', sans-serif;
  }

  .login-register-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
    margin-left: 4px;
  }

  .login-register-link:hover {
    color: var(--primary-orange);
    text-decoration: underline;
  }

 
  .register-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
  }

  .register-modal-backdrop.active {
    display: block;
  }

  .register-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    max-width: 700px;
    width: 90%;
    display: none;
    z-index: 2001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    max-height: 85vh;
    overflow-y: auto;
  }

  .register-modal.active {
    display: block;
  }

  .register-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary-blue);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }

  .register-modal-close:hover {
    color: var(--primary-orange);
    transform: rotate(90deg);
  }

  .register-modal-title {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    font-family: 'Zain', sans-serif;
  }

  .register-modal-divider {
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange) 0%, rgba(248, 180, 135, 0.2) 100%);
    margin: 20px 0;
  }

  .register-modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .register-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .register-form-row.full {
    grid-template-columns: 1fr;
  }

  .register-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .register-form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
    font-family: 'Zain', sans-serif;
  }

  .register-form-input,
  .register-form-select {
    padding: 12px 14px;
    border: 2px solid rgba(66, 122, 118, 0.2);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Zain', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--primary-blue);
  }

  .register-form-input:focus,
  .register-form-select:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(248, 180, 135, 0.1);
  }

  .register-form-input::placeholder {
    color: var(--medium-gray);
  }

  .register-form-select option {
    color: var(--primary-blue);
  }

  .register-form-hint {
    font-size: 0.8rem;
    color: var(--medium-gray);
    font-family: 'Zain', sans-serif;
    margin-top: 2px;
  }

  .register-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
  }

  .register-password-wrapper .register-form-input {
    padding-right: 40px;
    flex: 1;
  }

  .register-password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-blue);
    font-size: 1.2rem;
    transition: all 0.2s ease;
  }

  .register-password-toggle:hover {
    color: var(--primary-orange);
  }

  .register-form-checkbox {
    gap: 8px;
  }

  .register-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--primary-blue);
    font-family: 'Zain', sans-serif;
  }

  .register-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-orange);
  }

  .register-checkbox-label span {
    line-height: 1.4;
  }

  .register-submit-btn {
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c42 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Zain', sans-serif;
    margin-top: 8px;
  }

  .register-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(248, 180, 135, 0.3);
  }

  .register-submit-btn:active {
    transform: translateY(0);
  }

  .register-modal-footer {
    text-align: center;
    color: var(--medium-gray);
    font-size: 0.9rem;
    font-family: 'Zain', sans-serif;
  }

  .register-login-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
    margin-left: 4px;
    cursor: pointer;
  }

  .register-login-link:hover {
    color: var(--primary-orange);
    text-decoration: underline;
  }

  
  .success-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
  }

  .success-modal-backdrop.active {
    display: block;
  }

  .success-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    border-radius: 16px;
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
    display: none;
    z-index: 2001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    text-align: center;
  }

  .success-modal.active {
    display: block;
  }

  .success-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .success-modal-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
    animation: scaleIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  @keyframes scaleIn {
    0% {
      transform: scale(0);
      opacity: 0;
    }
    50% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  .success-modal-title {
    color: var(--primary-blue);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Zain', sans-serif;
  }

  .success-modal-message {
    color: var(--medium-gray);
    font-size: 1rem;
    margin: 0;
    font-family: 'Zain', sans-serif;
    line-height: 1.5;
  }

  .success-modal-btn {
    padding: 14px 32px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Zain', sans-serif;
    margin-top: 12px;
    min-width: 200px;
  }

  .success-modal-btn:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(248, 180, 135, 0.3);
  }

  .success-modal-btn:active {
    transform: translateY(0);
  }

  .badge-contador {
    animation: popBadge 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  @keyframes popBadge {
    0% {
      transform: scale(0.5);
      opacity: 0;
    }
    50% {
      transform: scale(1.3);
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  .cinza {
    background-color: var(--light-gray);

  }

  .branco {
    color: var(--light-gray);

  }

  .navcategoria {
    display: flex;
    /* background-color: var(--white); */
     background-color: var(--primary-blue);

    color: var(--primary-blue);
   

    gap: 0;
    height: auto;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    /* border-bottom: 2px solid var(--light-gray); */
    box-shadow: var(--shadow-light);
    flex-wrap: wrap;
    font-family: 'Zain', sans-serif;
  }

  .navlogo {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: var(--transition);
  }

  .navlogo a {
    display: flex;
    align-items: center;
    text-decoration: none;
  }

  .navlogo img {
    transition: var(--transition);
    /* filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05)); */
  }

  .navlogo:hover img {
    /* filter: drop-shadow(0 4px 12px rgba(255, 107, 0, 0.2)); */
    transform: scale(1.02);
  }

  @media (max-width: 1200px) {
    .nav {
      gap: 1vw;
      padding: 10px 15px;
      min-height: 65px;
    }

    .navbar-pesquisa {
      max-width: 400px;
      margin: 0 0.5rem;
    }

    .navlogo img {
      width: 16vw;
      height: 12vh;
    }

    .txt-welcome {
      font-size: 0.85rem;
    }
  }

  @media (max-width: 1024px) {
    .nav {
      gap: 0.8vw;
    }

    .navbar-pesquisa {
      max-width: 350px;
    }

    .navlogo img {
      width: 15vw;
      height: 11vh;
    }

    .icone {
      font-size: 1.4rem;
    }

    .txt-welcome {
      display: none;
    }

    .account-dropdown {
      right: -20px;
    }
  }

  @media (max-width: 768px) {
    .navlogo {
      display: none;
    }

    .navbar-pesquisa {
      display: none;
    }

    .txt-welcome {
      display: none;
    }

    .account-dropdown {
      display: none !important;
    }
  }

  @media (max-width: 480px) {
    .login-modal {
      width: 95% !important;
      padding: 30px 20px !important;
      max-width: 100% !important;
    }

    .login-modal-title {
      font-size: 1.4rem;
    }

    .login-form-input {
      padding: 10px 12px;
      font-size: 0.9rem;
    }

    .login-submit-btn {
      padding: 12px 16px;
      font-size: 0.9rem;
    }

    .login-modal-footer {
      font-size: 0.85rem;
    }

    .register-modal {
      width: 95% !important;
      padding: 25px 16px !important;
      max-width: 100% !important;
    }

    .register-modal-title {
      font-size: 1.4rem;
    }

    .register-form-row {
      grid-template-columns: 1fr;
    }

    .register-form-input,
    .register-form-select {
      padding: 10px 12px;
      font-size: 0.9rem;
    }

    .register-submit-btn {
      padding: 12px 16px;
      font-size: 0.9rem;
    }

    .register-modal-footer {
      font-size: 0.85rem;
    }

    .register-form-label {
      font-size: 0.85rem;
    }

    .register-checkbox-label {
      font-size: 0.8rem;
    }

    .success-modal {
      width: 95% !important;
      padding: 40px 20px !important;
      max-width: 100% !important;
    }

    .success-modal-icon {
      width: 70px;
      height: 70px;
      font-size: 35px;
    }

    .success-modal-title {
      font-size: 1.3rem;
    }

    .success-modal-message {
      font-size: 0.95rem;
    }

    .success-modal-btn {
      padding: 12px 24px;
      font-size: 0.9rem;
      min-width: 150px;
    }
  }

  @media (max-width: 480px) {
    .navlogo {
      display: none;
    }

    .txt-welcome {
      display: none;
    }

    .icone-home {
      display: block;
    }

    .txt-logar {
      display: none;
    }
  }

  .navlogo img:hover {
    /* animation: shake 0.6s; */
  }

  .navlinkcategoria {
    font-family: 'Zain';
    font-style: normal;
    font-weight: 500;
    font-optical-sizing: auto;
    color: white;
    font-size: 1rem;
    transition: var(--transition);
    padding: 18px 24px;
    position: relative;
    cursor: pointer;
    text-align: center;
    /* border-right: 1px solid var(--light-gray); */
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 auto;
  }

  .navlinkcategoria:last-of-type {
    border-right: none;
  }

  .navlinkcategoria:hover {
    cursor: pointer;
    /* background-color: var(--primary-orange); */
    color: var(--primary-orange)
  }

  .navlinkcategoria a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    letter-spacing: 0.3px;
  }

  .navlinkcategoria a:hover {
    color: inherit;
  }

  .navlinkcategoria::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    cursor: pointer;
    background-color: var(--primary-orange);
    color: white;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  }

  .navlinkcategoria:hover::after {
    width: 100%;
  }

  
  @media (max-width: 1024px) {
    .navcategoria {
      min-height: 55px;
    }

    .navlinkcategoria {
      padding: 16px 18px;
      font-size: 0.95rem;
    }

    .dropbtn {
      padding: 16px 18px;
      font-size: 0.95rem;
    }
  }

  @media (max-width: 768px) {
    .navcategoria {
      display: none !important;
    }
  }

  @media (max-width: 480px) {
    .navcategoria {
      display: none !important;
    }
  }

  .icone:hover {
    cursor: pointer;
    transform: translateY(-5px);

  }

  .icone {

    font-size: 1.6rem;
  }

  .icone-home {
    font-size: 1.6rem;
    display: none;
    transition: var(--transition);
  }

  .icone-home:hover {
    transform: scale(1.15) translateY(-4px);
    color: var(--primary-orange);
    filter: drop-shadow(0 4px 12px rgba(255, 107, 0, 0.25));
  }

  .navlogo img {
    object-fit: contain;
    width: 18vw;
    height: 13vh;
    padding: 2px;
  }

  .navlink img {
    object-fit: contain;
    width: 6vw;
    height: 6vh;
  }

  .nav-offcanvas-texto {

    font-family: 'Zain';
    font-style: normal;
    font-weight: 600;
    font-optical-sizing: auto;

  }

  .navpesquisa {
    /* background-color: #f2f2f2; */
    background-color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
    color: var(--light-gray) !important;
    color: var(--primary-blue);
    width: 50vw;
    padding: 1%;
    font-family: 'Zain';
    font-style: normal;
    font-weight: 600;
    font-optical-sizing: auto;
  }

  .dropbtn {
    font-family: 'Zain';
    font-style: normal;
    font-weight: 500;
    font-optical-sizing: auto;
    color: white;
    border: none;
    background: none;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    transition: var(--transition);
    letter-spacing: 0.3px;
  }

  .dropbtn:hover {
    color: var(--primary-orange);
  }

  .dropbtn::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 6px;
    transition: var(--transition);
  }

  .dropdown {
    position: relative;
    display: inline-block;
    /* border-right: 1px solid var(--light-gray); */
  }
  .dropdown:hover .dropbtn::after {
    transform: rotate(180deg);
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 280px;
    box-shadow: 0 10px 30px rgba(48, 66, 105, 0.15);
    border: 1px solid var(--primary-orange);
    z-index: 1000;
    border-radius: 15px;
    top: 100%;
    left: 0;
    margin-top: 0;
    padding: 8px 0;
    animation: slideDownDropdown 0.3s ease-out;
  }

  @keyframes slideDownDropdown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    color: var(--primary-blue);
    padding: 12px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Zain';
    font-style: normal;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    border-left: 4px solid transparent;
    position: relative;
  }

  .dropdown-content a::before {
    content: '→';
    font-size: 0.8rem;
    opacity: 0;
    transition: var(--transition);
  }

  .dropdown-content a:hover {
    background-color: var(--primary-orange);
    color: white;
    border-left-color: var(--primary-orange);
    padding-left: 24px;
  }

  .dropdown-content a:hover::before {
    opacity: 1;
  }

  .titulo-secao {
    font-family: 'Zain';
    font-weight: 400;
    font-style: normal;
    color:#174143;
    font-size: 6vh;
    padding: 3vh;
  }

  @media (max-width: 768px) {
    .titulo-secao {
      font-size: 6vw;
      color: var(--primary-blue);
    }
  }

  @media (max-width: 480px) {
    .titulo-secao {
      font-size: 6vw;
      color: var(--primary-blue);
    }
  }

  /* corpo */

  .container-destaques {
    padding: 7vw;
    padding-top: 0%;
    padding-bottom: 1%;
  }

  .container {
    background-color: #ffffff;
    height: 120%;
    justify-content: center;
    margin-top: 40px;
    padding-top: 20px;
    /* border-radius: 15px; */
    display: flex;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
  }


  @media (max-width: 1024px) {
    .container {
      flex-wrap: wrap;
    }
  }

  @media (max-width: 768px) {
    .container {
      flex-wrap: wrap;
      background-color: #ebebeb;
    }
  }

  @media (max-width: 480px) {
    .container {
      flex-wrap: wrap;
      background-color: #ddd;
    }

  }


  body {
    background-color: #f2f2f2;
  }

  .product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;

  }

  .product-card {
    font-family: 'Zain';
    font-style: normal;
    font-weight: 600;
    font-optical-sizing: auto;
    background-color: var(--white);
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
    margin-bottom: 20px;
    flex: 1;
    border-radius: var(--border-radius);
  }


  /* Ajustes para telas médias (tablets) */
  @media (max-width: 1024px) {
    .product-card {
      flex: 1 1 calc(50% - 20px);
      /* Ajusta para 2 cards por linha */
    }
  }

  /* Ajustes para telas pequenas (celulares) */
  @media (max-width: 768px) {
    .product-card {
      flex: 1 1 calc(50% - 20px);
      /* Ajusta para 2 cards por linha */
    }
  }

  /* Ajustes para telas muito pequenas */
  @media (max-width: 480px) {
    .product-card {
      flex: 1 1 30%;
      /* 1 card por linha */
    }
  }

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


  .product-info {
    padding: 15px;
    text-align: center;
  }

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

  .price {
    font-size: 16px;
    color: var(--price-green);
    font-weight: bold;
  }


  .product-card:hover {
    transform: translateY(-10px);
  }


  /* banners */
  .banner-layout {
    display: flex;
    flex-wrap: wrap;
    height: 70vh;
    /* Mantém a altura do contêiner como 70% da altura da tela */
    padding: 5%;
  }

  /* Banner principal */
  .banner-principal {
    flex: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    /* A altura será 100% da altura do contêiner pai */
    overflow: hidden;
  }

  .banner-imagem-principal {
    width: 100%;
    height: 100%;
    /* A imagem ocupa toda a altura do banner principal */
    object-fit: cover;
  }

  /* Banners menores */
  .banners-menores {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-left: 2%;
    gap: 2%;
    overflow: hidden;
  }

  /* Banner superior e inferior */
  .banner-superior,
  .banner-inferior {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--light-gray);
    overflow: hidden;
  }

  .banner-imagem-menor {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Responsividade */
  @media (max-width: 768px) {
    .banner-layout {
      flex-direction: column;
      height: auto;
      /* Ajuste a altura automaticamente para telas pequenas */
    }

    .banners-menores {
      display: none;
      /* Esconde os banners menores em telas pequenas */
    }

    .banner-principal {
      height: 30vh;
      /* Em telas menores, o banner principal ocupa 30% da altura */
    }

    .banner-imagem-principal {
      height: 30vh;
    }
  }



  /* seção explorar */




  .explorar-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }



  .lista-produtos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
  }


  .item-produto {
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 200px;
    padding: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Zain';
    font-style: normal;
    font-weight: 600;

  }

  .item-produto:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
  }

  .item-produto img {
    width: 100%;
    height: auto;

  }

  .item-produto h3 {
    font-size: 1.2rem;
    margin: 10px 0;
  }

  .item-produto p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
  }

  .item-produto button {
    background-color: #007bff;
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;

  }

  .item-produto button:hover {
    background-color: #0056b3;
  }


  @media (max-width: 768px) {
    .lista-produtos {
      justify-content: center;
    }

    .item-produto {
      width: 45%;
    }
  }

  @media (max-width: 480px) {
    .item-produto {
      width: 40%;
    }
  }


  .produtos-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;

  }

  .slider-container {
    width: 80%;
    overflow: hidden;
    position: relative;
  }

  .cards-list {
    display: flex;

  }

  .item-card {

    margin: 10px;

    font-optical-sizing: auto;
    text-align: center;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);


  }

  .item-card img {
    width: 100%;
    height: auto;

  }

  .item-card h3 {
    font-size: 22px;
    margin-top: 10px;
    font-family: "Zain", sans-serif;

    font-style: normal;
    color: black;
    font-weight: 300;
    font-optical-sizing: auto;
  }



  .slider-container::before,
  .slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;

    z-index: 1;
  }

  .slider-container::before {
    left: 0;
  }

  .slider-container::after {
    right: 0;
  }


  .prev-btn,
  .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-orange);
    color: white;
    font-size: 24px;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 2;

  }

  .prev-btn {
    left: 10px;
  }

  .next-btn {
    right: 10px;
  }

  .prev-btn:hover,
  .next-btn:hover {
    background: var(--primary-blue);
  }


  .item-card.active {
    transform: scale(1);
  }

  .pagina-buscar {
    padding: 2rem 0;
    min-height: 80vh;
  }

  .buscar-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
  }

.filters-form {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  background: transparent;
  padding: 12px;
  border: none;
  box-shadow: none;
  border-radius: 6px;
  font-family: 'Zain', sans-serif;
}

.filters-form label,
.filters-form .filter-label {
  font-family: 'Zain', sans-serif;
  font-weight: 600;
  color: var(--primary-blue);
  margin-right: 6px;
}

.filters-form input[type="text"],
.filters-form select,
.filters-form input[type="number"] {
  padding: 8px 10px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 4px;
  font-family: 'Zain', sans-serif;
  color: var(--primary-blue);
  min-width: 140px;
}

.filters-form .btn.btn-primary {
  background: var(--primary-orange);
  border: none;
  padding: 9px 14px;
  font-family: 'Zain', sans-serif;
  font-weight: 600;
}

.filters-form .btn.btn-primary:hover { background: var(--primary-blue); }

/* Sidebar filtros */
.filtros-lateral {
  background: transparent;
  padding: 18px;
  border-radius: 8px;
  border: none;
  box-shadow: none;
  font-family: 'Zain', sans-serif;
  color: var(--primary-blue);
}

.filtros-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.filtros-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.limpar-filtros {
  background: none;
  border: none;
  color: var(--primary-orange);
  cursor: pointer;
  font-family: 'Zain', sans-serif;
  font-weight: 600;
  text-decoration: underline;
}

.filtro-grupo {
  margin-bottom: 14px;
}

.filtro-grupo h4 {
  margin: 0 0 8px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-blue);
}

.filtro-grupo label {
  display: block;
  margin-bottom: 8px;
  font-family: 'Zain', sans-serif;
  color: var(--medium-gray);
}

.preco-range input[type="range"] {
  height: 6px;
  background: linear-gradient(90deg, var(--primary-orange), var(--primary-blue));
}

.preco-range input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  background: var(--primary-orange);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.filtros-ativos { gap: 8px; }
.filtro-ativo {
  background: rgba(255,107,0,0.12);
  color: var(--primary-orange);
  padding: 6px 10px;
  border-radius: 20px;
  font-family: 'Zain', sans-serif;
  font-weight: 600;
}

.btn-filtros-mobile {
  display: none; 
  background: var(--primary-orange);
  color: #fff;
  border: none;
  padding: 10px 12px;
  border-radius: 6px;
  font-family: 'Zain', sans-serif;
  font-weight: 700;
}

@media (max-width: 768px) {
  .btn-filtros-mobile { display: inline-flex; }
  .filters-form { padding: 10px; }
}

/* Pequenos ajustes para consistência visual */
.filters-form .form-control:focus, .filtros-lateral input:focus, .filters-form select:focus {
  outline: none;
  box-shadow: 0 6px 18px rgba(48,66,105,0.08);
  border-color: var(--primary-orange);
}

  .filtros-lateral {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 140px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
  }

  .filtros-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
  }

  .filtros-header h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
  }

  .limpar-filtros {
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
  }

  .filtro-grupo {
    margin-bottom: 2rem;
  }

  .filtro-grupo h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
  }

  /* Filtro Preço */
  .preco-range {
    position: relative;
  }

  .preco-range input[type="range"] {
    width: 100%;
    margin: 10px 0;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 0;
    background: var(--border-light);
    outline: none;
  }

  .preco-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: var(--border-radius);
    background: var(--accent-color);
    cursor: pointer;
    border: 2px solid var(--white);
    box-shadow: var(--shadow);
  }

  .preco-range input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: var(--border-radius);
    background: var(--accent-color);
    cursor: pointer;
    border: 2px solid var(--white);
    box-shadow: var(--shadow);
  }

  .preco-valores {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
  }


  .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  .checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: var(--transition);
  }

  .checkbox-group label:hover {
    color: var(--primary-color);
  }

  .checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    accent-color: var(--accent-color);
  }


  .rating-filter {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  .rating-filter label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: var(--border-radius);
  }

  .rating-filter label:hover {
    background: var(--background-light);
    color: var(--primary-color);
  }

  .rating-filter .stars {
    color: var(--yellow-star);
    margin-right: 8px;
    font-size: 1rem;
  }

  /* Área Principal */
  .resultados-area {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
  }

  .buscar-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
  }

  .buscar-info h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .buscar-info p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
  }

  .resultados-count {
    font-size: 0.9rem;
    color: var(--text-light);
  }

  .buscar-ordenacao select {
    padding: 10px 15px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    background: var(--white);
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
  }

  .buscar-ordenacao select:focus {
    border-color: var(--accent-color);
  }

  /* Filtros Ativos */
  .filtros-ativos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .filtro-ativo {
    display: flex;
    align-items: center;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 0;
    font-size: 0.8rem;
    gap: 0.5rem;
  }

  .filtro-ativo button {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
  }


  .produtos-resultados {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .produto-card-busca {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
  }

  .produto-card-busca:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
  }

  .produto-card-busca .produto-imagem {
    position: relative;
    overflow: hidden;
  }

  .produto-card-busca .produto-imagem img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
  }

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

  .desconto-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--error-color);
    color: var(--white);
    padding: 4px 8px;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 600;
  }

  .produto-card-busca .btn-favorito {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--white);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
  }

  .produto-card-busca .btn-favorito:hover {
    background: var(--error-color);
    color: var(--white);
  }

  .produto-card-busca .produto-info {
    padding: 1.2rem;
  }

  .produto-card-busca .produto-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.3;
  }

  .produto-card-busca .loja-nome {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .produto-card-busca .rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
  }

  .produto-card-busca .rating i {
    color: #ffc107;
    font-size: 0.8rem;
  }

  .produto-card-busca .rating span {
    margin-left: 5px;
    color: var(--text-light);
    font-size: 0.75rem;
  }

  .produto-card-busca .preco-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
  }

  .produto-card-busca .preco {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
  }

  .produto-card-busca .preco-original {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
  }

  .produto-card-busca .btn-carrinho {
    width: 100%;
    padding: 10px;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
  }

  .produto-card-busca .btn-carrinho:hover {
    background: var(--secondary-color);
  }

  .paginacao {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }

  .pagina-btn {
    padding: 10px 15px;
    border: 1px solid var(--border-light);
    background: var(--white);
    color: var(--text-dark);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
  }

  .pagina-btn:hover:not(:disabled) {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
  }

  .pagina-btn.ativo {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
  }

  .pagina-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  .pagina-dots {
    color: var(--text-light);
    padding: 0 10px;
  }

  .produtos-resultados.loading {
    opacity: 0.6;
    pointer-events: none;
  }

  .sem-resultados {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
  }

  .sem-resultados i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
  }

  .sem-resultados h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
  }


  @media (max-width: 1024px) {
    .buscar-layout {
      grid-template-columns: 250px 1fr;
      gap: 1.5rem;
    }

    .produtos-resultados {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 1.5rem;
    }
  }

  @media (max-width: 768px) {
    .buscar-layout {
      grid-template-columns: 1fr;
      gap: 1rem;
    }

    .filtros-lateral {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 2000;
      max-height: 100vh;
      transform: translateX(-100%);
      transition: var(--transition);
    }

    .filtros-lateral.ativo {
      transform: translateX(0);
    }

    .btn-filtros-mobile {
      display: flex;
    }

    .buscar-header {
      flex-direction: column;
      align-items: stretch;
      gap: 1rem;
    }

    .produtos-resultados {
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .paginacao {
      flex-wrap: wrap;
      gap: 0.3rem;
    }

    .pagina-btn {
      padding: 8px 12px;
      font-size: 0.8rem;
    }
  }

  @media (max-width: 480px) {
    .pagina-buscar {
      padding: 1rem 0;
    }

    .resultados-area {
      padding: 1rem;
    }

    .produtos-resultados {
      grid-template-columns: 1fr;
      gap: 1rem;
    }

    .buscar-info h1 {
      font-size: 1.5rem;
    }

    .filtros-lateral {
      padding: 1rem;
    }
  }

  /* Animações */
  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-30px);
    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .filtros-lateral {
    animation: slideInLeft 0.6s ease-out;
  }

  .produto-card-busca {
    animation: slideInUp 0.6s ease-out;
  }


  .produto-card-busca img {
    will-change: transform;
  }

  .filtros-lateral {
    will-change: transform;
  }


  @media (prefers-color-scheme: dark) {
    .produto-card-busca {
      border-color: #333;
    }

    .filtros-lateral {
      background: #1a1a1a;
      color: var(--white);
    }

    .resultados-area {
      background: #1a1a1a;
      color: var(--white);
    }
  }

  .cardIndexContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;

  }

  .cardIndex {
    background-color: var(--white);
    border: 1px solid #ddd;
    font-family: 'Zain';
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    padding: 30px 20px 20px;
    text-align: center;
    transition: transform 0.25s ease;
    /* clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); */
    border-top-left-radius: 50% 20%;
    border-top-right-radius: 50% 20%;
    border-bottom-left-radius: 50% 20%;
    border-bottom-right-radius: 50% 20%;
  }

  .cardIndex:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);

  }

  .cardIndexIcon {
    font-size: 70px;
    color: var(--primary-blue);
    margin-bottom: 20px;
  }

  .cardIndexTitle {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-blue);
  }

  .cardIndexDescription {
    font-size: 1em;
    color: #4a5568;
    line-height: 1.5;
  }

  @media (max-width: 960px) {
    .cardIndex {
      width: 20%;
      max-width: 400px;
    }

      .cardIndex {
    background-color: var(--white);
    border: 1px solid #ddd;
    font-family: 'Zain';
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
 
    text-align: center;
    transition: transform 0.25s ease;
    /* clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); */
    
  }

  .cardIndexIcon {
    font-size: 40px;
    color: var(--primary-blue);
    margin-bottom: 20px;
  }

     .cardIndexContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;

  }

    .cardIndexTitle {
    font-size: 0.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-blue);
  }

     .cardIndexDescription{
      display: none;
    }
  }

  @media (max-width: 500px) {
    .cardIndex {
      max-width: 30%;
    }

    .cardIndexDescription{
      display: none;
    }
  }

  /* mobile */

.mobile-search-bar {
  display: none;
}

@media (max-width: 768px) {
  
  .nav {
    display: none !important;
  }

  .mobile-search-bar {
    display: block;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    min-height: 60px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 2px solid var(--light-gray);
    box-shadow: 0 4px 16px rgba(48, 66, 105, 0.08);
    z-index: 998;
    padding: 0;
    margin: 0;
    backdrop-filter: blur(8px);
  }

  .mobile-search-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    height: 100%;
    width: 100%;
  }

  .mobile-logo {
    flex-shrink: 0;
    height: 44px;
    width: auto;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
  }

  .mobile-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(255, 107, 0, 0.2));
  }

  .mobile-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
  }

  .mobile-search-form {
    display: flex;
    flex: 1;
    height: 40px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
  }

  .mobile-search-form:focus-within {
    border-color: var(--primary-orange);
    box-shadow: 0 6px 16px rgba(255, 107, 0, 0.12);
    transform: translateY(-2px);
  }

  .mobile-search-form input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    font-family: 'Zain', sans-serif;
    color: var(--primary-blue);
  }

  .mobile-search-form input::placeholder {
    color: var(--medium-gray);
    font-weight: 400;
  }

  .mobile-search-form button {
    padding: 0 12px;
    background: var(--primary-orange);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }

  .mobile-search-form button:hover {
    background: var(--primary-blue);
  }

  .mobile-search-form button:active {
    transform: scale(0.95);
  }

  .mobile-search-form i {
    font-size: 1.1rem;
  }

  body {
    padding-top: 0px;
    padding-bottom: 80px;
  }

  .containerProdutos,
  .containerLojas,
  .container-perfil-loja,
  main {
    margin-top: 0;
    padding-top: 20px;
  }
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 70px;
    background: #fff;
    border-top: 2px solid var(--primary-blue);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    margin: 0;
    font-family: 'Zain', sans-serif;
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: var(--primary-blue);
    font-size: 0.75rem;
    font-weight: 600;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
  }

  .mobile-nav-item:hover,
  .mobile-nav-item:focus {
    background-color: rgba(48, 66, 105, 0.05);
    color: var(--primary-orange);
  }

  .mobile-nav-item i {
    font-size: 1.5rem;
  }

  .mobile-nav-item span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  
  .mobile-cart-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--primary-blue);
    color: white;
    padding: 2px 6px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
  }

 
  .rodape {
    margin-bottom: 0;
  }

  main, .containerProdutos, .containerLojas {
    padding-bottom: 20px;
  }


   .favorite-btn {
    display: none !important;
  }

  .navbar-pesquisa {
    display: none !important;
  }

  .txt-welcome,
  .txt-logar {
    display: none !important;
  }

  
  .offcanvas-start,
  .offcanvas-end {
    width: 85% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .mobile-bottom-nav {
    height: 60px;
  }

  .mobile-nav-item {
    font-size: 0.65rem;
    gap: 2px;
  }

  .mobile-nav-item i {
    font-size: 1.3rem;
  }

  body {
    padding-bottom: 70px;
  }
}
.alterar-dados {
  display: block;
  max-width: 760px;
  margin: 36px auto;
  background: var(--white);
  padding: 28px;
  border-radius: 10px;
  box-shadow: var(--shadow-medium);
  font-family: 'Zain', sans-serif;
  color: var(--primary-blue);
}

.alterar-dados h2 {
  margin: 0 0 16px 0;
  color: var(--primary-blue);
  font-size: 1.6rem;
  font-weight: 700;
}

.alterar-dados .alert {
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
  font-weight: 600;
}
.alterar-dados .alert-success {
  background: rgba(16, 185, 129, 0.08);
  color: var(--success-green);
  border: 1px solid rgba(16, 185, 129, 0.14);
}
.alterar-dados .alert-danger {
  background: rgba(220, 38, 38, 0.06);
  color: #b91c1c;
  border: 1px solid rgba(220, 38, 38, 0.12);
}

.alterar-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.alterar-form .form-group.full {
  grid-column: 1 / -1;
}

.alterar-form .actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.alterar-dados .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.alterar-dados label {
  font-weight: 600;
  color: var(--medium-gray);
  font-size: 0.95rem;
}

.alterar-dados input[type="text"],
.alterar-dados input[type="email"],
.alterar-dados input[type="password"] {
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--primary-blue);
  background: var(--white);
  transition: var(--transition);
  box-shadow: none;
}

.alterar-dados input:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.alterar-dados .actions {
  /* fallback for places where .actions used outside grid */
  display: flex;
  gap: 12px;
  margin-top: 6px;
  align-items: center;
}

.alterar-dados .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  min-width: 140px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.alterar-dados .btn-primary {
  background: var(--primary-orange);
  color: var(--white);
  border: none;
  transition: var(--transition);
}
.alterar-dados .btn-primary:hover { background: var(--primary-blue); }

.alterar-dados .btn-secondary {
  background: transparent;
  color: var(--primary-blue);
  border: 1px solid rgba(0,0,0,0.06);
}

@media (max-width: 768px) {
  .alterar-dados { margin: 20px 12px; padding: 18px; }
  .alterar-form { grid-template-columns: 1fr; }
  .alterar-dados .actions { flex-direction: column-reverse; align-items: stretch; }
  .alterar-dados .btn { width: 100%; }
}


/* ===== BANNER PRINCIPAL ===== */
.banner-destaque {
  position: relative;
  overflow: hidden;
  background: #427A76;
  background: linear-gradient(180deg, rgba(66, 122, 118, 1) 41%, rgba(23, 65, 67, 1) 80%);
  color: #fff;
  padding: 120px 0;
  isolation: isolate;

  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><path d='M0,85 C25,95 75,75 100,90 L100,0 L0,0 Z' fill='white'/></svg>");
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  mask-position: bottom;

  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\" preserveAspectRatio=\"none\"><path d=\"M0,85 C25,95 75,75 100,90 L100,0 L0,0 Z\" fill=\"white\"/></svg>');
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: bottom;
}

.banner-container {
  max-width: 1200px;
  height: 450px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  position: relative;
  z-index: 5;
}

.banner-texto {
  flex: 1;
}

.banner-texto h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 30px;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.banner-texto p {
  font-size: 1.25rem;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 36px;
  line-height: 1.6;
}

.painel-destaques {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
  z-index: 6;
}

.destaque-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 8px 18px;
  backdrop-filter: blur(2px);
  transition: transform 0.3s ease;
}

.destaque-item:hover {
  transform: translateY(-3px);
}

.destaque-item i {
  font-size: 1.2rem;
}

.banner-botoes {
  display: flex;
  gap: 18px;
}

.btn-principal {
  background: var(--linha);
  color: var(--texto);
  padding: 14px 32px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 30px #e2a16f36;
  transition: all 0.3s ease;
}

.btn-principal:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px #e2a16f5d;
}

.btn-secundario {
  border: 2px solid var(--linha);
  color: var(--fundo);
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  transition: 0.3s;
  text-decoration: none;
}

.btn-secundario:hover {
  background: #e2a16f5d;
  transform: translateY(-3px);
  text-decoration: none;
}


/* ============================
   TELAS GRANDES (TV / 1441px+)
=============================== */
/* @media (min-width: 1441px) {

  .banner-destaque {
    padding: 160px 0;
  }

  .banner-container {
    max-width: 1600px;
    height: 520px;
    gap: 120px;
  }

  .banner-texto h1 {
    font-size: 4.2rem;
  }

  .banner-texto p {
    font-size: 1.6rem;
    max-width: 700px;
  }

  .btn-principal,
  .btn-secundario {
    padding: 18px 40px;
    font-size: 1.3rem;
  }

  .destaque-item {
    padding: 10px 22px;
    font-size: 1.15rem;
  }

  .mobile-bottom-nav {
    display: none !important;
  } 

  .mobile-search-bar{
    display: none !important;
  } 
} */


/* ============================
         TABLET (768–1024px)
=============================== */
/* @media (max-width: 1024px) {

  .banner-produtos {
    display: none;
  }

  .banner-container {
    flex-direction: column;
    text-align: center;
    height: auto;
    gap: 40px;
  }

  .banner-texto h1 {
    font-size: 2.8rem;
  }

  .banner-texto p {
    max-width: 90%;
    margin: 0 auto 30px;
  }

  .banner-botoes {
    justify-content: center;
  }

  .painel-destaques {
    justify-content: center;
    margin-top: 20px;
  }

  .mobile-bottom-nav {
    display: none !important;
  }

  .mobile-search-bar{
    display: none !important;
  }
} */


/* ============================
         CELULAR (≤ 768px)
=============================== */
/* @media (max-width: 768px) {

  .banner-container {
    flex-direction: column;
    height: auto;
    gap: 35px;
  }

  .banner-texto h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .banner-texto p {
    font-size: 1rem;
    max-width: 90%;
  }

  .banner-botoes {
    flex-direction: row;
    gap: 20px;
  }

  .btn-principal,
  .btn-secundario {
    width: auto;
    text-align: center;
    padding: 14px 32px;
    margin-left: 10px;
  }

  .painel-destaques {
    justify-content: center;
    gap: 10px;
  }

  .destaque-item {
    padding: 6px 14px;
    font-size: 0.9rem;
  }

  .banner-produtos {
    display: none;
  }
} */


/* ============================
     CELULAR PEQUENO (≤ 480px)
=============================== */
/* @media (max-width: 480px) {

  .banner-produtos {
    display: none;
  }

  .banner-texto h1 {
    font-size: 1.9rem;
  }

  .banner-texto p {
    font-size: 0.95rem;
  }

  .btn-principal,
  .btn-secundario {
    font-size: 0.9rem;
    padding: 10px 10px;
  }

  .destaque-item {
    font-size: 0.85rem;
    padding: 6px 12px;
  }
} */

/* ====== BANNER DE PRODUTOS ====== */

.banner-produtos {
  position: relative;
  width: 400px;
  height: 370px;
  perspective: 1000px;
  z-index: 10;
}

.produto-card {
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 90%;
  height: 400px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 40px var(--texto);
  text-align: center;
  padding: 20px;
  opacity: 0;
  transform: rotateY(40deg) scale(0.96);
  transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
  color: var(--texto);
  border-top-left-radius: 50% 20%;
  border-top-right-radius: 50% 20%;
  border-bottom-left-radius: 50% 20%;
  border-bottom-right-radius: 50% 20%;
}

.produto-card.ativa {
  opacity: 1;
  transform: rotateY(0) scale(1);
  z-index: 10;
}

/* Apply the same 3D active-card effect to product-card elements inside the banner */
.banner-produtos .product-card {
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 90%;
  height: 400px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 40px var(--texto);
  text-align: center;
  padding: 20px;
  opacity: 0;
  transform: rotateY(40deg) scale(0.96);
  transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
  color: var(--texto);
  border-top-left-radius: 50% 20%;
  border-top-right-radius: 50% 20%;
  border-bottom-left-radius: 50% 20%;
  border-bottom-right-radius: 50% 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.banner-produtos .product-card.ativa {
  opacity: 1;
  transform: rotateY(0) scale(1);
  z-index: 10;
}

/* ensure elements inside banner card use the same internal layout as product-card */
.banner-produtos .product-image img { height: 200px; object-fit: cover; width:100%; border-radius:12px; }
.banner-produtos .product-info { padding: 12px; text-align: center; }
.banner-produtos .product-name { font-size: 1.25rem; margin: 8px 0; }
.banner-produtos .product-price { font-size: 1.15rem; margin-bottom: 6px; }

.preco-antigo {
  font-size: 15px;
  color: #888;
  text-decoration: line-through;
}

.preco-promo {
  font-size: 20px;
  font-weight: bold;
  color: var(--destaque);
}

.promo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--fundo);
  padding: 4px 10px;
  border-radius: 12px;
  color: var(--destaque);
  font-size: 14px;
  font-weight: bold;
}


.produto-img {
  width: 100%;
  height: 160px;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  border-top-left-radius: var(--borda-redonda1);
  border-top-right-radius: var(--borda-redonda2);
}

.produto-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--texto);
}

.slogan {
  font-size: 1rem;
  color: var(--texto);
  margin-bottom: 8px;
}

.btn-visitar {
  margin-top: 8px;
  display: inline-block;
  background: var(--linha);
  padding: 9px 20px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.banner-container .btn-visitar {
  background: var(--fundo) !important;
  color: var(--linha);
}

.btn-visitar:hover {
  transform: scale(1.05);
  background: var(--destaque) !important;
  color: var(--fundo);
}