﻿/* =========================================================
 * custom.css — استایل‌های سفارشی برگنو
 * ========================================================= */

/* ===== اسکلتون لودر ===== */
.skeleton {
  height: 96px;
  border-radius: 1rem;
  background: linear-gradient(90deg, #eee6d6 25%, #f7f1e6 37%, #eee6d6 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}
@keyframes shimmer {
  0%   { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* ===== کارت بسته ===== */
.package-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  background: #fff;
  border: 1.5px solid #E3D4A8;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all .2s ease;
}
.package-card:hover {
  border-color: #3D5A3D;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(61, 90, 61, .35);
}
.package-card.is-locked { cursor: pointer; }
.package-card .pkg-price { color: #3D5A3D; font-weight: 800; font-size: 1rem; }
.package-card .pkg-price small { font-weight: 400; font-size: .7rem; color: #7A6A52; }
.package-card .pkg-title { color: #3D5A3D; font-weight: 700; font-size: .95rem; }
.package-card .pkg-sub { color: #7A6A52; font-size: .8rem; }
.package-card .pkg-icon { font-size: 1.25rem; }

/* ===== اسکرول نرم ===== */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

/* ===== توست ===== */
#toast.show { display: block !important; animation: fadeIn .3s ease-out; }

/* ===== بادی قفل هنگام پرداخت ===== */
body.is-busy { opacity: .65; pointer-events: none; }

/* ===== خاموش کردن انیمیشن برای کاهش حرکت ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== بهبود فوکوس برای دسترس‌پذیری ===== */
a:focus-visible, button:focus-visible {
  outline: 2px solid #C9A961;
  outline-offset: 2px;
  border-radius: .5rem;
}
