/* ========================= */
/* SOM Forum – Market Stilleri */
/* ========================= */

/* LAYOUT */
.market-container {
  max-width: 1280px; margin: 0 auto;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
}

/* SOL FİLTRE SIDEBAR */
.filter-sidebar { display: flex; flex-direction: column; gap: 14px; }

.filter-list { padding: 8px; }
.filter-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 8px;
  cursor: pointer; font-size: 13px; font-weight: 500;
  color: var(--text-secondary); transition: all 0.15s;
  border: none; background: none; width: 100%; text-align: left;
  font-family: 'Inter', sans-serif;
}
.filter-btn:hover { background: var(--bg-secondary); color: var(--text-primary); }
.filter-btn.active { background: rgba(232,98,42,0.12); color: var(--accent-orange); }
.filter-btn .f-icon { font-size: 15px; width: 20px; text-align: center; }
.filter-btn .f-count {
  margin-left: auto; font-size: 11px;
  background: var(--bg-secondary); padding: 2px 7px;
  border-radius: 10px; color: var(--text-muted);
}
.filter-btn.active .f-count { background: rgba(232,98,42,0.2); color: var(--accent-orange); }

/* FİYAT RANGE */
.price-range { padding: 14px 16px; }
.price-inputs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.price-input {
  width: 100%; background: var(--input-bg);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 10px; color: var(--text-primary);
  font-size: 12px; font-family: 'Inter', sans-serif; outline: none;
}
.price-input:focus { border-color: var(--accent-orange); }
.btn-price-apply {
  width: 100%; padding: 9px; border-radius: 8px;
  background: var(--accent-orange); border: none; color: #fff;
  font-family: 'Rajdhani', sans-serif; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all 0.18s;
}
.btn-price-apply:hover { background: var(--accent-orange-dim); }

/* MAIN */
.market-main { min-width: 0; }

.market-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 20px; gap: 12px; flex-wrap: wrap;
}
.market-title-area h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px; font-weight: 700;
}
.market-title-area h1 .hl { color: var(--accent-orange); }
.market-title-area p { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.market-controls { display: flex; align-items: center; gap: 10px; }

.sort-select {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 12px;
  color: var(--text-secondary); font-size: 13px;
  font-family: 'Inter', sans-serif; outline: none; cursor: pointer;
}
.sort-select:focus { border-color: var(--accent-orange); }

.btn-sell {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: 9px;
  background: var(--accent-orange); border: none;
  color: #fff; font-family: 'Rajdhani', sans-serif;
  font-size: 14px; font-weight: 700; cursor: pointer;
  transition: all 0.18s; box-shadow: 0 0 16px rgba(232,98,42,0.3);
}
.btn-sell:hover { background: var(--accent-orange-dim); transform: translateY(-1px); }

/* CATEGORY TABS */
.cat-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.cat-tab {
  padding: 6px 16px; border-radius: 20px; font-size: 13px;
  font-weight: 500; cursor: pointer; transition: all 0.18s;
  border: 1px solid var(--border); color: var(--text-secondary);
  background: var(--bg-card); user-select: none;
}
.cat-tab:hover { border-color: var(--accent-orange); color: var(--text-primary); }
.cat-tab.active {
  background: var(--accent-orange); border-color: var(--accent-orange);
  color: #fff; box-shadow: 0 0 12px rgba(232,98,42,0.25);
}

/* ITEM GRID */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

.item-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: all 0.2s; cursor: pointer;
  box-shadow: var(--shadow-card); position: relative;
  animation: fadeInUp 0.3s ease both;
}
.item-card:hover {
  border-color: var(--border-bright); transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.item-card:nth-child(1) { animation-delay: 0.04s; }
.item-card:nth-child(2) { animation-delay: 0.08s; }
.item-card:nth-child(3) { animation-delay: 0.12s; }
.item-card:nth-child(4) { animation-delay: 0.16s; }
.item-card:nth-child(5) { animation-delay: 0.20s; }
.item-card:nth-child(6) { animation-delay: 0.24s; }

.item-badge-corner {
  position: absolute; top: 10px; left: 10px;
  font-size: 10px; font-weight: 700; padding: 3px 8px;
  border-radius: 5px; letter-spacing: 0.3px; z-index: 2;
}
.badge-new { background: var(--accent-green); color: #fff; }
.badge-hot { background: var(--accent-orange); color: #fff; }
.badge-rare { background: var(--accent-purple); color: #fff; }
.badge-sold { background: rgba(0,0,0,0.6); color: #aaa; }

.item-img {
  width: 100%; height: 130px;
  background: var(--bg-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 52px; border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.item-img::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 60%, rgba(232,98,42,0.08), transparent 70%);
}

.item-body { padding: 14px; }

.item-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px; font-weight: 700;
  color: var(--text-primary); margin-bottom: 4px; line-height: 1.2;
}
.item-seller {
  font-size: 11px; color: var(--text-muted); margin-bottom: 10px;
  display: flex; align-items: center; gap: 5px;
}
.seller-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-green); flex-shrink: 0;
}
.item-footer {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-top: 10px; border-top: 1px solid var(--border);
}
.item-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px; font-weight: 700; color: var(--accent-gold);
}
.item-price .price-unit { font-size: 11px; color: var(--text-muted); font-family: 'Inter', sans-serif; font-weight: 400; }

.btn-buy {
  padding: 6px 14px; border-radius: 7px;
  background: var(--accent-orange); border: none;
  color: #fff; font-size: 12px; font-weight: 600;
  cursor: pointer; font-family: 'Inter', sans-serif; transition: all 0.15s;
}
.btn-buy:hover { background: var(--accent-orange-dim); transform: scale(1.04); }
.btn-buy:disabled { background: var(--border); color: var(--text-muted); cursor: not-allowed; transform: none; }

.item-card.sold .item-img { filter: grayscale(0.6); opacity: 0.7; }

/* MODAL */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(6px);
  z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none;
  transition: opacity 0.2s; overflow-y: auto;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-box {
  background: var(--bg-card); border: 1px solid var(--border-bright);
  border-radius: 16px; width: 100%; max-width: 900px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  transform: scale(0.97); transition: transform 0.2s;
  overflow: hidden; position: relative;
}
.modal-overlay.open .modal-box { transform: scale(1); }

.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg-secondary); border: 1px solid var(--border);
  color: var(--text-muted); font-size: 16px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s; z-index: 10;
}
.modal-close:hover { background: var(--border); color: var(--text-primary); }

.modal-inner { display: grid; grid-template-columns: 1fr 1fr; }

/* GALERİ */
.modal-gallery { padding: 20px; border-right: 1px solid var(--border); }

.gallery-main {
  width: 100%; aspect-ratio: 16/10;
  background: var(--bg-secondary); border-radius: 10px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; margin-bottom: 10px;
  overflow: hidden; position: relative;
}
.gallery-main.can-fullscreen { cursor: zoom-in; }
.gallery-main-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.2s ease;
}
.gallery-main:hover .gallery-main-image {
  transform: scale(1.02);
}
.gallery-main .no-img { font-size: 72px; }

.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; justify-content: space-between; width: 100%; padding: 0 8px;
  pointer-events: none;
}
.gallery-arrow {
  width: 30px; height: 30px; border-radius: 7px;
  background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.1);
  color: #fff; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  pointer-events: all; transition: background 0.15s;
}
.gallery-arrow:hover { background: rgba(232,98,42,0.7); }

.gallery-counter {
  position: absolute; bottom: 8px; right: 10px;
  background: rgba(0,0,0,0.6); color: #fff;
  font-size: 11px; padding: 2px 8px; border-radius: 5px;
}

.gallery-thumbs { display: flex; gap: 6px; flex-wrap: wrap; }
.thumb {
  width: 52px; height: 40px; border-radius: 6px;
  background: var(--bg-secondary); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; cursor: pointer; transition: all 0.15s;
  overflow: hidden; flex-shrink: 0;
}
.thumb:hover { border-color: var(--accent-orange); }
.thumb.active { border-color: var(--accent-orange); box-shadow: 0 0 8px rgba(232,98,42,0.3); }

.gallery-desc {
  margin-top: 12px; background: var(--bg-secondary);
  border: 1px solid var(--border); border-radius: 10px; padding: 14px;
}
.gallery-desc-title {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: var(--text-muted); text-transform: uppercase; margin-bottom: 8px;
}
.gallery-desc-text {
  font-size: 13px; color: var(--text-secondary);
  line-height: 1.7; white-space: pre-line;
}

/* DETAY PANEL */
.modal-detail-panel { padding: 24px; display: flex; flex-direction: column; }

.modal-badge-row { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.mbadge {
  font-size: 10px; font-weight: 700; padding: 3px 9px;
  border-radius: 5px; letter-spacing: 0.3px;
}
.mbadge-hot { background: var(--accent-orange); color: #fff; }
.mbadge-rare { background: var(--accent-purple); color: #fff; }
.mbadge-new { background: var(--accent-green); color: #fff; }
.mbadge-sold { background: var(--border); color: var(--text-muted); }
.mbadge-cat { background: var(--bg-secondary); color: var(--text-secondary); border: 1px solid var(--border); }

.modal-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--text-primary); line-height: 1.2; margin-bottom: 6px;
}
.modal-price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 16px; }
.modal-price-big {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px; font-weight: 700; color: var(--accent-gold);
}
.modal-price-unit { font-size: 13px; color: var(--text-muted); }

.modal-seller-row {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 9px;
  background: var(--bg-secondary); margin-bottom: 16px;
  border: 1px solid var(--border);
}
.modal-seller-avatar {
  width: 30px; height: 30px; border-radius: 7px;
  background: linear-gradient(135deg, #e8622a, #c0501e);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.modal-seller-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.modal-seller-sub { font-size: 11px; color: var(--text-muted); }
.modal-online-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-green); margin-left: auto; flex-shrink: 0;
}

.modal-props { flex: 1; margin-bottom: 16px; }
.modal-props-title {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: var(--text-muted); text-transform: uppercase; margin-bottom: 8px;
}
.modal-prop-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px;
}
.modal-prop-row:last-child { border-bottom: none; }
.modal-prop-row .p-label { color: var(--text-muted); }
.modal-prop-row .p-val { font-weight: 600; color: var(--text-primary); }
.modal-prop-row .p-val.gold { color: var(--accent-gold); }
.modal-prop-row .p-val.green { color: var(--accent-green); }
.modal-prop-row .p-val.red { color: #ef4444; }

.modal-btns { display: flex; gap: 10px; margin-top: auto; }
.btn-modal-cancel {
  flex: 1; padding: 11px; border-radius: 9px;
  border: 1px solid var(--border); background: transparent;
  color: var(--text-secondary); font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: 'Inter', sans-serif; transition: all 0.15s;
}
.btn-modal-cancel:hover { border-color: var(--border-bright); color: var(--text-primary); }
.btn-modal-confirm {
  flex: 2; padding: 11px; border-radius: 9px;
  border: none; background: var(--accent-orange);
  color: #fff; font-family: 'Rajdhani', sans-serif;
  font-size: 16px; font-weight: 700; cursor: pointer;
  transition: all 0.15s; box-shadow: 0 0 16px rgba(232,98,42,0.3);
}
.btn-modal-confirm:hover { background: var(--accent-orange-dim); }
.btn-modal-confirm:disabled { background: var(--border); color: var(--text-muted); cursor: not-allowed; box-shadow: none; }

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 10, 18, 0.94);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.gallery-lightbox.open {
  opacity: 1;
  pointer-events: all;
}
body.lightbox-open {
  overflow: hidden;
}
.gallery-lightbox-stage {
  position: relative;
  width: min(92vw, 1400px);
  height: min(88vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 88px;
}
.gallery-lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}
.gallery-lightbox-close,
.gallery-lightbox-arrow {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}
.gallery-lightbox-close:hover,
.gallery-lightbox-arrow:hover {
  background: rgba(232, 98, 42, 0.8);
  transform: translateY(-1px);
}
.gallery-lightbox-close {
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 28px;
  z-index: 2;
}
.gallery-lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 16px;
  font-size: 34px;
}
.gallery-lightbox-arrow.prev { left: 24px; }
.gallery-lightbox-arrow.next { right: 24px; }
.gallery-lightbox.single-image .gallery-lightbox-arrow {
  display: none;
}
.gallery-lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

@media (max-width: 700px) {
  .modal-inner { grid-template-columns: 1fr; }
  .modal-gallery { border-right: none; border-bottom: 1px solid var(--border); }
}

@media (max-width: 450px) {
  .listing-grid { grid-template-columns:1fr; }
  .listing-card { padding:14px; }
  .listing-img { width:50px; height:50px; font-size:22px; border-radius:10px; }
  .listing-title { font-size:14px; }
  .listing-price { font-size:16px; }
  .market-header h1 { font-size:20px; }
  .filter-bar { gap:6px; }
  .filter-bar select, .filter-bar input { font-size:12px; padding:8px 10px; }
}

@media (max-width: 600px) {
  .detail-modal-content { width:95%; max-width:none; border-radius:12px; max-height:85vh; }
  .detail-img-area { height:180px; }
  .detail-title { font-size:18px; }
  .detail-price { font-size:22px; }
  .detail-props { gap:6px; }
  .detail-prop { font-size:11px; padding:6px 8px; }
  .detail-actions { flex-direction:column; }
  .detail-actions button { width:100%; }
}

@media (max-width: 980px) {
  .market-container {
    grid-template-columns: 1fr;
    padding: 20px 16px 28px;
  }
  .filter-sidebar {
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 8px;
    scrollbar-width: none;
  }
  .filter-sidebar::-webkit-scrollbar {
    display: none;
  }
  .filter-sidebar .sidebar-card {
    min-width: 240px;
    flex: 0 0 240px;
  }
  .market-controls {
    width: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .market-header {
    flex-direction: column;
    align-items: stretch;
  }
  .market-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .sort-select,
  .btn-sell {
    width: 100%;
  }
  .cat-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .cat-tabs::-webkit-scrollbar {
    display: none;
  }
  .cat-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .items-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .modal-btns {
    flex-direction: column;
  }
  .gallery-lightbox-stage {
    width: 100vw;
    height: 100vh;
    padding: 80px 20px 72px;
  }
  .gallery-lightbox-arrow {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 28px;
  }
  .gallery-lightbox-arrow.prev { left: 14px; }
  .gallery-lightbox-arrow.next { right: 14px; }
  .gallery-lightbox-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 24px;
  }
}

@media (max-width: 560px) {
  .market-container {
    padding: 16px 12px 24px;
  }
  .filter-sidebar .sidebar-card {
    min-width: 210px;
    flex-basis: 210px;
  }
  .market-title-area h1 {
    font-size: 22px;
  }
  .market-title-area p {
    font-size: 12px;
  }
  .items-grid {
    grid-template-columns: 1fr;
  }
  .item-body {
    padding: 12px;
  }
}

/* ========================= */
/* MARKET İLAN ÇERÇEVELERİ   */
/* ========================= */

/* MOR */
.item-card.ifc-purple {
    background:linear-gradient(135deg,rgba(168,85,247,0.08),rgba(109,40,217,0.12));
    border:2px solid rgba(168,85,247,0.6);
    box-shadow:0 0 20px rgba(168,85,247,0.35),0 0 60px rgba(168,85,247,0.1),inset 0 0 20px rgba(168,85,247,0.05);
    animation:glowPurple 2s ease-in-out infinite alternate;
}
@keyframes glowPurple {
    from { box-shadow:0 0 14px rgba(168,85,247,0.35),inset 0 0 10px rgba(168,85,247,0.04); }
    to { box-shadow:0 0 28px rgba(168,85,247,0.6),0 0 50px rgba(168,85,247,0.2),inset 0 0 20px rgba(168,85,247,0.08); }
}
.item-card.ifc-purple .item-badge-corner { background:rgba(168,85,247,0.2); color:#c084fc; border:1px solid rgba(168,85,247,0.4); }
.item-card.ifc-purple .item-img { background:rgba(168,85,247,0.15); }

/* ALTIN */
.item-card.ifc-gold {
    background:linear-gradient(135deg,rgba(240,168,51,0.08),rgba(217,119,6,0.12));
    border:2px solid rgba(240,168,51,0.65);
    box-shadow:0 0 20px rgba(240,168,51,0.4),0 0 60px rgba(240,168,51,0.1),inset 0 0 20px rgba(240,168,51,0.05);
    animation:glowGold 2s ease-in-out infinite alternate;
}
@keyframes glowGold {
    from { box-shadow:0 0 14px rgba(240,168,51,0.4),inset 0 0 10px rgba(240,168,51,0.04); }
    to { box-shadow:0 0 28px rgba(240,168,51,0.65),0 0 55px rgba(240,168,51,0.2),inset 0 0 20px rgba(240,168,51,0.1); }
}
.item-card.ifc-gold .item-badge-corner { background:rgba(240,168,51,0.2); color:#fbbf24; border:1px solid rgba(240,168,51,0.4); }
.item-card.ifc-gold .item-img { background:rgba(240,168,51,0.15); }

/* KIZIL */
.item-card.ifc-red {
    background:linear-gradient(135deg,rgba(239,68,68,0.08),rgba(185,28,28,0.12));
    border:2px solid rgba(239,68,68,0.6);
    box-shadow:0 0 20px rgba(239,68,68,0.35),0 0 60px rgba(239,68,68,0.1),inset 0 0 20px rgba(239,68,68,0.05);
    animation:glowRed 2s ease-in-out infinite alternate;
}
@keyframes glowRed {
    from { box-shadow:0 0 14px rgba(239,68,68,0.35),inset 0 0 10px rgba(239,68,68,0.04); }
    to { box-shadow:0 0 28px rgba(239,68,68,0.6),0 0 55px rgba(239,68,68,0.18),inset 0 0 20px rgba(239,68,68,0.08); }
}
.item-card.ifc-red .item-badge-corner { background:rgba(239,68,68,0.2); color:#f87171; border:1px solid rgba(239,68,68,0.4); }
.item-card.ifc-red .item-img { background:rgba(239,68,68,0.15); }

/* GÖKKUŞAĞI */
.item-card.ifc-rainbow {
    background:linear-gradient(135deg,rgba(168,85,247,0.06),rgba(59,130,246,0.06),rgba(34,197,94,0.06));
    border:2px solid transparent;
    background-clip:padding-box;
    position:relative;
    overflow:visible !important;
}
.item-card.ifc-rainbow::before {
    content:''; position:absolute; inset:-2px; border-radius:14px;
    background:linear-gradient(90deg,#ef4444,#f0a833,#22c55e,#3b82f6,#a855f7,#ef4444);
    background-size:300%; animation:rainbowBorder 3s linear infinite; z-index:0;
}
.item-card.ifc-rainbow::after {
    content:''; position:absolute; inset:0; border-radius:11px; background:inherit; z-index:1;
}
.item-card.ifc-rainbow .item-badge-corner { position:absolute; z-index:3; }
.item-card.ifc-rainbow .item-img,
.item-card.ifc-rainbow .item-body { position:relative; z-index:2; }
.item-card.ifc-rainbow .item-img { border-radius: 10px 10px 0 0; }
@keyframes rainbowBorder { 0% { background-position:0%; } 100% { background-position:300%; } }
