@font-face {
  font-family: 'NexaBold';
  src: url(NexaBold.otf);
}

:root{
    --bg: #808080;
    --text: #020000;
    --buttons : #AF8F4F;
}
body{
    color: var(--text) ;
    font-family:  'NexaBold', sans-serif;
    margin: 0;
  /*  background-color: var(--bg) ;*/
  padding: 7vh 0;
background: #f8f4ec;

    overflow-x: hidden;
}

nav{
  width: 100vw;
    height: 10vh;
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;
    display: flex
;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.links{
  background: transparent;
    border: 1px solid var(--bg);
    backdrop-filter: blur(5px);
    display: flex
;
    align-items: center;
    height: max-content;
    margin: 0;
    padding: 0;
    border-radius: 1rem;
    gap: 1.7rem;
    padding: .4rem;
}
.links>a{
  font-size: 1.1em;
    cursor: pointer;
    display: flex
;
  font-family: 'Inter';
    justify-content: center;
    align-items: center;
    padding: 1.1vh;
    color: black ;
    text-decoration: none;
    border-radius: .7rem;
      transition: all .1s;
}
.links>a:hover{
  background: var(--buttons);
  color: white;
}


.card {
  display: flex;
  background-color: #fdfcf9;
  border: 1px solid #e3dfd7;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
  width: 74vw;
  max-width: 80vw;
  margin: auto;  height: 250px; 
  transition: all 0.3s ease;
  animation: cardFadeIn 0.4s cubic-bezier(.4,0,.2,1);

}

.cardphone {
  display: flex;
  background-color: #fdfcf9;
  border: 1px solid #e3dfd7;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
  max-width: 400px;
  margin: auto;  height: max-content  ; 
  transition: all 0.3s ease;
  flex-direction: column ;
  min-width: 10vw;
    transition: all .2s ease;
  opacity: 1;
  transform:  translateY(20px);

}

.card:hover, .cardphone:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 14px rgba(0,0,0,0.1);
  cursor: pointer;
}
.image {
  width: 300px;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.imagephone{
  width: 100%;
  object-fit: cover;
  cursor: zoom-in;
  height: 22rem;
}

.cardtext {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.cardheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cardhead {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon {
  width: 20px;
  height: 20px;
}

.card-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.rating {
  display: flex;
  align-items: center;

  gap: 4px;
  font-size: 0.95rem;
  color: green;
  font-weight: 500;
}
.ratein{
    color: black;
    margin-top: .3rem;
}

.star {
  font-size: 1.2rem;
  margin-bottom: .35rem;
}

.desc {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.5;
}

.details {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #6b7280;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.loct {

  display: flex;
  flex-direction: row;
  align-items: center;
}
.loct > span{
  margin-right: 1rem;
}

.locic > svg{
  display: inline-block;
}
.cards{
  margin-top: 50px;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  gap:4vh;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: row ;
  width: 75vw;
  min-height: fit-content;
}

.searchcont {

  padding: 40px 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding-bottom:1rem;
  overflow: hidden;
}

.btn {
  padding: .75rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 400;
  border-radius: 70px;
  border: none;
  cursor: pointer;
  color: var(--buttons);
  background:transparent;
  border: var(--buttons) 3px solid;
  transition: all 0.28s ease;
  width: fit-content;

}
.btn:hover {
  background-color: var(--buttons);
  outline: none;
  color: white;
}

.btnselect{
  background-color: var(--buttons);
  outline: none;
  color: white;
}

.filters{
  display: flex;
  align-items: center;
  justify-items: center;
  width: 100vw;
}

.searchm {
  display: flex;
  align-items: center;
  border: 2px solid #a78244;
  border-radius: 32px;
  padding: 8px 18px;
  justify-content: center;
}

.searchm input {
  border: none;
  background: transparent;
  color: #a78244;
  font-size: 1.1rem;
  outline: none;
  width: 60vw;
  padding: 8px 0;
}

.search-bar input::placeholder {
  color: #a78244;
  opacity: 0.9;
}

.bsearch{
  margin-right: 25px;
  color: #a78244;
  font-size: 1.9rem;
  pointer-events: none;
  border-width: 0px;
  width: 50px;
  height: 50px;
  background-color: rgb(249, 246, 241);
}

.sicon {
  margin-left: 14px;
  color: #fff;
  font-size: 1.2rem;
  pointer-events: none;
}


@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cardFadeOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
}

@media (max-width:850px) {
  /* .card{
      display: flex;
  background-color: #fdfcf9;
  border: 1px solid #e3dfd7;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
  max-width: 80vw;
  margin: auto;  height: max-content  ; 
  transition: all 0.3s ease;
  flex-direction: column ;
  } */
  .image{
      width: 100%;
  height: 80%;
  object-fit: cover;
  cursor: zoom-in;
  }
  .searchm input{
    width: 30vw;
  }
}