/* ============================================
   GBM Salon PRO — Additional Custom Styles
   ============================================ */

/* Page Template Responsive Fixes */
@media (max-width: 768px) {
  .sp-page-content .sp-container > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

/* Quote Form Checkbox Styling */
.sp-page-content input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--sp-accent);
}

/* Pagination Links */
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 4px;
  border-radius: 50%;
  border: 1px solid var(--sp-border);
  color: var(--sp-text-secondary);
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.page-numbers:hover {
  border-color: var(--sp-accent);
  color: var(--sp-accent);
}

.page-numbers.current {
  background: var(--sp-accent);
  border-color: var(--sp-accent);
  color: var(--sp-text-on-accent);
}

/* Loading skeleton */
.sp-skeleton {
  background: linear-gradient(90deg, var(--sp-bg-card) 25%, var(--sp-bg-tertiary) 50%, var(--sp-bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--border-radius-md);
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Pro badge */
.sp-pro-badge {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--sp-accent-dark), var(--sp-accent));
  color: var(--sp-text-on-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--border-radius-pill);
}

/* Product badge (New, Sale) */
.sp-product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--border-radius-pill);
}

.sp-badge-new {
  background: var(--sp-accent);
  color: var(--sp-text-on-accent);
}

.sp-badge-sale {
  background: var(--sp-error);
  color: var(--sp-text-primary);
}

/* Back to top button */
.sp-back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sp-accent);
  color: var(--sp-text-on-accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.sp-back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.sp-back-to-top:hover {
  background: var(--sp-accent-light);
  transform: translateY(-2px);
}
