div#cursor {
  display: none;
}

header {
  z-index: 10;
  width: 100%;
  position: fixed;
  background: transparent;
  transition: all 0.3s ease;
}

.searched-products {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 280px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 9999;
    max-height: 450px;
    overflow-y: auto;
    padding: 10px 0;
    border: 1px solid #eee;
}

/* O Card Individual */
.searched-product {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    gap: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
}

.searched-product:last-child {
    border-bottom: none;
}

.searched-product:hover {
    background-color: #f8fdf9; /* Um tom de verde bem leve */
}

.searched-product .img-wrapper {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.searched-product .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eee;
}

.searched-product .info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.searched-product .name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.searched-product .price-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.searched-product .price {
    font-size: 14px;
    font-weight: 700;
    color: #2d5a27; /* Verde da sua marca */
}

.searched-product .old-price {
    font-size: 11px;
    text-decoration: line-through;
    color: #999;
}

.no-results {
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: #888;
}

header nav {
  width: 100%;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 290px 1fr;
  align-items: center;
}

header > section#cart-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 12px 0 0 12px;
}

header > section#cart-menu.open {
    transform: translateX(0);
}

header > section#cart-menu > div.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

header > section#cart-menu > div.menu-header > h3 {
    font-size: 1.6em;
    font-weight: 700;
    color: #2c3e50;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

header > section#cart-menu > div.menu-header > button.close {
    background: rgba(255, 255, 255, 0.8);
    color: #7f8c8d;
    border: none;
    font-size: 1.5em;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
}

header > section#cart-menu > div.menu-header > button.close:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    transform: scale(1.1);
}

header > section#cart-menu > div.menu-body {
    flex-grow: 1;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-x: hidden;
}

header > section#cart-menu > div.menu-body > div.menu-product {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f1f3f4 100%);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

header > section#cart-menu > div.menu-body > div.menu-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

header > section#cart-menu > div.menu-body > div.menu-product > img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

header > section#cart-menu > div.menu-body > div.menu-product > div.emp {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

header > section#cart-menu > div.menu-body > div.menu-product > div.emp > h4.title {
    font-size: 16px;
    font-weight: 600;
    color: #34495e;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

header > section#cart-menu > div.menu-body > div.menu-product > div.emp > h4.description {
    font-size: 13px;
    font-weight: 400;
    color: #95a5a6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

header > section#cart-menu > div.menu-body > div.menu-product > h4.price {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--semiLight);
    justify-self: end;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

header > section#cart-menu > div.menu-body > div.menu-product > button.delete {
  position: absolute;
  align-self: self-start;
  justify-self: self-start;
  margin-top: -28px;
  margin-left: -28px;
  background: rgba(255, 255, 255, 0.9);
  color: #bdc3c7;
  border-radius: 50%;
  padding: 6px;
  border: 1px solid #ecf0f1;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.3s ease;
}

header > section#cart-menu > div.menu-body > div.menu-product > button.delete:hover {
    color: #fff;
    background: #e74c3c;
    border-color: #e74c3c;
    transform: scale(1.1);
}

header > section#cart-menu > div.menu-footer {
    padding-top: 24px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

header > section#cart-menu > div.menu-footer > div.checkout-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header > section#cart-menu > div.menu-footer > div.checkout-info > h4 {
    font-size: 1.3em;
    font-weight: 600;
    color: #2c3e50;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

header > section#cart-menu > div.menu-footer > div.checkout-info > span.total {
    font-size: 1.6em;
    font-weight: 700;
    color: #e67e22;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

button.checkout-button {
    width: 100%;
    padding: 16px;
    background-color: var(--semiLight);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

button.checkout-button:hover {
    background-color: var(--semiLight);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

header > section#cart-menu > div.menu-footer {
    padding-top: 24px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

header > section#cart-menu > div.menu-footer > div.checkout-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header > section#cart-menu > div.menu-footer > div.checkout-info > h4 {
    font-size: 1.3em;
    font-weight: 600;
    color: #2c3e50;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

header > section#cart-menu > div.menu-footer > div.checkout-info > span.total {
    font-size: 1.6em;
    font-weight: 700;
    color: var(--semiLight);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

button.checkout-button {
    width: 100%;
    padding: 16px;
    background-color: var(--logoColor);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

button.checkout-button:hover {
    background-color: var(--semiLight);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

div#logo-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-family: var(--logoFont);
  color: var(--logoColor);
  grid-area: 1/1/1/2;
}

div.icon-text {
  display: flex;
  justify-items: center;
  padding-inline: 12px;
  flex-direction: column;
  width: 100%;
  margin-top: -6px;
}

header > nav > div#logo-container span {
  width: 60px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: white;
  border-radius: 100%;
}

div#logo-container i.logo {
  font-size: 1.5em;
  color: var(--logoColor);
  transition: all 0.3s ease;
}

div#logo-container div.icon-text h1#logo-text {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
}

div#logo-container p.slogan {
  letter-spacing: 1.6px;
  text-indent: 8px;
  margin-top: -10px;
  font-size: 0.8em;
  font-weight: 300;
  text-transform: uppercase;
  color: white;
}

header > nav > div.nav-buttons {
  justify-content: flex-end;
  display: flex;
  gap: 12px;
}

@keyframes changeColor {
  0% { 
    background-color: #1d4108ff; 
  }

  50% { 
    background-color: var(--semiLight); 
  }

  100% { 
    background-color: #1d4108ff; 
  }
}

.blink {
  animation: changeColor 1s infinite;
}

header > nav > div.nav-buttons > button.cart-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  background-color: rgb(243, 243, 243);
  border: none;
  transition: 0.2s ease;
  width: 40px;
  height: 40px;
}

header > nav > div.nav-buttons > button.cart-button > i {
  color: var(--logoColor);
  font-size: 1.4em;
  margin: auto;
}

header > nav > div.nav-buttons > button.cart-button > span.cart-quantity {
  font-size: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--logoColor);
  font-family: var(--logoFont);
  font-weight: 800;
  position: absolute;
  border-radius: 100%;
  width: 20px;
  height: 20px;
  margin-bottom: 40px;
  margin-left: 30px;
  color: white;
}

header > nav > div.nav-buttons > button.menu-button {
  grid-area: 1/-1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  background-color: rgb(243, 243, 243);
  border: none;
  transition: 0.2s ease;
  width: 40px;
  height: 40px;
  transition: 0.3s ease; 
}

header > nav > div.nav-buttons > button.menu-button > i {
  color: var(--logoColor);
  font-size: 1.4em;
}

header > nav > div.nav-buttons > button:hover {
  transform: scale(1.1);
  transition: 0.4s ease;
}

div.menu {
  color: white;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: rgba(211, 211, 211, 0.212);
  backdrop-filter: blur(12px) brightness(1.2);
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: var(--textFont);
}

div.menu > details {
  margin-bottom: 16px;
}

div.menu > details > summary {
  cursor: pointer;
  font-weight: 500;
  color: white;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
  transition: 0.3s ease;
}

div.menu > details > p {
  padding-block: 12px;
}

div.menu > details > summary:focus {
  font-size: 1.2em;
}

div.menu > details > div {
  margin-top: 8px;
  color: #666;
  font-size: 0.9rem;
}


/* PC */
header > nav > ul.container {
  width: 100%;
  grid-area: 1/2/1/-1;
  display: flex;
  align-items: center;
  gap: 20px;
}

header > nav > ul.container > li.input-container {
  flex: 1;
  max-width: 90%;
  display: flex;
  align-items: center;
  padding: 8px 16px;
  background: #f8f9fa;
  border-radius: 50px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

header > nav > ul.container > li.input-container:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

header > nav > ul.container > li.input-container input {
  width: 100%;
  font-family: var(--textFont);
  font-size: 0.9rem;
  border: none;
  background: transparent;
  color: var(--logoColor);
}

header > nav > ul.container > li.input-container input:focus {
  outline: none;
}

.input-container i {
  color: var(--semiLight);
  margin-right: 8px;

}

li.big-screen-item {
  display: none;
}
button.menu-button {
  display: block;
}
header > nav > ul.container {
  display: none;
}



/* super small screens */
@media screen and (max-width: 395px){
  header nav {
    grid-template-columns: 210px 1fr;
    padding: 12px;
  }

  header > nav > div#logo-container span {
    width: 40px;
    height: 34px;
  }

  header > nav > div#logo-container i.logo {
    font-size: 1.2em;
    color: var(--logoColor);
    transition: all 0.3s ease;
  }

  header > nav > div#logo-container div.icon-text h1#logo-text {
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  }

  header > nav > div#logo-container p.slogan {
    font-size: 0.6em;
    font-weight: 400;
    color: white;
  }

  header > nav > div.nav-buttons {
    gap: 12px;
  }

  header > nav > div.nav-buttons > button.cart-button {
    width: 40px;
    height: 40px;
  }

  header > nav > div.nav-buttons > button.cart-button > i {
    color: var(--logoColor);
    font-size: 1.2em;
    margin: auto;
  }

  header > nav > div.nav-buttons > button.cart-button > span.cart-quantity {
    font-size: 0.7em;
    width: 18px;
    height: 18px;
    margin-bottom: 32px;
    margin-left: 32px;
    color: white;
  }

  header > nav > div.nav-buttons > button.cart-button:hover {
    transition: 0.4s ease;
  }

  header > nav > div.nav-buttons > button.menu-button {
    width: 40px;
    height: 40px;
  }

  header > nav > div.nav-buttons > button.menu-button > i {
    color: var(--logoColor);
    font-size: 1.2em;
  }
}


@media screen and (min-width: 768px) {
  header nav {
    padding: 32px 24px;
    grid-template-columns: 290px 1fr 0.1fr;
  }

  header > nav > div#logo-container {
    grid-area: 1/1/1/2;
  }

  header > section#cart-menu {
    width: 60vw;
  }

  li.big-screen-item {
    display: none;
  }

  button.menu-button {
    display: block;
  }
  header > nav > ul.container {
    display: flex;
  }

  header > nav > div#logo-container span {
    width: 60px;
    height: 45px;
  }

  header > nav > div.nav-buttons {
    grid-area: 1/-1;
  }

  header > nav > div.nav-buttons > button.cart-button {
    width: 50px;
    height: 50px;
  }

  header > nav > div.nav-buttons > button.cart-button > i {
    font-size: 1.6em;
  }

  header > nav > div.nav-buttons > button.cart-button > span.cart-quantity {
    font-size: 1em;
    width: 20px;
    height: 20px;
    margin-bottom: 50px;
    margin-left: 40px;
    color: white;
  }

  header > nav > div.nav-buttons > button.menu-button {
    display: none;
  }

  header > nav > ul.container {
    width: 100%;
  }

  header > nav > ul.container > li.input-container {
    max-width: 90%;
  }
}

@media screen and (min-width: 1024px) {
  div#cursor {
    display: block;
    z-index: 10000;
  }
  header nav {
    padding: 32px 24px;
    grid-template-columns: 290px 1fr;
    justify-content: space-between;
  }

  header > section#cart-menu {
    width: 40vw;
  }

  header > nav > div#logo-container {
    grid-area: 1/1/1/2;
  }

  li.big-screen-item {
    display: flex;
  }

  li.big-screen-item a {
    color: white;
    text-decoration: none;
    font-family: var(--logoFont);
    font-size: 1.2em;
  }

  li.big-screen-item a:hover {
    color: var(--semiLight);
  }

  li.big-screen-item > span {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  li.big-screen-item > span > i {
    font-size: 0.8em;
  }

  button.menu-button {
    display: block;
  }

  header > nav > div#logo-container span {
    width: 60px;
    height: 45px;
  }

  header > nav > div.nav-buttons {
    grid-area: 1/-1;
  }

  header > nav > div.nav-buttons > button.cart-button {
    width: 50px;
    height: 50px;
  }

  header > nav > div.nav-buttons > button.cart-button > i {
    font-size: 1.6em;
  }

  header > nav > div.nav-buttons > button.cart-button > span.cart-quantity {
    font-size: 1em;
    width: 20px;
    height: 20px;
    margin-bottom: 50px;
    margin-left: 40px;
    color: white;
  }

  header > nav > div.nav-buttons > button.menu-button {
    display: none;
  }

  header > nav > ul.container {
    display: flex;
    justify-content: space-around;
    margin-left: -6%;
    padding-inline: 128px;
    gap: 24px;
    width: 100%;
  }

  header > nav > ul.container > li.input-container {
    max-width: 40%;
  }

  header > nav > ul.container > li.input-container:focus-within {
    transition: 0.6s ease;
    max-width: 80%;
  }
}

@media screen and (min-width: 1444px) {
  header nav {
    padding: 32px 64px;
    grid-template-columns: 250px 1fr 1fr;
    justify-content: space-between;
  }

  header > section#cart-menu {
    width: 30vw;
  }

  li.big-screen-item > span > i {
    font-size: 0.8em;
  }

  header > nav > div.nav-buttons > button.cart-button > i {
    font-size: 1.6em;
  }

  header > nav > div.nav-buttons > button.cart-button > span.cart-quantity {
    width: 24px;
    height: 24px;
    margin-bottom: 54px;
    margin-left: 44px;
  }

  header > nav > ul.container {
    justify-content: space-between;
    gap: 24px;
    width: 80%;
    margin: auto;
  }

  header > nav > ul.container > li.input-container {
    max-width: 40%;
  }

  header > nav > ul.container > li.input-container:focus-within {
    max-width: 60%;
  }header nav {
  padding: 32px 64px;
  grid-template-columns: 250px 1fr 1fr;
  justify-content: space-between;
  }

  li.big-screen-item > span > i {
  font-size: 0.8em;
  }

  header > nav > div.nav-buttons > button.cart-button > i {
  font-size: 1.6em;
  }

  header > nav > div.nav-buttons > button.cart-button > span.cart-quantity {
  width: 24px;
  height: 24px;
  margin-bottom: 54px;
  margin-left: 44px;
  }

  header > nav > ul.container {
  justify-content: space-between;
  gap: 24px;
  width: 80%;
  margin: auto;
  }

  header > nav > ul.container > li.input-container {
  max-width: 40%;
  }

  header > nav > ul.container > li.input-container:focus-within {
  max-width: 60%;
  }
}