/*
 * Premium Custom CSS — SellAuth Extraordinary Theme
 * This file will not be overwritten by theme updates.
 */

/* Star Rating — Golden Shimmer */
.star-gold {
  color: #fbbf24;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.3));
}

/* Icon Glow Circle */
.icon-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(var(--cl-accent), 0.1);
  border: 1px solid rgba(var(--cl-accent), 0.15);
  transition: all 0.3s ease;
}

.icon-glow:hover,
.group:hover .icon-glow {
  background: rgba(var(--cl-accent), 0.15);
  box-shadow: 0 0 20px -5px rgba(var(--cl-accent), 0.25);
}

/* Section Divider */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  border: none;
  margin: 2rem 0;
}

/* Smooth Image Overlay on Hover */
.image-overlay {
  position: relative;
  overflow: hidden;
}

.image-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.2));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}

.image-overlay:hover::after {
  opacity: 1;
}

/* Badge Pill Style */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Quantity Control — Rounded Pill */
.qty-control {
  display: flex;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.qty-control:focus-within {
  border-color: rgba(var(--cl-accent), 0.4);
  box-shadow: 0 0 15px -5px rgba(var(--cl-accent), 0.15);
}

/* Tab Pill — Active State */
.tab-pill {
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.tab-pill.active {
  background: rgba(var(--cl-accent), 0.1);
  color: rgba(var(--cl-accent), 1);
  border-color: rgba(var(--cl-accent), 0.2);
}

.tab-pill:not(.active):hover {
  background: rgba(255, 255, 255, 0.03);
}

/* ══════════════════════════════════════════
   CARD IMAGE FRAME — WingBoost-style accent glow
   ══════════════════════════════════════════ */
.card-image-frame {
  position: relative;
  border: 1px solid rgba(var(--cl-accent), 0.15);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.4s ease;
}

.card-image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 20px -5px rgba(var(--cl-accent), 0.1);
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 1;
}

.group:hover .card-image-frame {
  border-color: rgba(var(--cl-accent), 0.35);
}

.group:hover .card-image-frame::before {
  box-shadow: inset 0 0 30px -5px rgba(var(--cl-accent), 0.2);
}

/* ══════════════════════════════════════════
   CARD GLOW HALO — Radial accent glow behind card
   ══════════════════════════════════════════ */
.card-glow-halo {
  position: relative;
}

.card-glow-halo::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 1.25rem;
  background: radial-gradient(ellipse at center, rgba(var(--cl-accent), 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: -1;
}

.card-glow-halo:hover::before {
  opacity: 1;
}

/* ══════════════════════════════════════════
   VIEW DETAILS — Shimmer on hover
   ══════════════════════════════════════════ */
.btn-view-details {
  position: relative;
  overflow: hidden;
}

.btn-view-details::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(var(--cl-accent), 0.08), transparent);
  transition: none;
  pointer-events: none;
}

.group:hover .btn-view-details::after {
  animation: btn-shimmer 0.6s ease forwards;
}

@keyframes btn-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Notification Toast Styling */
.toast-glass {
  background: rgba(var(--cl-card), 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
