/* ═══════════════════════════════════════════
     PAGINATION CSS
═══════════════════════════════════════════ */

.tt-pagination-wrapper { margin-top: 2.5rem; }

.tt-pg-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 20px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.tt-pg-info { font-size: 13px; color: #888; white-space: nowrap; }
.tt-pg-info strong { color: #222; font-weight: 700; }

.tt-pg-center { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; justify-content: center; }

.tt-pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 4px;
  border-radius: 8px;
  border: 1.5px solid #e5e5e5;
  background: #fff;
  color: #666;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all .18s ease;
  user-select: none;
  line-height: 1;
}
.tt-pg-btn:hover:not(.disabled):not(.active) {
  background: #fff5ee;
  border-color: #FF7C08;
  color: #FF7C08;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(255,124,8,.15);
}
.tt-pg-btn.active {
  background: #FF7C08;
  border-color: #FF7C08;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255,124,8,.35);
  transform: translateY(-1px);
}
.tt-pg-btn.disabled {
  opacity: .3;
  pointer-events: none;
  cursor: default;
}
.tt-pg-btn svg { flex-shrink: 0; display: block; }

.tt-pg-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 36px;
  color: #bbb;
  font-size: 16px;
  letter-spacing: 1px;
}

.tt-pg-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #888;
  white-space: nowrap;
}

.tt-pg-select {
  border: 1.5px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  color: #222;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 28px 6px 10px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23FF7C08' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  min-width: 68px;
  transition: border-color .18s;
}
.tt-pg-select:focus {
  outline: none;
  border-color: #FF7C08;
  box-shadow: 0 0 0 3px rgba(255,124,8,.12);
}

/* Product card show/hide with fade */
.product-col {
  transition: opacity .25s ease, transform .25s ease;
}
.product-col.tt-hidden {
  display: none !important;
}
.product-col.tt-fade-in {
  animation: ttFadeIn .3s ease forwards;
}
@keyframes ttFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Empty state */
.tt-no-results {
  display: none;
  width: 100%;
  text-align: center;
  padding: 60px 20px;
  color: #aaa;
  font-size: 15px;
}
.tt-no-results i { font-size: 40px; display: block; margin-bottom: 12px; color: #ddd; }

/* Responsive */
@media (max-width: 767px) {
  .tt-pg-wrap { justify-content: center; gap: 10px; }
  .tt-pg-info { width: 100%; text-align: center; order: 3; }
  .tt-pg-right { order: 2; }
  .tt-pg-center { order: 1; width: 100%; }
  .tt-pg-btn { min-width: 34px; height: 34px; font-size: 12px; }
}

@media (max-width: 400px) {
  .tt-pg-btn { min-width: 30px; height: 30px; font-size: 11px; border-radius: 6px; }
  .tt-pg-dots { width: 24px; }
}
