/* ============ shop.css — فروشگاه نغمه (Neon 3D Cyber — برگرفته از نمونه) ============ */

/* ---------- پس‌زمینهٔ سایبری (دقیقاً مطابق نمونه) ---------- */
.shop-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 255, 255, .06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(255, 0, 128, .06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 0%, rgba(128, 0, 255, .06) 0%, transparent 50%),
    #0a0a0f;
}

.breadcrumb {
  margin-top: 2rem;
  color: #fff5;
}

.listing-header {
  padding-bottom: 1rem;
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(0, 255, 255, .4);
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

/* محتوای فروشگاه روی پس‌زمینه */
body .app,
body .footer {
  position: relative;
  z-index: 1;
}

/* پنل اصلی شفاف تا پس‌زمینهٔ سایبری دیده شود */
.shop-page .main {
  background: transparent !important;
}

/* ---------- هیروی ساده (بدون بکگراند و بدون stats) ---------- */
.shop-hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 30px 10px 10px;
  margin-bottom: 6px;
}

.shop-hero__title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #0ff, #f0f, #0ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: neonShimmer 3s linear infinite;
  filter: drop-shadow(0 0 18px rgba(0, 255, 255, .4));
}

@keyframes neonShimmer {
  to {
    background-position: 200% center;
  }
}

.shop-hero__desc {
  color: rgba(255, 255, 255, .45);
  font-size: 1rem;
  margin-top: 8px;
  letter-spacing: 1px;
}

/* ---------- نوار ابزار ---------- */
.shop-toolbar {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .07);
  backdrop-filter: blur(10px);
}

/* سوییچ نوع محصول */
.type-toggle {
  display: inline-flex;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 99px;
  padding: 4px;
  gap: 2px;
}

.type-toggle button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .7);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.84rem;
  font-family: inherit;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}

.type-toggle button.is-active {
  background: linear-gradient(135deg, #00ffff, #ff0080);
  color: #06060a;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(0, 255, 255, .4);
}

/* فیلد کشویی دسته‌بندی با جست‌وجو */
.cat-select {
  position: relative;
  min-width: 210px;
}

.cat-select__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  font-family: inherit;
  font-size: 0.86rem;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.cat-select__btn:hover,
.cat-select.is-open .cat-select__btn {
  border-color: rgba(0, 255, 255, .5);
  box-shadow: 0 0 14px rgba(0, 255, 255, .2);
}

.cat-select__btn .cs-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cat-select__btn .cs-chevron {
  transition: transform .25s ease;
  color: rgba(255, 255, 255, .5);
}

.cat-select.is-open .cs-chevron {
  transform: rotate(180deg);
}

.cat-select__panel {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  width: 100%;
  z-index: 30;
  background: rgba(14, 12, 20, .96);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6), 0 0 20px rgba(0, 255, 255, .12);
  backdrop-filter: blur(16px);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.cat-select.is-open .cat-select__panel {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.cat-select__search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.cat-select__search i {
  color: rgba(255, 255, 255, .4);
  font-size: 0.8rem;
}

.cat-select__search input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.84rem;
}

.cat-select__list {
  max-height: 240px;
  overflow-y: auto;
  padding: 6px;
}

.cat-select__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, .8);
  transition: background .18s ease, color .18s ease;
}

.cat-select__opt:hover {
  background: rgba(255, 255, 255, .06);
}

.cat-select__opt.is-active {
  background: rgba(0, 255, 255, .12);
  color: #00ffff;
}

.cat-select__opt i {
  width: 18px;
  text-align: center;
  color: var(--opt-color, #00ffff);
}

.cat-select__opt .cs-count {
  margin-inline-start: auto;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, .35);
}

.cat-select__empty {
  padding: 16px;
  text-align: center;
  color: rgba(255, 255, 255, .35);
  font-size: 0.82rem;
}

/* جست‌وجوی محصول + مرتب‌سازی (سبک سایبری) */
.shop-toolbar .search {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.shop-toolbar .search:focus-within {
  border-color: rgba(255, 0, 128, .5);
  box-shadow: 0 0 14px rgba(255, 0, 128, .2);
}

.shop-toolbar .search input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.86rem;
}

.shop-toolbar .search span svg,
.shop-toolbar .search span {
  color: rgba(255, 255, 255, .4);
}

.shop-toolbar .sort {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.shop-toolbar .sort__select {
  appearance: none;
  -webkit-appearance: none;
  padding: 10px 38px 10px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  font-family: inherit;
  font-size: 0.86rem;
  cursor: pointer;
}

.shop-toolbar .sort__select option {
  background: #14121c;
  color: #fff;
}

.shop-toolbar .sort__icon {
  position: absolute;
  inset-inline-end: 12px;
  pointer-events: none;
  color: rgba(255, 255, 255, .5);
  display: inline-flex;
}

/* دکمهٔ سبد خرید (غیرfixed، داخل تولبار) */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, .35);
  background: rgba(255, 215, 0, .08);
  color: #ffd700;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(255, 215, 0, .15);
  transition: transform .15s ease, box-shadow .25s ease, background .25s ease;
}

.cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(255, 215, 0, .35);
  background: rgba(255, 215, 0, .14);
}

.cart-btn.has-items {
  animation: cartGlow 1.8s ease-in-out infinite;
}

@keyframes cartGlow {

  0%,
  100% {
    box-shadow: 0 0 14px rgba(255, 215, 0, .15);
  }

  50% {
    box-shadow: 0 0 24px rgba(255, 215, 0, .4);
  }
}

.cart-btn__count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  background: #ffd700;
  color: #06060a;
}

/* ---------- گرید محصولات ---------- */
.shop-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  padding-bottom: 10px;
}

.shop-grid .empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: rgba(255, 255, 255, .4);
}

/* ---------- کارت نئونی سه‌بعدی (برگرفته از نمونه) ---------- */
.card-wrapper {
  perspective: 1000px;
  display: flex;
  justify-content: center;
}

.neon-card {
  position: relative;
  width: 100%;
  min-height: 470px;
  border-radius: 20px;
  transform-style: preserve-3d;
  transition: transform .1s ease-out, box-shadow .3s ease, border-color .3s ease;
  cursor: pointer;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .05);
  overflow: hidden;
}

.neon-card.cyan {
  --neon: #00ffff;
  --neon-dim: rgba(0, 255, 255, .3);
  --neon-glow: rgba(0, 255, 255, .15);
  --neon-rgb: 0, 255, 255;
}

.neon-card.pink {
  --neon: #ff0080;
  --neon-dim: rgba(255, 0, 128, .3);
  --neon-glow: rgba(255, 0, 128, .15);
  --neon-rgb: 255, 0, 128;
}

.neon-card.purple {
  --neon: #bf00ff;
  --neon-dim: rgba(191, 0, 255, .3);
  --neon-glow: rgba(191, 0, 255, .15);
  --neon-rgb: 191, 0, 255;
}

.neon-card.green {
  --neon: #39ff14;
  --neon-dim: rgba(57, 255, 20, .3);
  --neon-glow: rgba(57, 255, 20, .15);
  --neon-rgb: 57, 255, 20;
}

.neon-card.orange {
  --neon: #ff6e00;
  --neon-dim: rgba(255, 110, 0, .3);
  --neon-glow: rgba(255, 110, 0, .15);
  --neon-rgb: 255, 110, 0;
}

.neon-card.gold {
  --neon: #ffd700;
  --neon-dim: rgba(255, 215, 0, .3);
  --neon-glow: rgba(255, 215, 0, .15);
  --neon-rgb: 255, 215, 0;
}

.neon-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  z-index: 0;
  opacity: 0;
  transition: opacity .3s ease;
  background: linear-gradient(135deg, var(--neon-dim), transparent 60%, var(--neon-dim));
}

.neon-card:hover::before {
  opacity: 1;
}

.neon-card:hover {
  box-shadow:
    0 0 20px var(--neon-glow),
    0 0 60px var(--neon-glow),
    0 20px 60px rgba(0, 0, 0, .4),
    inset 0 0 30px var(--neon-glow);
  border-color: var(--neon-dim);
}

.card-inner {
  padding: 22px;
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--neon);
  border: 1px solid var(--neon-dim);
  background: rgba(var(--neon-rgb), .08);
  margin-bottom: 14px;
  width: fit-content;
  text-shadow: 0 0 10px var(--neon-dim);
  box-shadow: 0 0 10px var(--neon-glow);
  transform: translateZ(10px);
}

.card-image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  background: rgba(var(--neon-rgb), .04);
  border: 1px solid rgba(var(--neon-rgb), .1);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(30px);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  transition: transform .35s ease;
}

.neon-card:hover .card-image img {
  transform: scale(1.06);
}

.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(135deg, transparent 40%, rgba(var(--neon-rgb), .12) 100%);
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--neon-dim) 0%, transparent 70%);
  filter: blur(30px);
  animation: orbPulse 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes orbPulse {

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

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

.card-cat {
  font-size: 0.74rem;
  color: var(--neon);
  opacity: .85;
  margin-bottom: 4px;
  transform: translateZ(15px);
}

.card-cat i {
  margin-inline-end: 4px;
}

.card-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.5;
  transform: translateZ(20px);
  text-shadow: 0 0 15px var(--neon-glow);
}

.card-desc {
  font-size: .85rem;
  color: rgba(255, 255, 255, .45);
  line-height: 1.7;
  margin-bottom: 16px;
  transform: translateZ(15px);
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-specs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  transform: translateZ(10px);
}

.spec {
  flex: 1;
  padding: 8px 0;
  text-align: center;
  border-radius: 10px;
  background: rgba(var(--neon-rgb), .05);
  border: 1px solid rgba(var(--neon-rgb), .08);
}

.spec-val {
  font-size: .95rem;
  font-weight: 800;
  color: var(--neon);
  text-shadow: 0 0 8px var(--neon-dim);
}

.spec-label {
  font-size: .64rem;
  color: rgba(255, 255, 255, .4);
  letter-spacing: .5px;
  margin-top: 2px;
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transform: translateZ(25px);
}

.card-price {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--neon);
  text-shadow: 0 0 20px var(--neon-dim);
  white-space: nowrap;
}

.card-price .price-from {
  font-size: .7rem;
  color: rgba(255, 255, 255, .4);
  font-weight: 400;
  margin-inline-end: 4px;
}

.card-price .price-unit {
  font-size: .72rem;
  color: rgba(255, 255, 255, .45);
  font-weight: 500;
  margin-inline-start: 4px;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-buy {
  padding: 10px 18px;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 700;
  color: #06060a;
  background: var(--neon);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 0 20px var(--neon-dim);
}

.btn-buy:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px var(--neon-dim), 0 0 60px var(--neon-glow);
}

.btn-buy.is-added {
  background: #39ff14;
  color: #06060a;
  box-shadow: 0 0 24px rgba(57, 255, 20, .5);
}

.btn-buy::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
  transition: inset-inline-start .5s ease;
}

.btn-buy:hover::before {
  inset-inline-start: 100%;
}

.btn-fav {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 12px;
  border: 1px solid rgba(var(--neon-rgb), .25);
  background: rgba(var(--neon-rgb), .06);
  color: rgba(255, 255, 255, .6);
  cursor: pointer;
  transition: color .2s ease, transform .15s ease, border-color .2s ease;
}

.btn-fav:hover {
  transform: scale(1.05);
  color: var(--neon);
  border-color: var(--neon-dim);
}

.btn-fav.is-active {
  color: var(--neon);
  border-color: var(--neon-dim);
}

/* خط اسکن + گوشه‌ها */
.scan-line {
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  box-shadow: 0 0 15px var(--neon);
}

.neon-card:hover .scan-line {
  animation: scanDown 2s ease-in-out infinite;
}

@keyframes scanDown {
  0% {
    top: 0;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

.corner {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 4;
  opacity: 0;
  transition: opacity .3s ease;
}

.neon-card:hover .corner {
  opacity: 1;
}

.corner::before,
.corner::after {
  content: '';
  position: absolute;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
}

.corner-tl {
  top: 8px;
  left: 8px;
}

.corner-tl::before {
  top: 0;
  left: 0;
  width: 20px;
  height: 2px;
}

.corner-tl::after {
  top: 0;
  left: 0;
  width: 2px;
  height: 20px;
}

.corner-tr {
  top: 8px;
  right: 8px;
}

.corner-tr::before {
  top: 0;
  right: 0;
  width: 20px;
  height: 2px;
}

.corner-tr::after {
  top: 0;
  right: 0;
  width: 2px;
  height: 20px;
}

.corner-bl {
  bottom: 8px;
  left: 8px;
}

.corner-bl::before {
  bottom: 0;
  left: 0;
  width: 20px;
  height: 2px;
}

.corner-bl::after {
  bottom: 0;
  left: 0;
  width: 2px;
  height: 20px;
}

.corner-br {
  bottom: 8px;
  right: 8px;
}

.corner-br::before {
  bottom: 0;
  right: 0;
  width: 20px;
  height: 2px;
}

.corner-br::after {
  bottom: 0;
  right: 0;
  width: 2px;
  height: 20px;
}

/* ---------- صفحه‌بندی ---------- */
.pagination {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 34px 0 14px;
  flex-wrap: wrap;
}

.pg {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .25s ease, border-color .25s ease;
  backdrop-filter: blur(6px);
}

.pg:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(0, 255, 255, .5);
  box-shadow: 0 0 14px rgba(0, 255, 255, .2);
}

.pg.is-active {
  background: linear-gradient(135deg, #00ffff, #ff0080);
  border-color: transparent;
  color: #06060a;
  box-shadow: 0 0 18px rgba(0, 255, 255, .4);
}

.pg:disabled {
  opacity: 0.3;
  cursor: default;
}

/* ---------- ذرهٔ پرنده به سبد ---------- */
.fly-dot {
  position: fixed;
  z-index: 400;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, #ffd700);
  box-shadow: 0 0 16px rgba(255, 215, 0, .8);
  pointer-events: none;
  transition: transform .65s cubic-bezier(.4, .1, .3, 1), opacity .65s ease;
}

/* ---------- مودال سبد خرید ---------- */
.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  justify-content: flex-start;
}

.cart-modal[hidden] {
  display: none;
}

.cart-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .3s ease;
}

.cart-modal.is-open .cart-modal__backdrop {
  opacity: 1;
}

.cart-modal__panel {
  position: relative;
  width: min(420px, 92vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, rgba(16, 14, 24, .96), rgba(8, 8, 14, .98));
  border-inline-end: 1px solid rgba(0, 255, 255, .15);
  box-shadow: 24px 0 80px rgba(0, 0, 0, .7), 0 0 40px rgba(0, 255, 255, .08);
  backdrop-filter: blur(18px);
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.cart-modal.is-open .cart-modal__panel {
  transform: translateX(0);
}

.cart-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.cart-modal__head h3 {
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-modal__head h3 i {
  color: #ffd700;
}

.cart-modal__close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .4);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}

.cart-modal__close:hover {
  background: rgba(255, 0, 128, .5);
}

.cart-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  animation: inkItem .4s ease-out;
}

@keyframes inkItem {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.cart-item img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
}

.cart-item__cat {
  font-size: 0.68rem;
}

.cart-item__cat i {
  margin-inline-end: 3px;
}

.cart-item__meta h4 {
  font-size: 0.86rem;
  font-weight: 700;
  margin: 2px 0;
  line-height: 1.5;
}

.cart-item__price {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, .5);
}

.cart-item__qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, .35);
  border-radius: 99px;
  padding: 4px;
}

.cart-item__qty button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 11px;
  transition: background .2s ease;
}

.cart-item__qty button:hover {
  background: #00ffff;
  color: #06060a;
}

.cart-item__qty span {
  font-size: 0.82rem;
  min-width: 16px;
  text-align: center;
}

.cart-item__del {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: rgba(255, 255, 255, .4);
  transition: color .2s ease, background .2s ease;
}

.cart-item__del:hover {
  color: #fff;
  background: rgba(255, 0, 128, .5);
}

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(255, 255, 255, .4);
  padding: 60px 0;
}

.cart-empty i {
  font-size: 46px;
  opacity: 0.4;
}

.cart-modal__foot {
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.cart-modal__sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.cart-modal__sum b {
  font-size: 1.15rem;
  color: #ffd700;
}

.cart-modal__checkout {
  width: 100%;
  border: 0;
  cursor: pointer;
  padding: 14px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  color: #06060a;
  background: linear-gradient(135deg, #00ffff, #ff0080);
  box-shadow: 0 10px 26px rgba(0, 255, 255, .3);
  transition: transform .15s ease, box-shadow .2s ease;
}

.cart-modal__checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 255, 255, .4);
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 768px) {
  .shop-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .shop-toolbar {
    gap: 10px;
  }

  .cat-select {
    min-width: 100%;
  }

  .shop-toolbar .search {
    flex-basis: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {

  .particle,
  .glow-orb,
  .scan-line,
  .shop-hero__title {
    animation: none;
  }
}