:root {
  --whs-hero-bg: #1e3a8a;
  --whs-hero-overlay: 0.6;
  --whs-grid-columns: 3;
  --whs-primary: #2563eb;
  --whs-primary-hover: #1d4ed8;
  --whs-secondary: #64748b;
  --whs-secondary-hover: #475569;
  --whs-success: #16a34a;
  --whs-danger: #dc2626;
  --whs-warning: #d97706;
  --whs-text: #1e293b;
  --whs-text-muted: #64748b;
  --whs-bg: #ffffff;
  --whs-bg-muted: #f8fafc;
  --whs-border: #e2e8f0;
  --whs-radius-sm: 6px;
  --whs-radius: 12px;
  --whs-radius-lg: 16px;
  --whs-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --whs-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --whs-shadow-lg:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  --whs-transition: 150ms ease-in-out;
  --whs-font: inherit;
}

.whs-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.whs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: none;
  border-radius: var(--whs-radius-sm);
  font-family: var(--whs-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--whs-transition);
  white-space: nowrap;
  box-sizing: border-box;
}

.whs-btn-primary {
  background-color: var(--whs-primary);
  color: #fff;
}

.whs-btn-primary:hover:not(:disabled):not(.whs-btn-disabled) {
  background-color: var(--whs-primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--whs-shadow);
}

.whs-btn-secondary {
  background-color: transparent;
  color: var(--whs-secondary);
  border: 1px solid var(--whs-border);
}

.whs-btn-secondary:hover {
  background-color: var(--whs-bg-muted);
  color: var(--whs-text);
  border-color: var(--whs-secondary);
}

.whs-btn-disabled,
.whs-btn:disabled {
  background-color: var(--whs-bg-muted);
  color: var(--whs-text-muted);
  cursor: not-allowed;
  border: 1px solid var(--whs-border);
}

.whs-hero-section {
  position: relative;
  padding: 100px 0;
  background-color: var(--whs-hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}

.whs-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--whs-hero-bg);
  opacity: var(--whs-hero-overlay);
  z-index: 1;
}

.whs-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
  padding: 40px 20px;
}

.whs-hero-heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 20px;
  color: #fff;
  letter-spacing: -0.02em;
}

.whs-hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 36px;
}

.whs-hero-cta {
  padding: 16px 36px;
  font-size: 16px;
  background-color: #fff;
  color: var(--whs-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.whs-hero-cta:hover {
  background-color: var(--whs-bg-muted);
  color: var(--whs-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.whs-products-section {
  padding: 64px 0;
  background-color: var(--whs-bg-muted);
}

.whs-products-section:only-of-type {
  padding-top: 80px;
}

.whs-products-grid {
  display: grid;
  grid-template-columns: repeat(var(--whs-grid-columns), minmax(0, 1fr));
  gap: 24px;
}

.whs-products-grid.columns-2 {
  --whs-grid-columns: 2;
}
.whs-products-grid.columns-3 {
  --whs-grid-columns: 3;
}
.whs-products-grid.columns-4 {
  --whs-grid-columns: 4;
}

.whs-product-card {
  display: flex;
  flex-direction: column;
  background-color: var(--whs-bg);
  border-radius: var(--whs-radius);
  box-shadow: var(--whs-shadow-sm);
  overflow: hidden;
  transition:
    transform var(--whs-transition),
    box-shadow var(--whs-transition);
  margin: 0;
  list-style: none;
}

.whs-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--whs-shadow-lg);
}

.whs-product-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: var(--whs-bg-muted);
  overflow: hidden;
}

.whs-product-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.whs-product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease-in-out;
  display: block;
}

.whs-product-card:hover .whs-product-image-wrap img {
  transform: scale(1.05);
}

.whs-product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
}

.whs-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: var(--whs-shadow-sm);
}

.whs-badge-sale {
  background-color: var(--whs-danger);
  color: #fff;
}

.whs-badge-in {
  background-color: var(--whs-success);
  color: #fff;
  margin-left: auto;
}

.whs-badge-out {
  background-color: var(--whs-text-muted);
  color: #fff;
  margin-left: auto;
}

.whs-product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 20px;
}

.whs-product-meta {
  min-height: 18px;
}

.whs-term {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--whs-transition);
}

.whs-term-cat {
  color: var(--whs-primary);
}

.whs-term-cat:hover {
  color: var(--whs-primary-hover);
  text-decoration: underline;
}

.whs-term-tag {
  font-size: 11px;
  color: var(--whs-text-muted);
  background-color: var(--whs-bg-muted);
  padding: 3px 8px;
  border-radius: 999px;
  margin-right: 4px;
  margin-bottom: 4px;
}

.whs-term-tag:hover {
  color: var(--whs-primary);
  background-color: rgba(37, 99, 235, 0.08);
}

.whs-product-title {
  font-size: 18px;
  line-height: 1.35;
  margin: 0;
  font-weight: 700;
}

.whs-product-title a {
  color: var(--whs-text);
  text-decoration: none;
  transition: color var(--whs-transition);
}

.whs-product-title a:hover {
  color: var(--whs-primary);
}

.whs-product-price {
  min-height: 26px;
}

.whs-product-price .price {
  margin: 0;
  line-height: 1.3;
}

.whs-product-price ins {
  background: transparent;
  text-decoration: none;
  font-weight: 700;
  color: var(--whs-danger);
  font-size: 18px;
}

.whs-product-price del {
  color: var(--whs-text-muted);
  font-size: 14px;
  margin-right: 6px;
}

.whs-product-price .woocommerce-Price-amount.amount {
  font-size: 16px;
  font-weight: 700;
  color: var(--whs-text);
}

.whs-product-desc {
  color: var(--whs-text-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.whs-product-desc p {
  margin: 0;
}

.whs-product-variations-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background-color: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: var(--whs-primary);
  border-radius: var(--whs-radius-sm);
  font-size: 13px;
  font-weight: 500;
}

.whs-variations-icon {
  font-size: 14px;
}

.whs-product-tags {
  display: flex;
  flex-wrap: wrap;
}

.whs-product-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
  flex-wrap: wrap;
}

.whs-product-actions .whs-btn {
  flex: 1;
  min-width: 0;
  padding: 10px 16px;
  font-size: 14px;
}

.whs-view-details-btn {
  flex: 0 0 auto;
}

.whs-empty-state {
  text-align: center;
  padding: 80px 20px;
  background-color: var(--whs-bg);
  border-radius: var(--whs-radius);
  box-shadow: var(--whs-shadow-sm);
}

.whs-empty-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--whs-text);
  margin: 0 0 10px;
}

.whs-empty-desc {
  color: var(--whs-text-muted);
  margin: 0 0 24px;
  font-size: 15px;
}

.whs-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.whs-modal.is-open {
  display: flex;
}

.whs-modal[aria-hidden="false"] {
  display: flex;
}

body.whs-modal-open {
  overflow: hidden;
}

.whs-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
  animation: whsFadeIn 150ms ease-out;
}

@keyframes whsFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.whs-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  background-color: var(--whs-bg);
  border-radius: var(--whs-radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: whsSlideUp 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.whs-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: var(--whs-bg-muted);
  color: var(--whs-text-muted);
  border-radius: 999px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: all var(--whs-transition);
  z-index: 2;
}

.whs-modal-close:hover {
  background-color: var(--whs-border);
  color: var(--whs-text);
}

.whs-modal-header {
  padding: 24px 48px 16px 24px;
  border-bottom: 1px solid var(--whs-border);
  flex-shrink: 0;
}

.whs-modal-title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  color: var(--whs-text);
}

.whs-modal-product-name {
  font-size: 15px;
  color: var(--whs-text-muted);
  font-weight: 500;
}

.whs-modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.whs-modal-loading {
  text-align: center;
  padding: 32px 0;
  color: var(--whs-text-muted);
}

.whs-spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  border: 3px solid var(--whs-border);
  border-top-color: var(--whs-primary);
  border-radius: 50%;
  animation: whsSpin 800ms linear infinite;
}

@keyframes whsSpin {
  to {
    transform: rotate(360deg);
  }
}

.whs-variations-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.whs-variation-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--whs-radius);
  background-color: var(--whs-bg-muted);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whs-variation-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.whs-variation-attribute {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.whs-variation-attribute label {
  font-size: 14px;
  font-weight: 600;
  color: var(--whs-text);
}

.whs-variation-attribute select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--whs-border);
  border-radius: var(--whs-radius-sm);
  font-family: var(--whs-font);
  font-size: 15px;
  color: var(--whs-text);
  background-color: var(--whs-bg);
  transition:
    border-color var(--whs-transition),
    box-shadow var(--whs-transition);
  box-sizing: border-box;
}

.whs-variation-attribute select:focus {
  outline: none;
  border-color: var(--whs-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.whs-variation-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--whs-text);
  min-height: 24px;
}

.whs-variation-price del {
  color: var(--whs-text-muted);
  font-size: 14px;
  margin-right: 6px;
  font-weight: 500;
}

.whs-variation-price ins {
  text-decoration: none;
  color: var(--whs-danger);
}

.whs-variation-quantity {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.whs-variation-quantity label {
  font-size: 14px;
  font-weight: 600;
  color: var(--whs-text);
}

.whs-qty-input {
  width: 90px;
  padding: 10px 12px;
  border: 1px solid var(--whs-border);
  border-radius: var(--whs-radius-sm);
  font-family: var(--whs-font);
  font-size: 15px;
  color: var(--whs-text);
  box-sizing: border-box;
}

.whs-qty-input:focus {
  outline: none;
  border-color: var(--whs-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.whs-modal-errors {
  color: var(--whs-danger);
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
}

.whs-modal-footer {
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid var(--whs-border);
  background-color: var(--whs-bg-muted);
  flex-shrink: 0;
  justify-content: flex-end;
}

.whs-modal-footer .whs-btn {
  min-width: 120px;
}

.whs-btn-loader {
  display: inline-flex;
  align-items: center;
}

.whs-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 14px 22px;
  background-color: var(--whs-text);
  color: #fff;
  border-radius: var(--whs-radius-sm);
  box-shadow: var(--whs-shadow-lg);
  font-size: 14px;
  font-weight: 500;
  z-index: 999999;
  opacity: 0;
  transition:
    opacity 200ms ease-out,
    transform 200ms ease-out;
  pointer-events: none;
  max-width: calc(100vw - 40px);
  text-align: center;
}

.whs-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.whs-toast.is-error {
  background-color: var(--whs-danger);
}

.whs-toast.is-success {
  background-color: var(--whs-success);
}

@media (max-width: 1024px) {
  .whs-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .whs-products-grid.columns-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .whs-hero-section {
    padding: 64px 0;
  }

  .whs-hero-content {
    padding: 20px 16px;
  }

  .whs-products-section {
    padding: 40px 0;
  }

  .whs-products-grid,
  .whs-products-grid.columns-2,
  .whs-products-grid.columns-3,
  .whs-products-grid.columns-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .whs-product-body {
    padding: 16px;
    gap: 10px;
  }

  .whs-product-title {
    font-size: 16px;
  }

  .whs-product-actions {
    flex-direction: column;
  }

  .whs-product-actions .whs-btn {
    width: 100%;
  }

  .whs-modal-header {
    padding: 20px 44px 12px 20px;
  }

  .whs-modal-body {
    padding: 20px;
  }

  .whs-modal-footer {
    padding: 16px 20px;
    flex-direction: column-reverse;
  }

  .whs-modal-footer .whs-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .whs-products-grid,
  .whs-products-grid.columns-2,
  .whs-products-grid.columns-3,
  .whs-products-grid.columns-4 {
    grid-template-columns: 1fr;
  }

  .whs-hero-cta {
    width: 100%;
  }
}

.whs-single-buy-now {
  /* Visual style intentionally left blank to inherit from your theme's
     `.button`, `.button.alt`, and `.single_add_to_cart_button` rules.
     Color, background, padding, border-radius, shadows are driven by the
     active theme/WooCommerce so the button blends naturally with Add to cart.
     You can still override via child-theme CSS targeting `.whs-single-buy-now`
     if you want a custom accent color. */
}

/* Buy Now buttons in the product cards intentionally inherit the active
   theme's WooCommerce button color. The plugin's `.whs-btn-primary` class is
   NOT applied to these buttons, so the theme's `.button.alt` /
   `.single_add_to_cart_button` rules take full control of the background,
   text color, and hover states. No override rules are needed here because
   the plugin's base `.whs-btn` class does not set background-color or color. */

.woocommerce div.product form.cart .whs-single-buy-now {
  margin-left: 8px;
}

@media (max-width: 768px) {
  .woocommerce div.product form.cart {
    flex-wrap: wrap;
    gap: 10px;
  }
  .woocommerce div.product form.cart .single_add_to_cart_button,
  .woocommerce div.product form.cart .whs-single-buy-now {
    flex: 1 1 100%;
    margin-left: 0 !important;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .woocommerce div.product form.cart .quantity,
  .woocommerce div.product form.cart .single_add_to_cart_button,
  .woocommerce div.product form.cart .whs-single-buy-now {
    display: block;
    width: 100% !important;
    float: none !important;
    margin: 0 0 8px 0 !important;
  }
  .woocommerce div.product form.cart .quantity {
    margin-bottom: 10px;
  }
}

/* ============================================================
   PRODUCT FILTERS
   ============================================================ */

.whs-shop-layout {
  display: block;
}

.whs-shop-layout.has-filters {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.whs-shop-layout .whs-filters {
  position: sticky;
  top: 20px;
}

.whs-filters {
  background-color: var(--whs-bg);
  border: 1px solid var(--whs-border);
  border-radius: var(--whs-radius);
  box-shadow: var(--whs-shadow-sm);
  margin-bottom: 32px;
  overflow: hidden;
}

.whs-filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--whs-border);
}

.whs-filters-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--whs-text);
}

.whs-filters-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--whs-border);
  border-radius: var(--whs-radius-sm);
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--whs-text);
  cursor: pointer;
  transition: all var(--whs-transition);
}

.whs-filters-toggle:hover {
  border-color: var(--whs-primary);
  color: var(--whs-primary);
}

.whs-filters-body {
  padding: 20px;
}

.whs-filter-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.whs-filter-group {
  border: none;
  padding: 0 0 24px;
  margin: 0 0 24px;
  min-width: 0;
  border-bottom: 1px solid var(--whs-border);
}

.whs-filter-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.whs-filter-group-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--whs-text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 12px;
  display: block;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--whs-border);
}

.whs-filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
}

.whs-filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--whs-text);
  cursor: pointer;
  line-height: 1.4;
}

.whs-filter-option input[type="checkbox"],
.whs-filter-option input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--whs-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.whs-filter-option-label {
  font-weight: 500;
}

.whs-filter-option-count {
  color: var(--whs-text-muted);
  font-size: 12px;
}

.whs-filter-option:hover .whs-filter-option-label {
  color: var(--whs-primary);
}

.whs-filter-price-inputs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.whs-filter-price-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--whs-text-muted);
}

.whs-filter-price-label input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--whs-border);
  border-radius: var(--whs-radius-sm);
  font-family: var(--whs-font);
  font-size: 15px;
  color: var(--whs-text);
  box-sizing: border-box;
}

.whs-filter-price-label input:focus {
  outline: none;
  border-color: var(--whs-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.whs-filter-hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--whs-text-muted);
}

.whs-filter-switch {
  margin-bottom: 4px;
}

.whs-filter-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
  border-top: 1px solid var(--whs-border);
}

/* ============================================================
   RESULTS AREA
   ============================================================ */

.whs-results {
  position: relative;
}

.whs-results.is-loading {
  opacity: 0.6;
  pointer-events: none;
  transition: opacity var(--whs-transition);
}

.whs-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  min-height: 32px;
}

.whs-result-count {
  font-size: 15px;
  font-weight: 600;
  color: var(--whs-text-muted);
}

.whs-results-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--whs-text-muted);
}

.whs-spinner-mini {
  width: 18px;
  height: 18px;
  border: 2px solid var(--whs-border);
  border-top-color: var(--whs-primary);
  border-radius: 50%;
  animation: whsSpin 700ms linear infinite;
  display: inline-block;
}

.whs-results-footer {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* ============================================================
   PAGINATION
   ============================================================ */

.whs-pagination {
  display: flex;
  justify-content: center;
}

.whs-pagination-list {
  display: flex;
  list-style: none;
  gap: 6px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.whs-pagination-list li {
  margin: 0;
}

.whs-pagination-list .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background-color: var(--whs-bg);
  color: var(--whs-text);
  border: 1px solid var(--whs-border);
  border-radius: var(--whs-radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--whs-transition);
}

.whs-pagination-list .page-numbers:hover {
  border-color: var(--whs-primary);
  color: var(--whs-primary);
}

.whs-pagination-list .page-numbers.current {
  background-color: var(--whs-primary);
  border-color: var(--whs-primary);
  color: #fff;
}

.whs-pagination-list .page-numbers.dots {
  border: none;
  background: none;
}

/* ============================================================
   FILTERS RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .whs-shop-layout.has-filters {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .whs-shop-layout .whs-filters {
    position: static;
    margin-bottom: 24px;
  }

  .whs-filters-toggle {
    display: inline-flex;
  }

  .whs-filters-body {
    display: none;
    padding: 16px;
  }

  .whs-filters-body.is-open {
    display: block;
  }

  .whs-filter-form {
    flex-direction: column;
    gap: 0;
  }

  .whs-filter-group {
    padding-bottom: 20px;
    margin-bottom: 20px;
  }

  .whs-filter-actions {
    justify-content: stretch;
  }

  .whs-filter-actions .whs-btn {
    width: 100%;
  }
}
