/* =========================================================
   RELIC FORGE COLLECTION
   ========================================================= */

.rf-collection {
	width: 100%;
}


/* =========================================================
   FILTERS
   ========================================================= */

.rf-collection-filters {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;

	margin: 0 0 48px;
	padding: 0;
}

.rf-filter {
	position: relative;

	border: 1px solid rgba(229, 221, 204, 0.20);
	background: rgba(255, 255, 255, 0.025);

	color: rgba(229, 221, 204, 0.72);

	padding: 12px 19px;

	font-family: "IBM Plex Mono", monospace;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.13em;
	text-transform: uppercase;

    border-radius:5px;

	cursor: pointer;

	transition:
		color 0.25s ease,
		background 0.25s ease,
		border-color 0.25s ease,
		transform 0.25s ease;
}

.rf-filter:hover {
	color: #e5ddcc;

	border-color: rgba(169, 130, 69, 0.65);

	background: rgba(169, 130, 69, 0.08);

	transform: translateY(-1px);
}

.rf-filter.active {
	color: #e5ddcc;

	border-color: #a98245;

	background:
		linear-gradient(
			135deg,
			rgba(169, 130, 69, 0.17),
			rgba(169, 130, 69, 0.045)
	);
}


/* =========================================================
   GRID
   ========================================================= */

.rf-collection-grid {
	display: grid;

	grid-template-columns:
		repeat(3, minmax(0, 1fr));

	gap: 22px;

	width: 100%;
}


/* =========================================================
   CARD
   ========================================================= */

.rf-artifact-card {
	position: relative;
    border-radius:8px;
	display: flex;
	flex-direction: column;

	min-width: 0;

	background:
		radial-gradient(
			circle at 80% 15%,
			rgba(169, 130, 69, 0.07),
			transparent 32%
		),
		linear-gradient(
			145deg,
			#151512 0%,
			#0d0d0b 100%
		);

	border: 1px solid rgba(169, 130, 69, 0.38);

	overflow: hidden;

	transition:
		transform 0.45s cubic-bezier(.2,.8,.2,1),
		border-color 0.35s ease,
		box-shadow 0.35s ease;
}

.rf-artifact-card::before {
	content: "";

	position: absolute;

	inset: 0;

	pointer-events: none;

	background:
		linear-gradient(
			120deg,
			transparent 0%,
			rgba(255,255,255,0.025) 45%,
			transparent 70%
		);

	opacity: 0.6;
	/*border-radius:8px;*/
}

.rf-artifact-card:hover {
	transform: translateY(-6px);

	border-color: rgba(209, 164, 91, 0.75);

	box-shadow:
		0 22px 60px rgba(0,0,0,0.35),
		0 0 0 1px rgba(169,130,69,0.06);
}


/* =========================================================
   HEADER
   ========================================================= */

.rf-card-header {
	position: relative;
	z-index: 2;

	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;

	padding: 18px 18px 0;
}

.rf-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;

	padding: 7px 10px;

	border: 1px solid rgba(255,255,255,0.14);

	background: rgba(0,0,0,0.35);

	color: #e5ddcc;

	font-family: "IBM Plex Mono", monospace;
	font-size: 8px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.rf-status-dot {
	width: 6px;
	height: 6px;

	border-radius: 50%;

	background: currentColor;

	box-shadow: 0 0 10px currentColor;
}

.rf-status-available .rf-status-pill {
	color: #3ac477;
}

.rf-status-reserve .rf-status-pill {
	color: #d9a441;
}

.rf-status-forge .rf-status-pill {
	color: #4698bd;
}

.rf-status-auction .rf-status-pill {
	color: #d1a45b;
}

.rf-status-archived .rf-status-pill {
	color: #888888;
}

.rf-artifact-number {
	color: rgba(229, 221, 204, 0.48);

	font-family: "IBM Plex Mono", monospace;
	font-size: 8px;
	letter-spacing: 0.12em;
	white-space: nowrap;
}


/* =========================================================
   IMAGE
   ========================================================= */

.rf-card-image-wrap {
	position: relative;

	height: 285px;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: 28px 35px 15px;
}

.rf-card-image {
	position: relative;

	width: 100%;
	height: 100%;

	display: flex;
	align-items: center;
	justify-content: center;
}

.rf-card-image::after {
	content: "";

	position: absolute;

	left: 10%;
	right: 10%;
	bottom: 7%;

	height: 30px;

	background: rgba(0,0,0,0.65);

	filter: blur(22px);

	border-radius: 50%;
}

.rf-product-image {
	position: relative;
	z-index: 1;

	display: block;

	width: 100%;
	height: 100%;

	object-fit: contain;

	filter:
		drop-shadow(0 22px 22px rgba(0,0,0,0.50));

	transition:
		transform 0.45s cubic-bezier(.2,.8,.2,1),
		opacity 0.25s ease;
}

.rf-artifact-card:hover .rf-product-image {
	transform: scale(1.045);
}


/* =========================================================
   CONTENT
   ========================================================= */

.rf-card-content {
	position: relative;
	z-index: 2;

	display: flex;
	flex-direction: column;

	padding: 0 20px 20px;
}

.rf-card-eyebrow {
	margin-bottom: 8px;

	color: #d1a45b;

	font-family: "IBM Plex Mono", monospace;
	font-size: 8px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.rf-card-title {
	margin: 0;

	color: #e5ddcc;

	font-family: "Cinzel", Georgia, serif;
	font-size: clamp(22px, 2vw, 30px);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: 0.025em;

	text-transform: uppercase;
}

.rf-card-collection {
	margin-top: 10px;

	color: rgba(229,221,204,0.78);

	font-family: "IBM Plex Mono", monospace;
	font-size: 9px;
	line-height: 1.5;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.rf-card-tagline {
	margin-top: 6px;

	min-height: 34px;

	color: rgba(229,221,204,0.52);

	font-family: "Inter", Arial, sans-serif;
	font-size: 12px;
	line-height: 1.45;
}


/* =========================================================
   VARIATIONS
   ========================================================= */

.rf-variation-area {
	margin-top: 22px;
}

.rf-variation-label {
	margin-bottom: 9px;

	color: rgba(229,221,204,0.40);

	font-family: "IBM Plex Mono", monospace;
	font-size: 8px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.rf-variation-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.rf-variation-button {
	position: relative;

	min-width: 70px;

	padding: 9px 11px;

	border: 1px solid rgba(229,221,204,0.20);

	background: rgba(255,255,255,0.025);

	color: rgba(229,221,204,0.65);

	font-family: "IBM Plex Mono", monospace;
	font-size: 9px;
	font-weight: 500;
	letter-spacing: 0.07em;
	text-transform: uppercase;

	cursor: pointer;

	transition:
		background 0.25s ease,
		color 0.25s ease,
		border-color 0.25s ease;
}

.rf-variation-button:hover:not(:disabled) {
	color: #e5ddcc;

	border-color: rgba(169,130,69,0.65);

	background: rgba(169,130,69,0.09);
}

.rf-variation-button.selected {
	color: #e5ddcc;

	border-color: #d1a45b;

	background:
		linear-gradient(
			135deg,
			rgba(169,130,69,0.22),
			rgba(169,130,69,0.07)
		);

	box-shadow:
		inset 0 0 0 1px rgba(209,164,91,0.08);
}

.rf-variation-button:disabled {
	opacity: 0.28;

	cursor: not-allowed;

	text-decoration: line-through;
}

.rf-variation-soldout {
	display: block;

	margin-top: 3px;

	font-size: 6px;
	letter-spacing: 0.08em;
}


/* =========================================================
   EDITION
   ========================================================= */

.rf-edition-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;

	margin-top: 17px;

	min-height: 18px;

	color: rgba(229,221,204,0.52);

	font-family: "IBM Plex Mono", monospace;
	font-size: 8px;
	line-height: 1.4;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.rf-edition-separator {
	color: rgba(229,221,204,0.22);
}

.rf-remaining-text {
	color: #e5ddcc;
}


/* =========================================================
   PRICE
   ========================================================= */

.rf-price-wrap {
	margin-top: 13px;
}

.rf-price {
	color: #e5ddcc;

	font-family: "Cinzel", Georgia, serif;
	font-size: 21px;
	font-weight: 500;
	line-height: 1.1;
}

.rf-price del {
	color: rgba(229,221,204,0.35);
	font-size: 13px;
}

.rf-price ins {
	color: #d1a45b;
	text-decoration: none;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.rf-card-actions {
	display: grid;

	grid-template-columns:
		repeat(2, minmax(0, 1fr));

	gap: 8px;

	margin-top: 19px;
}

.rf-button {
	min-height: 45px;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	padding: 11px 12px;

	border: 1px solid transparent;

	font-family: "IBM Plex Mono", monospace;
	font-size: 8px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.11em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;

	cursor: pointer;

	transition:
		transform 0.25s ease,
		background 0.25s ease,
		border-color 0.25s ease,
		color 0.25s ease,
		opacity 0.25s ease;
}

.rf-button:hover:not(:disabled) {
	transform: translateY(-2px);
}

.rf-button-primary {
	color: #17130d;

	border-color: #d1a45b;

	background:
		linear-gradient(
			135deg,
			#d8b16a,
			#a98245
		);
}

.rf-button-primary:hover:not(:disabled) {
	background:
		linear-gradient(
			135deg,
			#e3c17e,
			#b88d4c
		);
}

.rf-button-secondary {
	color: #e5ddcc;

	border-color: rgba(229,221,204,0.23);

	background: rgba(255,255,255,0.035);
}

.rf-button-secondary:hover:not(:disabled) {
	border-color: rgba(209,164,91,0.7);

	background: rgba(169,130,69,0.10);
}

.rf-button-disabled,
.rf-button:disabled {
	opacity: 0.42;

	cursor: not-allowed;
}

.rf-button-disabled:hover {
	transform: none;
}


/* =========================================================
   SINGLE BUTTON
   ========================================================= */

.rf-auction-button,
.rf-card-actions > .rf-button:only-child {
	grid-column: 1 / -1;
}


/* =========================================================
   LOADING
   ========================================================= */

.rf-card-loader {
	display: none;

	position: absolute;

	inset: 0;

	z-index: 20;

	align-items: center;
	justify-content: center;
	gap: 5px;

	background: rgba(8,8,7,0.72);

	backdrop-filter: blur(3px);
}

.rf-artifact-card.is-loading .rf-card-loader {
	display: flex;
}

.rf-card-loader span {
	width: 5px;
	height: 5px;

	border-radius: 50%;

	background: #d1a45b;

	animation: rfLoader 0.9s infinite ease-in-out;
}

.rf-card-loader span:nth-child(2) {
	animation-delay: 0.12s;
}

.rf-card-loader span:nth-child(3) {
	animation-delay: 0.24s;
}

@keyframes rfLoader {
	0%,
	80%,
	100% {
		opacity: 0.25;
		transform: translateY(0);
	}

	40% {
		opacity: 1;
		transform: translateY(-5px);
	}
}


/* =========================================================
   MESSAGE
   ========================================================= */

.rf-card-message {
	display: none;

	margin-top: 10px;

	padding: 9px 10px;

	border: 1px solid rgba(169,130,69,0.25);

	background: rgba(169,130,69,0.06);

	color: #e5ddcc;

	font-family: "IBM Plex Mono", monospace;
	font-size: 8px;
	line-height: 1.5;
	letter-spacing: 0.05em;
}

.rf-card-message.is-visible {
	display: block;
}


/* =========================================================
   FILTER HIDDEN
   ========================================================= */

.rf-artifact-card.rf-filter-hidden {
	display: none;
}


/* =========================================================
   EMPTY
   ========================================================= */

.rf-empty-collection {
	grid-column: 1 / -1;

	padding: 80px 20px;

	border: 1px solid rgba(169,130,69,0.20);

	color: rgba(229,221,204,0.55);

	font-family: "IBM Plex Mono", monospace;
	font-size: 10px;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

	.rf-collection-grid {
		grid-template-columns:
			repeat(2, minmax(0, 1fr));
	}

	.rf-card-image-wrap {
		height: 300px;
	}

}


@media (max-width: 767px) {

	.rf-collection-filters {
		justify-content: flex-start;

		margin-bottom: 30px;

		overflow-x: auto;
		flex-wrap: nowrap;

		padding-bottom: 5px;

		scrollbar-width: none;
	}

	.rf-collection-filters::-webkit-scrollbar {
		display: none;
	}

	.rf-filter {
		flex: 0 0 auto;
	}

	.rf-collection-grid {
		grid-template-columns: 1fr;

		gap: 18px;
	}

	.rf-card-image-wrap {
		height: 330px;

		padding-left: 45px;
		padding-right: 45px;
	}

	.rf-card-header {
		padding-left: 16px;
		padding-right: 16px;
	}

	.rf-card-content {
		padding-left: 17px;
		padding-right: 17px;
	}

}


@media (max-width: 480px) {

	.rf-card-image-wrap {
		height: 285px;
	}

	.rf-card-title {
		font-size: 23px;
	}

	.rf-card-actions {
		grid-template-columns: 1fr;
	}

	.rf-auction-button,
	.rf-card-actions > .rf-button:only-child {
		grid-column: auto;
	}

}



.rf-collection a {
	color: inherit !important;
}

.rf-collection a:hover,
.rf-collection a:focus,
.rf-collection a:active {
	color: inherit !important;
}


/* Buttons */
.rf-collection button,
.rf-collection [type="button"],
.rf-collection [type="submit"] {
	font-family: "IBM Plex Mono", monospace !important;
	border-radius: 0 !important;
}


/* Primary button */
.rf-collection .rf-button-primary,
.rf-collection .rf-button-primary:hover,
.rf-collection .rf-button-primary:focus,
.rf-collection .rf-button-primary:active {
	color: #17130d !important;
	border-color: #d1a45b !important;

	background:
		linear-gradient(
			135deg,
			#d8b16a,
			#a98245
		) !important;
}


/* Secondary button */
.rf-collection .rf-button-secondary,
.rf-collection .rf-button-secondary:hover,
.rf-collection .rf-button-secondary:focus,
.rf-collection .rf-button-secondary:active {
	color: #e5ddcc !important;
	border-color: rgba(229,221,204,0.23) !important;
	background: rgba(255,255,255,0.035) !important;
}


/* Filter buttons */
.rf-collection .rf-filter,
.rf-collection .rf-filter:hover,
.rf-collection .rf-filter:focus,
.rf-collection .rf-filter:active {
	color: rgba(229,221,204,0.72) !important;
	border-color: rgba(229,221,204,0.20) !important;
	background: rgba(255,255,255,0.025) !important;
}

.rf-collection .rf-filter:hover {
	color: #e5ddcc !important;
	border-color: rgba(169,130,69,0.65) !important;
	background: rgba(169,130,69,0.08) !important;
}

.rf-collection .rf-filter.active {
	color: #e5ddcc !important;
	border-color: #a98245 !important;

	background:
		linear-gradient(
			135deg,
			rgba(169,130,69,0.17),
			rgba(169,130,69,0.045)
		) !important;
}


/* Variation buttons */
.rf-collection .rf-variation-button,
.rf-collection .rf-variation-button:hover,
.rf-collection .rf-variation-button:focus,
.rf-collection .rf-variation-button:active {
	color: rgba(229,221,204,0.65) !important;
	border-color: rgba(229,221,204,0.20) !important;
	background: rgba(255,255,255,0.025) !important;
}

.rf-collection .rf-variation-button:hover:not(:disabled) {
	color: #e5ddcc !important;
	border-color: rgba(169,130,69,0.65) !important;
	background: rgba(169,130,69,0.09) !important;
}

.rf-collection .rf-variation-button.selected {
	color: #e5ddcc !important;
	border-color: #d1a45b !important;

	background:
		linear-gradient(
			135deg,
			rgba(169,130,69,0.22),
			rgba(169,130,69,0.07)
		) !important;
}