/* =========================================================================
   The Forge — products, product detail, cart, checkout
   ========================================================================= */

/* ---------- collection cards ---------- */

.df-collection-card {
	position: relative;
	text-align: left;
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius);
	background: var(--df-panel);
	padding: clamp(24px, 3vw, 34px);
	cursor: pointer;
	color: inherit;
	font: inherit;
	overflow: hidden;
	transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}

.df-collection-card::before {
	content: "";
	position: absolute;
	inset: auto auto -40% -20%;
	width: 70%;
	height: 120%;
	background: radial-gradient(circle, rgba(255, 0, 60, .16), transparent 68%);
	opacity: 0;
	transition: opacity .5s ease;
}

.df-collection-card:hover {
	transform: translateY(-6px);
	border-color: rgba(255, 0, 60, .45);
	box-shadow: var(--df-shadow);
}

.df-collection-card:hover::before { opacity: 1; }

.df-collection-count {
	position: relative;
	font-family: var(--font-tech);
	font-size: .62rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--crimson);
}

.df-collection-card h3 {
	position: relative;
	font-family: var(--font-display);
	font-size: clamp(1.1rem, 2.4vw, 1.42rem);
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--df-heading);
	margin: 10px 0 10px;
}

.df-collection-card p { position: relative; margin: 0; color: var(--df-text); font-size: .93rem; }

.df-collection-go {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-top: 18px;
	border: 1px solid var(--df-border);
	border-radius: 50%;
	color: var(--gold);
	transition: transform .35s ease, background .35s ease, color .35s ease;
}

.df-collection-card:hover .df-collection-go {
	transform: translateX(6px);
	background: var(--crimson);
	border-color: var(--crimson);
	color: #fff;
}

/* ---------- shop toolbar ---------- */

.df-shop-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: clamp(28px, 3.4vw, 44px);
	padding-bottom: 20px;
	border-bottom: 1px solid var(--df-border-soft);
}

.df-filters-left { justify-content: flex-start; margin: 0; flex: 1; min-width: 260px; }

.df-filter i {
	font-style: normal;
	opacity: .6;
	margin-left: 5px;
	font-size: .9em;
}

.df-shop-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.df-search {
	position: relative;
	display: flex;
	align-items: center;
}

.df-search .df-icon {
	position: absolute;
	left: 13px;
	width: 17px;
	height: 17px;
	color: var(--gold);
	pointer-events: none;
}

.df-search input {
	width: 220px;
	background: var(--df-surface);
	border: 1px solid var(--df-border-soft);
	border-radius: var(--df-radius);
	color: var(--df-text-strong);
	font-family: var(--font-body);
	font-size: .88rem;
	padding: 12px 14px 12px 40px;
	outline: none;
	transition: border-color .3s ease, box-shadow .3s ease, width .3s ease;
}

.df-search input:focus { border-color: var(--crimson); box-shadow: 0 0 0 1px rgba(255, 0, 60, .15); width: 260px; }
.df-search input::placeholder { color: var(--df-muted); }

.df-sort .df-select { width: auto; min-width: 210px; padding-block: 12px; font-size: .88rem; }

@media (max-width: 640px) {
	.df-shop-tools { width: 100%; }
	.df-search, .df-search input, .df-sort, .df-sort .df-select { width: 100%; }
	.df-search input:focus { width: 100%; }
}

/* ---------- product grid ---------- */

.df-product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(14px, 2vw, 24px);
}

@media (max-width: 1100px) { .df-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .df-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px)  { .df-product-grid { grid-template-columns: minmax(0, 1fr); } }

.df-product-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius);
	background: var(--df-panel);
	overflow: hidden;
	transition: transform .4s cubic-bezier(.2, .8, .3, 1), border-color .4s ease, box-shadow .4s ease, opacity .3s ease;
}

.df-product-card:hover {
	transform: translateY(-8px);
	border-color: rgba(255, 0, 60, .48);
	box-shadow: var(--df-shadow);
}

.df-product-card.is-hidden { display: none; }

.df-product-media {
	position: relative;
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	background: #101218;
}

.dragonfitt-light-theme .df-product-media { background: #ece5d8; }

.df-product-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity .5s ease, transform .8s cubic-bezier(.2, .8, .3, 1);
}

.df-product-img-hover { opacity: 0; }
.df-product-card:hover .df-product-img { transform: scale(1.06); }
.df-product-card:hover .df-product-img-hover { opacity: 1; }

.df-product-tag {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	font-family: var(--font-tech);
	font-size: .56rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--gold-light);
	background: rgba(5, 6, 10, .72);
	border: 1px solid rgba(197, 160, 89, .35);
	border-radius: 999px;
	padding: 5px 11px;
	backdrop-filter: blur(4px);
}

.df-product-scan {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, transparent 40%, rgba(255, 0, 60, .18) 50%, transparent 60%);
	transform: translateY(-100%);
	transition: transform .9s ease;
	pointer-events: none;
}

.df-product-card:hover .df-product-scan { transform: translateY(100%); }

.df-product-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px;
	flex: 1;
}

.df-product-name {
	margin: 0;
	font-family: var(--font-display);
	font-size: .98rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: var(--df-heading);
}

.df-product-name a { text-decoration: none; }
.df-product-name a:hover { color: var(--crimson); }

.df-product-price {
	margin: 0;
	font-family: var(--font-tech);
	font-size: .95rem;
	font-weight: 600;
	color: var(--gold);
}

.df-product-dash { opacity: .6; }

.df-product-swatches { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.df-swatch-dot {
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var(--sw);
	border: 1px solid rgba(255, 255, 255, .25);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .35);
}

.dragonfitt-light-theme .df-swatch-dot { border-color: rgba(0, 0, 0, .2); box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }

.df-swatch-more { font-family: var(--font-tech); font-size: .62rem; color: var(--df-muted); }

.df-product-btn { margin-top: auto; padding: 12px 16px; font-size: .7rem; }

.df-shop-more { text-align: center; margin-top: clamp(30px, 4vw, 46px); }
.df-shop-more[hidden] { display: none; }

.df-shop-none,
.df-shop-empty {
	text-align: center;
	padding: clamp(40px, 6vw, 80px) 20px;
	color: var(--df-muted);
}

.df-shop-empty h3 {
	font-family: var(--font-display);
	font-size: 1.4rem;
	text-transform: uppercase;
	color: var(--df-heading);
	margin: 0 0 12px;
}

.df-shop-empty p { max-width: 52ch; margin-inline: auto; }

.df-trust-card .df-icon { width: 26px; height: 26px; color: var(--crimson); margin-bottom: 14px; }

/* ---------- breadcrumb ---------- */

.df-breadcrumb {
	padding: 22px 0 0;
	font-family: var(--font-tech);
	font-size: .66rem;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.df-breadcrumb .df-container { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.df-breadcrumb a { color: var(--df-muted); text-decoration: none; }
.df-breadcrumb a:hover { color: var(--crimson); }
.df-breadcrumb span { color: var(--df-border); }
.df-breadcrumb strong { color: var(--gold); font-weight: 600; }

/* ---------- product detail ---------- */

.df-pdp { padding-top: clamp(30px, 4vw, 56px); }

.df-pdp-grid {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: clamp(28px, 4vw, 62px);
	align-items: start;
}

@media (max-width: 900px) { .df-pdp-grid { grid-template-columns: minmax(0, 1fr); } }

.df-pdp-stage {
	position: relative;
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius);
	overflow: hidden;
	background: #0e1015;
	aspect-ratio: 1;
}

.dragonfitt-light-theme .df-pdp-stage { background: #ece5d8; }

.df-pdp-stage img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity .35s ease, transform .8s ease;
}

.df-pdp-stage:hover img { transform: scale(1.05); }
.df-pdp-stage img.is-swapping { opacity: 0; }

.df-pdp-glow {
	position: absolute;
	inset: auto -20% -30% -20%;
	height: 60%;
	background: radial-gradient(ellipse at 50% 100%, rgba(255, 0, 60, .28), transparent 68%);
	pointer-events: none;
}

.df-pdp-thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
	gap: 10px;
	margin-top: 12px;
}

.df-pdp-thumb {
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius);
	background: var(--df-surface);
	padding: 0;
	aspect-ratio: 1;
	overflow: hidden;
	cursor: pointer;
	transition: border-color .3s ease, transform .3s ease;
}

.df-pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.df-pdp-thumb:hover { transform: translateY(-3px); }
.df-pdp-thumb.is-active { border-color: var(--crimson); box-shadow: var(--crimson-glow); }

.df-pdp-title {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(1.6rem, 3.6vw, 2.5rem);
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--df-heading);
	margin: 0 0 14px;
}

.df-pdp-price {
	font-family: var(--font-tech);
	font-weight: 700;
	font-size: clamp(1.3rem, 2.6vw, 1.7rem);
	color: var(--gold);
	margin: 0 0 18px;
}

.df-pdp-intro { color: var(--df-text); margin: 0 0 26px; font-size: .96rem; }

.df-option-block { margin-bottom: 22px; }

.df-option-label {
	font-family: var(--font-tech);
	font-size: .68rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--df-muted);
	margin: 0 0 10px;
}

.df-option-label b { color: var(--df-text-strong); font-weight: 600; }

.df-swatches { display: flex; flex-wrap: wrap; gap: 10px; }

.df-swatch {
	position: relative;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--sw);
	border: 1px solid rgba(255, 255, 255, .28);
	cursor: pointer;
	padding: 0;
	transition: transform .25s ease, box-shadow .25s ease;
}

.dragonfitt-light-theme .df-swatch { border-color: rgba(0, 0, 0, .2); }

.df-swatch:hover { transform: scale(1.1); }

.df-swatch.is-active {
	box-shadow: 0 0 0 2px var(--df-bg), 0 0 0 4px var(--crimson);
}

.df-sizes { display: flex; flex-wrap: wrap; gap: 8px; }

.df-size {
	min-width: 48px;
	padding: 11px 14px;
	border: 1px solid var(--df-border);
	background: var(--df-surface);
	border-radius: var(--df-radius);
	color: var(--df-text);
	font-family: var(--font-tech);
	font-size: .72rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: all .25s ease;
}

.df-size:hover { border-color: var(--gold); color: var(--df-text-strong); }

.df-size.is-active {
	background: var(--crimson);
	border-color: var(--crimson);
	color: #fff;
	box-shadow: var(--shadow-red);
}

.df-size.is-unavailable { opacity: .3; cursor: not-allowed; text-decoration: line-through; }

.df-pdp-buy { display: flex; gap: 12px; align-items: stretch; margin: 26px 0 12px; flex-wrap: wrap; }

.df-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius);
	background: var(--df-surface);
	overflow: hidden;
	flex-shrink: 0;
}

.df-qty-btn {
	width: 44px;
	height: 100%;
	min-height: 50px;
	border: 0;
	background: none;
	color: var(--gold);
	font-size: 1.1rem;
	cursor: pointer;
	transition: background .25s ease, color .25s ease;
}

.df-qty-btn:hover { background: rgba(255, 0, 60, .12); color: var(--df-text-strong); }

.df-qty input {
	width: 52px;
	border: 0;
	background: none;
	color: var(--df-text-strong);
	font-family: var(--font-tech);
	font-size: .95rem;
	text-align: center;
	outline: none;
	-moz-appearance: textfield;
	appearance: textfield;
}

.df-qty input::-webkit-outer-spin-button,
.df-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.df-qty-sm .df-qty-btn { width: 34px; min-height: 38px; font-size: .95rem; }
.df-qty-sm input { width: 40px; font-size: .85rem; }

.df-pdp-add { flex: 1; min-width: 200px; }
.df-pdp-buynow { margin-bottom: 20px; }

.df-pdp-stock {
	font-family: var(--font-tech);
	font-size: .68rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--crimson);
	min-height: 18px;
	margin: 0 0 18px;
}

.df-pdp-meta { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }

.df-pdp-meta li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: .88rem;
	color: var(--df-text);
}

.df-pdp-meta .df-icon { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

.df-pdp-details {
	border-top: 1px solid var(--df-border-soft);
	padding: 14px 0;
}

.df-pdp-details summary {
	cursor: pointer;
	font-family: var(--font-tech);
	font-size: .74rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--df-heading);
	list-style: none;
}

.df-pdp-details summary::-webkit-details-marker { display: none; }
.df-pdp-details summary::after { content: " +"; color: var(--crimson); }
.df-pdp-details[open] summary::after { content: " –"; }
.df-pdp-details p { margin: 12px 0 0; font-size: .9rem; color: var(--df-text); }

/* ---------- cart ---------- */

.df-cart-layout {
	display: grid;
	grid-template-columns: 1.6fr .8fr;
	gap: clamp(24px, 3.4vw, 44px);
	align-items: start;
}

@media (max-width: 940px) { .df-cart-layout { grid-template-columns: minmax(0, 1fr); } }

.df-cart-head,
.df-cart-line {
	display: grid;
	grid-template-columns: 2.4fr .7fr .9fr .8fr 48px;
	gap: 14px;
	align-items: center;
}

.df-cart-head {
	padding-bottom: 12px;
	border-bottom: 1px solid var(--df-border);
	font-family: var(--font-tech);
	font-size: .62rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--df-muted);
}

.df-cart-line { padding: 18px 0; border-bottom: 1px solid var(--df-border-soft); }

.df-cart-item { display: flex; gap: 16px; align-items: center; min-width: 0; }

.df-cart-thumb {
	width: 88px;
	height: 88px;
	flex-shrink: 0;
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius);
	overflow: hidden;
	background: var(--df-surface);
}

.df-cart-thumb img { width: 100%; height: 100%; object-fit: cover; }

.df-cart-name {
	display: block;
	font-family: var(--font-display);
	font-size: .95rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--df-heading);
	text-decoration: none;
	line-height: 1.35;
}

.df-cart-name:hover { color: var(--crimson); }

.df-cart-option {
	display: block;
	margin-top: 5px;
	font-family: var(--font-tech);
	font-size: .66rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--df-muted);
}

.df-cart-cell { font-family: var(--font-tech); font-size: .88rem; color: var(--df-text); }
.df-cart-total { color: var(--gold); font-weight: 600; }

.df-icon-btn {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius);
	background: var(--df-surface);
	color: var(--df-muted);
	cursor: pointer;
	transition: all .25s ease;
}

.df-icon-btn:hover { border-color: var(--crimson); color: var(--crimson); }
.df-icon-btn .df-icon { width: 17px; height: 17px; }

.df-cart-actions { padding-top: 24px; }

@media (max-width: 720px) {
	.df-cart-head { display: none; }
	.df-cart-line {
		grid-template-columns: 1fr auto;
		gap: 10px 14px;
		padding: 20px 0;
	}
	.df-cart-item { grid-column: 1 / -1; }
	.df-cart-cell[data-label]::before {
		content: attr(data-label) ": ";
		font-size: .6rem;
		letter-spacing: .16em;
		color: var(--df-muted);
	}
	.df-cart-remove { justify-self: end; }
}

.df-cart-summary h2,
.df-checkout-summary h2 {
	font-family: var(--font-display);
	font-size: 1.14rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--df-heading);
	margin: 0 0 20px;
}

.df-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 9px 0;
	font-size: .9rem;
	color: var(--df-text);
}

.df-summary-row strong { font-family: var(--font-tech); color: var(--df-text-strong); }
.df-summary-muted { color: var(--df-muted); font-size: .82rem; }

.df-summary-rule { border: 0; border-top: 1px solid var(--df-border); margin: 14px 0; }

.df-summary-total { font-family: var(--font-tech); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.df-summary-total strong { font-size: 1.34rem; color: var(--gold); }

.df-cart-summary .df-btn { margin-top: 18px; }

.df-summary-note {
	margin: 14px 0 0;
	font-family: var(--font-tech);
	font-size: .62rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--df-muted);
	text-align: center;
}

.df-cart-empty { text-align: center; padding: clamp(40px, 6vw, 80px) 20px; }

.df-cart-empty-ico {
	display: inline-grid;
	place-items: center;
	width: 78px;
	height: 78px;
	border: 1px solid var(--df-border);
	border-radius: 50%;
	color: var(--gold);
	margin-bottom: 22px;
}

.df-cart-empty-ico .df-icon { width: 32px; height: 32px; }

.df-cart-empty h2 {
	font-family: var(--font-display);
	font-size: 1.4rem;
	text-transform: uppercase;
	color: var(--df-heading);
	margin: 0 0 12px;
}

.df-cart-empty p { max-width: 46ch; margin: 0 auto 26px; color: var(--df-text); }

/* ---------- checkout ---------- */

.df-checkout-layout {
	display: grid;
	grid-template-columns: 1.5fr .9fr;
	gap: clamp(24px, 3.4vw, 44px);
	align-items: start;
}

@media (max-width: 940px) { .df-checkout-layout { grid-template-columns: minmax(0, 1fr); } }

.df-fieldset {
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius);
	background: var(--df-panel);
	padding: clamp(20px, 2.6vw, 30px);
	margin: 0 0 18px;
	display: grid;
	gap: 16px;
}

.df-fieldset legend {
	font-family: var(--font-tech);
	font-size: .68rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--gold);
	padding: 0 10px;
	margin-left: -10px;
}

.df-rates { display: grid; gap: 10px; }

.df-rates-hint,
.df-rates-error {
	margin: 0;
	font-family: var(--font-tech);
	font-size: .68rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--df-muted);
}

.df-rates-error { color: var(--crimson); }

.df-rate {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 15px 18px;
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius);
	background: var(--df-surface);
	cursor: pointer;
	transition: border-color .25s ease, background .25s ease;
}

.df-rate:hover { border-color: var(--gold); }
.df-rate.is-active { border-color: var(--crimson); background: rgba(255, 0, 60, .08); }
.df-rate input { accent-color: #FF003C; width: 17px; height: 17px; flex-shrink: 0; }
.df-rate-name { flex: 1; font-size: .9rem; color: var(--df-text-strong); }
.df-rate-eta { font-size: .74rem; color: var(--df-muted); display: block; margin-top: 3px; }
.df-rate-price { font-family: var(--font-tech); font-weight: 600; color: var(--gold); }

.df-checkout-submit { margin-top: 8px; }

.df-checkout-legal {
	margin: 14px 0 0;
	font-size: .76rem;
	line-height: 1.7;
	color: var(--df-muted);
}

.df-checkout-legal a { color: var(--crimson); }

.df-checkout-items { display: grid; gap: 14px; margin-bottom: 20px; }

.df-checkout-item { display: flex; gap: 14px; align-items: center; }

.df-checkout-thumb {
	position: relative;
	width: 62px;
	height: 62px;
	flex-shrink: 0;
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius);
	overflow: hidden;
	background: var(--df-surface);
}

.df-checkout-thumb img { width: 100%; height: 100%; object-fit: cover; }

.df-checkout-thumb b {
	position: absolute;
	top: -7px;
	right: -7px;
	min-width: 20px;
	height: 20px;
	border-radius: 999px;
	background: var(--crimson);
	color: #fff;
	font-family: var(--font-tech);
	font-size: .62rem;
	line-height: 20px;
	text-align: center;
}

.df-checkout-item-info { flex: 1; min-width: 0; }

.df-checkout-item-info strong {
	display: block;
	font-size: .84rem;
	color: var(--df-text-strong);
	line-height: 1.35;
}

.df-checkout-item-info span {
	display: block;
	font-family: var(--font-tech);
	font-size: .62rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--df-muted);
	margin-top: 3px;
}

.df-checkout-item-price { font-family: var(--font-tech); font-size: .86rem; color: var(--gold); white-space: nowrap; }

.df-checkout-summary .df-btn { margin-top: 16px; }

/* success */

.df-order-done { text-align: center; padding: clamp(40px, 6vw, 80px) 20px; }

.df-order-seal {
	display: inline-grid;
	place-items: center;
	width: 84px;
	height: 84px;
	border: 1px solid var(--crimson);
	border-radius: 50%;
	color: var(--crimson);
	margin-bottom: 24px;
	box-shadow: var(--crimson-glow);
	animation: dfSeal .7s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes dfSeal {
	from { transform: scale(.4); opacity: 0; }
	to   { transform: none; opacity: 1; }
}

.df-order-seal .df-icon { width: 36px; height: 36px; }
.df-order-done .df-sub { margin-inline: auto; }

/* ---------- payment ---------- */

.df-pay-method {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px;
	border: 1px solid var(--crimson);
	border-radius: var(--df-radius);
	background: rgba(255, 0, 60, .07);
	flex-wrap: wrap;
}

.df-pay-lock {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	display: grid;
	place-items: center;
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius);
	color: var(--gold);
	background: var(--df-surface-2);
}

.df-pay-lock .df-icon { width: 21px; height: 21px; }

.df-pay-method > div { flex: 1; min-width: 200px; }

.df-pay-method strong {
	display: block;
	font-family: var(--font-tech);
	font-size: .74rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--df-text-strong);
	margin-bottom: 5px;
}

.df-pay-method p { margin: 0; font-size: .86rem; color: var(--df-text); line-height: 1.6; }

.df-pay-cards { display: flex; gap: 6px; }

.df-pay-cards i {
	font-style: normal;
	font-family: var(--font-tech);
	font-size: .56rem;
	letter-spacing: .08em;
	color: var(--df-muted);
	border: 1px solid var(--df-border);
	border-radius: 3px;
	padding: 6px 8px;
}

.df-pay-test {
	margin: 12px 0 0;
	font-size: .8rem;
	line-height: 1.7;
	color: var(--gold);
	border-left: 2px solid var(--gold);
	padding-left: 12px;
}

.df-pay-test code {
	font-family: var(--font-tech);
	font-size: .82rem;
	color: var(--df-text-strong);
	background: var(--df-surface-2);
	padding: 1px 6px;
	border-radius: 3px;
}

.df-pay-notice {
	max-width: 760px;
	margin: 0 auto clamp(28px, 4vw, 44px);
	padding: 16px 20px;
	border: 1px solid var(--gold);
	border-radius: var(--df-radius);
	background: rgba(197, 160, 89, .09);
	color: var(--df-text-strong);
	font-size: .92rem;
	text-align: center;
}

/* ---------- receipt ---------- */

.df-order-done.is-static { animation: none; }

.df-receipt {
	max-width: 520px;
	margin: 30px auto;
	padding: 22px 24px;
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius);
	background: var(--df-panel);
	text-align: left;
}

.df-receipt-line {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 9px 0;
	font-size: .9rem;
	color: var(--df-text);
	border-bottom: 1px solid var(--df-border-soft);
}

.df-receipt-line:last-child { border-bottom: 0; }
.df-receipt-line strong { font-family: var(--font-tech); color: var(--df-text-strong); white-space: nowrap; }
.df-receipt-muted { color: var(--df-muted); }

.df-receipt-total {
	margin-top: 6px;
	padding-top: 14px;
	border-top: 1px solid var(--df-border);
	font-family: var(--font-tech);
	text-transform: uppercase;
	letter-spacing: .1em;
	font-size: .76rem;
}

.df-receipt-total strong { font-size: 1.3rem; color: var(--gold); }

.df-receipt-note { font-size: .88rem !important; max-width: 52ch; }
