/*configuracao do home page*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #e9f7ef, #c9f2d9);
  justify-content: center;
  
}

.navbar {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  margin: 20px;
  padding: 15px 25px;
}
.navbar span a{
text-decoration: none;
color: #065f46;
padding: 6px;
}
.navbar span a:hover{
color: #fff;
background-color: #065f46;

}

.navbar span a.active{
color: #fff;
background-color: #065f46;

}
 
.hero {
  padding: 40px 20px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;}


.hero h1 span {
  color: #2ecc71;
}

.hero p {
  color: #777;
  margin-top: 20px;
}

.btn-main {
  background: #2ecc71;
  color: #fff;
  border-radius: 30px;
  padding: 12px 25px;
  border: none;
}

.btn-outline-custom {
  border-radius: 30px;
  padding: 12px 25px;
}

.hero-img {
  max-width: 100%;
  border-radius: 20px;
}

.card-custom {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card-custom h5 {
  margin-top: 20px;
  font-weight: 600;
}

.card-custom p {
  color: #888;
  font-size: 14px;
}

.badge-custom {
  border: 1px solid #065f46;
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 30px;
}

@media(max-width:768px) {
  .hero h1 {
    font-size: 32px;
  }
}

.footer {
  background: linear-gradient(135deg, #065f46, #2ecc71);
  color: #fff;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

.footer-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 15px;
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
  transition: 0.3s;
}

.footer a:hover {
  color: #fff;
  transform: translateX(3px);
}

.social {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-weight: bold;
  transition: 0.3s;
}

.social:hover {
  color: #2ecc71;
}

.footer hr {
  border-color: rgba(255, 255, 255, 0.2);
}


/* Offcanvas custom dashboard*/
.offcanvas {
  width: 150px;
  border-left: 3px solid #1a5f54;
}


.menu-title {
  font-size: 12px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 8px;
}

.menu-item {
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.25s;
  font-weight: 500;
}

.menu-item:hover {
  background: #e9f7ef;
  font-weight: 600;
}

.signout:hover {
  background: #bb212188;
  color: #fff;
}


/*cart*/
.cart-wrapper {
  position: relative;
  z-index: 20;

}


.cart-dropdown {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 20px;
  z-index: 1000;
  
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
}

.cart-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#cart-content{
max-height: 400px;
  overflow-y: auto;
}

.cart-item {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-empty {
  text-align: center;
  color: #777;
}

.cart-empty i {
  font-size: 40px;
  margin-bottom: 10px;
  color: #ccc;
}

.btn-orange {
  background-color: #ff6a00;
  color: #fff;
}

@media (max-width: 768px) {
  .cart-dropdown{
    width: 100%;
    right: 0px;
}

    
}

.btn-orange:hover {
  background-color: #e65c00;
  color: #fff;
}

.badge-cart {
  position: absolute;
  top: -5px;
  right: -8px;
  background: #ff6a00;
  font-size: 11px;
}

#orderSummay {
  position: relative;
  overflow: hidden;
  max-height: 450px;
}


/*notification*/
.popUp {
  width: 100%;
  position: absolute;
  overflow: hidden;
  height: 500px;
  top: 0;
  right: 0;
}

.notification {

  position: absolute;
  border-radius: 1em;
  background: white;
  padding: 1em 0.5em 1em 1em;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  top: 3em;
  right: 2em;
  border-left: 0.4em solid #1a5f54;
  overflow: hidden;
  transform: translateX(calc(100% + 2em));
  transition: all .5s cubic-bezier(0.65, -0.55, 0.255, 1.35);
  z-index: 101;
}


.wrapper {
  width: 100%;
  /* or any fixed size */
  height: 60px;
  position: fixed;
  z-index: 10;
  top: 0;
}

.notification .content {
  display: flex;
  align-items: center;
}

#check::before {
  position: relative;

}

.check {
  width: 1.2em;
  height: 1.2em;
  background: #1a5f54;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5em;
  border-radius: 50%;
}


.content .message {
  flex-direction: column;
  display: flex;
  margin: 0 1em;
  max-width: 400px;
}


.message .text {
  font-size: 1em;
  font-weight: 300;
  color: rgb(150, 148, 148);
}

.message .text-1 {
  font-weight: 600;
  color: rgb(65, 65, 65);
}


.notification .close {
  position: absolute;
  top: 1em;
  right: 1.2em;
  padding: 0.1em;
  cursor: pointer;
  opacity: 0.5;
}

.notification .close:hover {
  opacity: 1;
}


.notification .progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.2em;
  background: #ddd;
}


.notification .progress::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: #1a5f54;
}

.progress.active::before {
  animation: animate 5s linear forwards;
}


@keyframes animate {
  100% {
    right: 100%;
  }
}

.notification.active {
  transform: translateX(0%);
}


/*search result*/

/*cart*/
.search-result {
  position: relative;
  z-index: 20;
}


.search-dropdown {
  position: absolute;
  width: 100%;
  top:-18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 5px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  max-height: 500px;
  overflow: hidden;
}
.search-dropdown div img{
  width: 100px;
  height: 100px;

}
@media (max-width: 768px) {
  .search-dropdown div img{
    width: 70px;
    height: 70px;
   
}

    
}


.search-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}



.sidebar {
    height: 460px;
    overflow-y: auto;
    background: #fff;
    border-right: 1px solid #ddd;
    transition: all .5s cubic-bezier(0.65, -0.55, 0.255, 1.35);
}

.sidebar_active{
 width: 60%;
}

.content_search_active{
 width: 40%;
}

.sidebar-item {
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}


.sidebar-item:hover {
    background: #f1f1f1;
}

.sidebar-item.active {
    background: #e9ecef;
    font-weight: bold;
}

.content-search {
    height: 460px;
    overflow-y: auto;
    padding: 20px;
}

.category-section {
    margin-bottom: 20px;
}

.product-item {
    text-align: center;
    margin-bottom: 25px;
}

.product-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-circle img {
    aspect-ratio: 3 / 3;
  
  transition: transform 0.4s ease;
}

.product-circle:hover img{
  transform: scale(1.03);
}

.product-title {
    font-size: 13px;
    margin-top: 8px;
}


    /* Fundo escurecido */
#loadingOverlay{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.5);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

/* Caixa do popup */
.loading-box{
    background:#1f1f1f;
    padding:40px !important;
    border-radius:20px;
    text-align:center;
    width:260px;
    box-shadow:0 0 20px rgba(0,0,0,0.4);
}

/* Título */
.loading-title{
    color:#065f46;
    font-size:22px;
    margin-bottom:20px;
}

/* Spinner de pontos */
.spinner{
    width:40px;
    height:40px;
    margin:0 auto 20px auto !important;
    position:relative;
}

.spinner div{
    width:8px;
    height:8px;
    background:#00d084;
    border-radius:50%;
    position:absolute;
    animation:spin 1.2s linear infinite;
}

.spinner div:nth-child(1){top:0; left:16px; animation-delay:-1.1s;}
.spinner div:nth-child(2){top:4px; left:28px; animation-delay:-1s;}
.spinner div:nth-child(3){top:16px; left:32px; animation-delay:-0.9s;}
.spinner div:nth-child(4){top:28px; left:28px; animation-delay:-0.8s;}
.spinner div:nth-child(5){top:32px; left:16px; animation-delay:-0.7s;}
.spinner div:nth-child(6){top:28px; left:4px; animation-delay:-0.6s;}
.spinner div:nth-child(7){top:16px; left:0; animation-delay:-0.5s;}
.spinner div:nth-child(8){top:4px; left:4px; animation-delay:-0.4s;}

@keyframes spin{
    0%,20%,80%,100%{transform:scale(0);}
    50%{transform:scale(1);}
}


/* Animações para popups de adicao de carilho*/
.popupOverlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 100;
}
.popup-card { max-width: 420px; border-radius: 16px; overflow: hidden; }
  .brand-bg { background-color: #e8f5e9; border-bottom: 1px solid #c8e6c9; }
  .brand-text { color: #2e7d32; }
  .brand-muted { color: #4caf50; }
  .brand-btn { background-color: #4caf50; border-color: #4caf50; }
  .brand-btn:hover { background-color: #388e3c; border-color: #388e3c; }
  .check-circle { width: 40px; height: 40px; background-color: #4caf50; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .product-thumb { width: 80px; height: 80px; border-radius: 8px; overflow: hidden; object-fit: cover; }
  .section-label { font-size: 11px; font-weight: 700; color: #9e9e9e; text-transform: uppercase; letter-spacing: .06em; }
  .rec-card { background: #f8f9fa; border-radius: 12px; }
  .stars { color: #ffc107; font-size: 12px; }
  .star-empty { color: #e0e0e0; font-size: 12px; }
  .subtotal-divider { border-top: 1px dashed #dee2e6; }
  .add-small-btn { font-size: 12px; padding: 5px 10px; border-radius: 8px; }
  .close-x { background: none; border: none; padding: 4px; border-radius: 50%; line-height: 1; }
  .close-x:hover { background: #c8e6c9; }