@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.0/css/all.min.css');

/* Pulse */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

.ss01 {
  -moz-font-feature-settings: "ss01";
  -webkit-font-feature-settings: "ss01";
  font-feature-settings: "ss01";
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

a { 
    color: inherit; 
}

body {
  background: #54cbca;
  color: #000;
  line-height: 1.6;
}

.container{
  padding: 20px;
  margin: 0 auto;
}

.filter-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 20px 0;
}

.filter-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  font-family: IRANSansB;
}

.filter-btn:hover {
  background: #d06254;
  color: #fff;
  transform: scale(1.1);
}

.filter-btn.active {
  background: #74b8fe;
  color: #fff;
}


.hero {
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
}

.hero h1 {
  font-family: IRANSansB;
  font-size: 32px;
}

.hero p {
  font-family: IRANSans;
  font-size: 18px;
  max-width: 600px;
}

.hero img {
  max-width: 300px;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.4));

}



.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 40px;
  margin: 20px;
  justify-items: center;
  font-family: 'IRANSans';
}

.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  width: 100%;      /* fills grid column */
  max-width: 450px; /* max width for large screens */
  height: auto;
  padding: 10px;
}

.thumb {
  width: 100%;      /* always matches card width */
  height: 0;
  padding-top: 100%; /* 1:1 square ratio */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}


/* Tag pill */
.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff;
  color: #000;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .12);
  font-family: 'IRANSansB';
}

.tags .tag {
  display: inline-block;
  margin: 5px;
  background: #4dc0b5;
  color: #fff;
  padding: 5px 10px;
  border-radius: 15px;
}

.sale-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fefe00;
  color: #d06254;
  font-weight: 700;
  font-size: 12px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .15);
  font-family: 'IRANSansB';
  animation: pulse 2s infinite;
}


.filter-btn.sale-btn {
  background: #d06254;
  color: #fefe00;
  font-family: IRANSansB;
  animation: pulse 2s infinite;
}

/* Content */
.content {
  padding: 20px;
}

.content h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.content p {
  font-size: 14px;
  margin-bottom: 10px;
  font-family: IRANSansB;
}

.content span {
  font-size: 14px;
  font-family: IRANSans;
}

.description {
  color: #343434;
  font-size: 12px;
}

.order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: IRANSansB;
  margin-top: 20px;
}

.orderbtn{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.btn {
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 15px;
  font-size: 13px;
}

.btn:hover {
  background: #3498db;
  color: #000;
}


footer {
  background: #fff5d9;
  padding: 5px;
  margin-top: 40px;
  font-family: 'IRANSans';

}

footer .footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;

}

.icon-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.icon-buttons .icon-btn {
  width: 50px;
  height: 50px;
  border-style: solid;
  border-width: 2px 4px 4px 2px;
  border-color: black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  color: #000;
  cursor: pointer;
  transition: transform 0.2s ease;
  padding: 10px;
  font-family: Arial, Helvetica, sans-serif;
}

.icon-buttons .icon-btn:hover {
  transform: scale(1.1);
}

i {
  color: black;
}

.info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 10px;
  margin-bottom: 20px;
}

.info .box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.box i {
  font-size: 28px;
  margin-bottom: 10px;
}


.insta {
  background-color: #fefe00;
}

.wp {
  background-color: #d06254;
}

.telegram {
  background-color: #74b8fe;
}



.emoji {
  width: 15px;
  height: 15px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 30px 0;
  flex-wrap: wrap;
  font-family: IRANSans;
}

.pagination a,
.pagination span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 14px;
  color: #d06254;
  background: #ffffff;
  transition: all 0.2s ease;
}

.pagination a:hover {
  background: #74b8fe;
  color: #ffffff;
}

.pagination .active {
  background: #d06254;
  color: #ffffff;
  font-weight: bold;
  cursor: default;
}

.orderbtn span{
  font-size: 10px;
  color: black;
  margin-bottom: 5px;
}





/* 🔹 Responsive breakpoints */
@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr; /* 1 card per row */
    gap: 15px;
    padding: 10px;
    margin: 10px;
  }

  .card {
    max-width: 100%; /* full width on mobile */
  }


  .filter-btn {
    width: 60px;
    height: 60px;
    font-size: 10px;
    font-family: IRANSans;
}

  .hero {
    margin: 5px 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column-reverse;
  }

  .hero h1 {
    font-family: IRANSansB;
    font-size: 32px;
    text-align: center;
  }

  .hero p {
    margin: 20px 10px;
    font-family: IRANSans;
    font-size: 18px;
    max-width: 350px;
  }

  .info {

    grid-template-columns: repeat(2, 1fr);
    margin: 10px;
    padding: 5px;

  }
}
