/* Products Page CSS — Extracted from products.php */

/* ═══════════════════════════════════════════════════════════════
   📄 PAGE LAYOUT
═══════════════════════════════════════════════════════════════ */
.products-page {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  padding-top: 72px;
}

.pg-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

/* ═══════════════════════════════════════════════════════════════
   🎭 PAGE BANNER
═══════════════════════════════════════════════════════════════ */
.page-banner {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-gold);
  background: linear-gradient(180deg, transparent, rgba(255, 215, 0, .02));
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255, 215, 0, .08) 0%, transparent 70%);
  pointer-events: none;
}

.banner-watermark {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  font-family: var(--ff-display);
  font-size: clamp(8rem, 15vw, 18rem);
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1;
  color: rgba(255, 215, 0, .03);
  pointer-events: none;
  z-index: 0;
}

.pg-container {
  position: relative;
  z-index: 1;
}

.banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp .7s .2s var(--ease-expo) forwards;
}

.banner-eyebrow-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-pure), transparent);
  box-shadow: 0 0 8px var(--gold-glow);
}

.banner-eyebrow-text {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold-pure);
}

.banner-title {
  font-family: var(--ff-display);
  font-size: clamp(3.5rem, 8vw, 9rem);
  line-height: .9;
  letter-spacing: .02em;
  font-weight: 900;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp .7s .35s var(--ease-expo) forwards;
}

.banner-title em {
  font-family: var(--ff-tech);
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-pure), var(--gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px var(--gold-glow));
}

.banner-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp .7s .5s var(--ease-expo) forwards;
}

.banner-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .7s .65s var(--ease-expo) forwards;
}

.bstat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bstat-num {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-pure), var(--gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bstat-lbl {
  font-size: .72rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 600;
}

.bstat-sep {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, var(--border-gold), transparent);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════════════
   🔧 TOOLBAR
═══════════════════════════════════════════════════════════════ */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 60px 0 48px;
  flex-wrap: wrap;
  padding: 24px 32px;
  background: var(--glass-2);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  flex: 1;
}

/* Search Box */
.search-box {
  position: relative;
  flex: 1;
  min-width: 280px;
  max-width: 400px;
}

.search-box svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  stroke: var(--text-tertiary);
  stroke-width: 2;
  fill: none;
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--ff-body);
  font-size: .9rem;
  font-weight: 500;
  transition: all .3s var(--ease-smooth);
}

.search-box input::placeholder {
  color: var(--text-tertiary);
}

.search-box input:focus {
  outline: 2px solid var(--gold-pure);
  outline-offset: 2px;
  border-color: var(--border-gold-2);
  background: var(--card-hover);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, .1), 0 4px 16px rgba(0, 0, 0, .2);
}

/* Filter Chips */
.filter-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--glass-1);
  border: 1px solid var(--border-1);
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all .3s var(--ease-smooth);
}

.chip:hover {
  background: var(--glass-2);
  border-color: var(--border-2);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.chip.active {
  background: var(--gold-bg-2);
  border-color: var(--border-gold-2);
  color: var(--gold-pure);
  box-shadow: 0 0 16px var(--gold-glow);
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-pure);
  box-shadow: 0 0 8px var(--gold-glow);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.3);
    opacity: .6;
  }
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-tertiary);
  font-weight: 600;
}

.toolbar-count {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: .04em;
  background: linear-gradient(135deg, var(--gold-pure), var(--gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Price Filter & Sort Selects */
.price-filter-select {
  padding: 10px 36px 10px 14px;
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--ff-body);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: all .3s var(--ease-smooth);
  min-width: 150px;
}

.price-filter-select:hover {
  border-color: var(--border-gold);
  background-color: var(--card-hover);
}

.price-filter-select:focus {
  border-color: var(--border-gold-2);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, .1);
}

.price-filter-select option {
  background: #111118;
  color: #eee;
  padding: 8px;
}

@media(max-width:768px) {
  .toolbar-right {
    flex-wrap: wrap;
    gap: 8px;
  }

  .price-filter-select {
    min-width: 130px;
    font-size: .76rem;
    padding: 8px 30px 8px 10px;
  }
}

/* View Toggle */
.view-toggle {
  display: flex;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  overflow: hidden;
}

.vt-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 10px;
  display: grid;
  place-items: center;
  color: var(--text-tertiary);
  transition: all .2s var(--ease-smooth);
}

.vt-btn:hover {
  color: var(--text-secondary);
  background: var(--glass-2);
}

.vt-btn.active {
  color: var(--gold);
  background: var(--gold-bg-3);
}

.vt-btn+.vt-btn {
  border-left: 1px solid var(--border-2);
}

@media(max-width:768px) {
  .view-toggle {
    display: none;
  }
}

/* List View Mode */
.products-grid.list-mode {
  grid-template-columns: 1fr;
  gap: 14px;
}

.products-grid.list-mode .pcard {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-radius: 14px;
}

.products-grid.list-mode .pcard-img {
  height: 100%;
  border-radius: 14px 0 0 14px;
}

.products-grid.list-mode .pcard-img img {
  height: 100%;
  object-fit: cover;
}

.products-grid.list-mode .pcard-body {
  padding: 18px 22px;
}

.products-grid.list-mode .pcard-topbar {
  display: none;
}

@media(max-width:768px) {
  .products-grid.list-mode {
    grid-template-columns: 1fr;
  }

  .products-grid.list-mode .pcard {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════
   🎴 PRODUCT CARDS GRID
═══════════════════════════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 100px;
}

.pcard {
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: all .4s var(--ease-smooth);
  cursor: pointer;
  opacity: 0;
  animation: fadeUp .6s var(--ease-expo) forwards;
}

.pcard[data-index="0"] {
  animation-delay: .1s;
}

.pcard[data-index="1"] {
  animation-delay: .15s;
}

.pcard[data-index="2"] {
  animation-delay: .2s;
}

.pcard[data-index="3"] {
  animation-delay: .25s;
}

.pcard[data-index="4"] {
  animation-delay: .3s;
}

.pcard[data-index="5"] {
  animation-delay: .35s;
}

.pcard::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%),
      rgba(255, 215, 0, .12) 0%, transparent 80%);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
}

.pcard:hover {
  transform: translateY(-12px);
  border-color: var(--border-gold-2);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, .5),
    0 0 0 1px var(--border-gold),
    inset 0 1px 0 rgba(255, 255, 255, .05);
}

.pcard:hover::before {
  opacity: 1;
}

/* Ribbon Styling */
.pcard-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  padding: 6px 14px;
  border-radius: 8px;
  font-family: var(--ff-display);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: linear-gradient(135deg, var(--red) 0%, #ff5e87 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 51, 102, .4), 0 0 0 1px rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Image Shimmer Sweep */
.pcard-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 4;
}

.pcard:hover .pcard-img::after {
  animation: imgShine 1.2s var(--ease-smooth);
}

@keyframes imgShine {
  0% {
    left: -150%;
  }

  100% {
    left: 150%;
  }
}

/* Skeleton Keyframes */
@keyframes skeletonShimmer {
  100% {
    transform: translateX(100%);
  }
}

/* Top Bar */
.pcard-topbar {
  height: 4px;
  background: linear-gradient(90deg,
      var(--gold-dark), var(--gold-pure), var(--gold-bright), var(--gold-pure), var(--gold-dark));
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease-expo);
  box-shadow: 0 0 12px var(--gold-glow);
}

.pcard:hover .pcard-topbar {
  transform: scaleX(1);
  animation: topbarShine 2s ease-in-out infinite;
}

@keyframes topbarShine {
  to {
    background-position: 200% 0%;
  }
}

/* Image */
.pcard-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--lift) 0%, var(--card-hover) 100%);
}

.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-smooth);
}

.pcard:hover .pcard-img img {
  transform: scale(1.08);
}

.pcard-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(255, 215, 0, .05), rgba(255, 215, 0, .02));
}

.placeholder-icon {
  font-size: 3rem;
  opacity: .5;
}

.placeholder-text {
  font-size: .85rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 600;
}

.pcard-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .8) 100%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}

.pcard:hover .pcard-img-overlay {
  opacity: 1;
}

.pcard-quick {
  display: block;
  position: relative;
  z-index: 5;
  margin: -28px auto 0;
  width: fit-content;
  padding: 11px 28px;
  background: rgba(10, 10, 15, .85);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--border-gold-2);
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold-pure);
  opacity: 0;
  transform: translateY(12px);
  transition: all .4s var(--ease-smooth);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .5), 0 0 0 1px var(--border-gold), inset 0 1px 0 rgba(255, 255, 255, .06);
  text-shadow: 0 0 12px var(--gold-glow);
  text-align: center;
}

.pcard-quick:hover {
  background: rgba(255, 215, 0, .15);
  border-color: var(--gold-pure);
  box-shadow: 0 8px 32px var(--gold-glow-2), 0 0 0 1px var(--border-gold-2), inset 0 1px 0 rgba(255, 255, 255, .1);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

.pcard:hover .pcard-quick {
  opacity: 1;
  transform: translateY(0);
}

/* Body */
.pcard-body {
  padding: 28px 28px 24px;
}

.pcard-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.pcard-desc {
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 400;
}

/* Rating Stars */
.pcard-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.stars-row {
  display: flex;
  gap: 1px;
}

.star {
  font-size: .9rem;
  line-height: 1;
}

.star-full {
  color: #ffd700;
  text-shadow: 0 0 6px rgba(255, 215, 0, .4);
}

.star-half {
  color: #ffd700;
  opacity: .6;
}

.star-empty {
  color: #555a70;
  opacity: 1;
}

.rating-text {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-tertiary);
  font-family: var(--ff-tech);
  letter-spacing: .02em;
}

/* Footer */

.pcard-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-amount {
  font-family: var(--ff-display);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-pure), var(--gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-unit {
  font-size: .7rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
}

.pcard-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.pbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: all .3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
}

.pbtn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pbtn-ghost {
  background: var(--glass-1);
  border: 1px solid var(--border-2);
  color: var(--text-secondary);
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.pbtn-ghost:hover {
  background: var(--glass-2);
  border-color: var(--border-gold);
  color: var(--gold-pure);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}

.pbtn-gold {
  background: linear-gradient(135deg, var(--gold-dim), var(--gold-pure), var(--gold-bright));
  background-size: 200% 200%;
  color: var(--void-deep);
  fill: currentColor;
  box-shadow: 0 4px 16px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.pbtn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .3), transparent);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform .6s;
}

.pbtn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--gold-glow-2), inset 0 1px 0 rgba(255, 255, 255, .4);
  background-position: 100% 0%;
}

.pbtn-gold:hover::before {
  transform: translateX(100%) skewX(-15deg);
}

/* Button Label */
.pbtn-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}

/* Footer Layout Improvements */
.pcard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 22px;
  border-top: 1px solid var(--border-1);
  gap: 12px;
  background: linear-gradient(180deg, transparent, rgba(255, 215, 0, .02));
  flex-wrap: wrap;
}

/* Bottom Glow */
.pcard::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-pure), transparent);
  opacity: 0;
  transition: opacity .5s;
  filter: blur(2px);
  box-shadow: 0 0 16px var(--gold-glow);
  z-index: 1;
}

.pcard:hover::after {
  opacity: .8;
}

/* ═══════════════════════════════════════════════════════════════
   📭 EMPTY STATE
═══════════════════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 100px 20px;
  opacity: 0;
  animation: fadeUp .7s .3s var(--ease-expo) forwards;
}

.empty-icon {
  font-size: 6rem;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 20px var(--gold-glow));
}

.empty-title {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: .06em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--gold-pure), var(--gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.empty-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto;
}

.empty-text code {
  background: var(--gold-bg-1);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  padding: 2px 8px;
  font-family: var(--ff-tech);
  font-size: .9em;
  color: var(--gold-pure);
}

/* ═══════════════════════════════════════════════════════════════
   📱 RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media(max-width:1024px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media(max-width:768px) {
  .nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .page-banner {
    padding: 80px 0 60px;
  }

  .banner-title {
    font-size: clamp(3rem, 10vw, 5rem);
  }

  .banner-watermark {
    font-size: clamp(6rem, 12vw, 10rem);
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }

  .toolbar-left {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    max-width: 100%;
  }

  .toolbar-right {
    justify-content: center;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media(max-width:480px) {
  .banner-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .banner-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .bstat-sep {
    display: none;
  }

  .pcard-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .pcard-actions {
    width: 100%;
  }

  .pbtn {
    flex: 1;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ⬆️ SCROLL TOP BUTTON
═══════════════════════════════════════════════════════════════ */
#scrollTop.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#scrollTop:hover {
  background: rgba(255, 215, 0, .12);
  border-color: rgba(255, 215, 0, .4);
  box-shadow: 0 8px 32px rgba(255, 215, 0, .3), 0 0 0 1px rgba(255, 215, 0, .15);
  transform: translateY(-4px) scale(1.05);
}

#scrollTop:active {
  transform: translateY(-1px) scale(.96);
}

/* ═══════════════════════════════════════════════════════════════
   ⏳ PAGE LOADER
═══════════════════════════════════════════════════════════════ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s, visibility .6s;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid rgba(255, 215, 0, .1);
  border-top-color: #FFD700;
  animation: spin .8s linear infinite;
}

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

/* ═══════════════════════════════════════════════════════════════
   FOCUS STYLES (WCAG 2.1 AA)
═══════════════════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--gold-pure);
  outline-offset: 2px;
}

.search-box input:focus-visible {
  outline: 2px solid var(--gold-pure);
  outline-offset: 2px;
}

.chip:focus-visible {
  box-shadow: 0 0 0 4px rgba(255, 215, 0, .3);
}

.price-filter-select:focus-visible {
  outline: 2px solid var(--gold-pure);
  outline-offset: 2px;
}

.vt-btn:focus-visible {
  outline: 2px solid var(--gold-pure);
  outline-offset: 2px;
}

.pcard:focus-within {
  border-color: var(--border-gold-2);
  box-shadow: 0 0 0 4px rgba(255, 215, 0, .15);
}

.pcard-quick:focus-visible {
  outline: 2px solid var(--gold-pure);
  outline-offset: 2px;
  opacity: 1;
  transform: translateY(0);
}

.pbtn:focus-visible {
  box-shadow: 0 0 0 4px rgba(255, 215, 0, .3);
}

#scrollTop:focus-visible {
  outline: 2px solid var(--gold-pure);
  outline-offset: 2px;
}

/* ═══ Reduced Motion ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
