.ramezandoust-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: "YekanBakh", "Tahoma", sans-serif;
}

.ramezandoust-table thead tr:first-child th {
  padding: 15px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  border: 1px solid #E7E7E8;
  background-color: #FBB21C;
}

.ramezandoust-table thead tr:first-child th .cat-list {
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}

.ramezandoust-table thead tr:nth-child(2) th {
  padding: 12px 8px;
  text-align: center;
  border: 1px solid #E7E7E8;
  background-color: #FBB21C;
}

.ramezandoust-table tbody td {
  padding: 10px 8px;
  text-align: center;
  border: 1px solid #E7E7E8;
  vertical-align: middle;
  font-weight: 500;
}

.ramezandoust-table tbody td img {
  max-width: 80px;
  height: auto;
  border-radius: 5px;
}

.ramezandoust-table .variation-selector {
  width: 100%;
  padding: 8px;
  border: 1px solid #E7E7E8;
  border-radius: 4px;
  font-size: 14px;
}

.ramezandoust-table .add-to-cart-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.ramezandoust-table .quantity-input {
  width: 60px;
  padding: 6px;
  text-align: center;
  border: 1px solid #E7E7E8;
  border-radius: 4px;
}

.ramezandoust-table .my-add-to-cart-button {
  padding: 8px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
}

.ramezandoust-table .my-add-to-cart-button:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.ramezandoust-table .my-add-to-cart-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ramezandoust-table .td-image {
  min-width: 100px;
  width: 100px;
}

.ramezandoust-table .td-name {
  min-width: 350px;
  width: auto;
}

.ramezandoust-table .td-variable {
  min-width: 180px;
  width: 200px;
}

.ramezandoust-table .td-price {
  min-width: 180px;
  width: 200px;
}

.ramezandoust-table .td-cart {
  min-width: 180px;
  width: 200px;
}
.ramezandoust-table .td-attribute {
    min-width: 100px;
    width: 100%;
}

/* Category filter styles */
.ramezandoust-category-filter {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px;
  background: #E7E7E8;
  border-radius: 8px;
}

.category-filter-btn {
  padding: 10px 20px;
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  transition: all 0.3s ease;
}

.category-filter-btn:hover {
  background: #f0f0f0;
  border-color: #999;
}

.category-filter-btn.active {
  background: #FBB21C;
  border-color: #FBB21C;
  color: #ffffff;
}

.category-filter-btn.active:hover {
  background: #FBB21C;
  border-color: #FBB21C;
}

@media (max-width: 768px) {
  .responsive-table-wrapper {
    overflow-x: auto;
  }

  .ramezandoust-table {
    font-size: 12px;
  }

  .ramezandoust-table tbody td img {
    max-width: 50px;
  }
  .ramezandoust-category-filter {
    gap: 8px;
    padding: 10px;
  }

  .category-filter-btn {
    padding: 8px 15px;
    font-size: 13px;
  }
}

/* pagination */
.ramezandoust-pagination {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0 15px;
}

.ramezandoust-pagination-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ramezandoust-pagination .page-numbers {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.ramezandoust-pagination .page-link {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #E7E7E8;
  border-radius: 4px;
  text-decoration: none;
  color: #232a2c;
  background: #ffffff;
  transition: all 0.3s ease;
  min-width: 40px;
  text-align: center;
}

.ramezandoust-pagination .page-link:hover {
  background: #f5f5f5;
  border-color: #999;
}

.ramezandoust-pagination .current-page {
  background: #FBB21C;
  color: #232a2c;
  border-color: #FBB21C;
  font-weight: bold;
}
.ramezandoust-pagination .current-page:hover {
  background: #FBB21C;
  color: #232a2c;
  border-color: #FBB21C;
  font-weight: bold;
}

.ramezandoust-pagination .page-dots {
  padding: 8px 5px;
  color: #999;
}

.ramezandoust-pagination .prev-link,
.ramezandoust-pagination .next-link {
  font-weight: bold;
  padding: 8px 16px;
}

.ramezandoust-pagination-info {
  text-align: center;
  color: #232a2c;
  font-size: 16px;
}

@media (max-width: 768px) {
  .ramezandoust-pagination {
    flex-direction: column;
  }
  .ramezandoust-pagination .page-link {
    padding: 6px 10px;
    min-width: 35px;
    font-size: 14px;
  }
}
