/*
Theme Name: Sterilite Child Theme
Theme URI: 
Author: Affirma Consulting
Author URI: https://affirma.com
Description: A custom base child theme.
Template: hello-elementor
Version: 1.0
Requires at least: 6.9
Tested up to: 6.9
Requires at least PHP: 8.0
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

.loop-pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.loop-product-count {
  font-size: 14px;
  color: #555;
  white-space: nowrap;
}

nav.elementor-pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin: 0 !important; /* remove Elementor's default margin */
}

/* Pagination styling */
nav.elementor-pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin: 0 !important;
}

nav.elementor-pagination a.page-numbers,
nav.elementor-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-width: 36px;
  padding: 0 10px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  background: #fff;
  line-height: 1;
}

/* Previous / Next labels */
nav.elementor-pagination a.prev.page-numbers,
nav.elementor-pagination a.next.page-numbers,
nav.elementor-pagination span.prev.page-numbers,
nav.elementor-pagination span.next.page-numbers {
  padding: 0 16px;
}

/* Current (active) page */
nav.elementor-pagination span.page-numbers.current {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
  font-weight: 600;
}

/* Hover state */
nav.elementor-pagination a.page-numbers:hover {
  border-color: #999;
  color: #000;
}

/* Disabled Previous on first page */
nav.elementor-pagination span.prev.page-numbers {
  color: #aaa;
  border-color: #e0e0e0;
  cursor: default;
}
