.gundrop-image-wrap {
	position: relative;
	display: inline-block;
	max-width: 100%;
	line-height: 0;
}

.gundrop-image-wrap--single {
	width: 100%;
	max-width: 440px;
}

.gundrop-image-wrap--loop {
	width: 100%;
}

.gundrop-image-inner {
	position: relative;
	z-index: 1;
	aspect-ratio: 1 / 1;
	display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.gundrop-image-inner img,
.gundrop-image-inner .gundrop-product-img {
	object-fit: contain;
	display: block;
	width: 94%;
    height: 94%;
    object-fit: contain;
    display: block;
    border-radius: inherit;
}

.gundrop-teardrop-bg {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	height: auto;
	z-index: 0;
	pointer-events: none;
	display: block;
}

.gundrop-ring {
	position: absolute;
	inset: -6px;
	width: calc(100% + 12px);
	height: calc(100% + 12px);
	z-index: 2;
	pointer-events: none;
	transform: rotate(0deg);
}

.gundrop-ring-bg {
	stroke: rgba(255, 255, 255, 0.12);
	stroke-width: 0.75;
}

.gundrop-ring-fg {
	stroke: #e5b42a;
	stroke-width: 1;
	stroke-linecap: round;
	transition: stroke-dashoffset 0.5s linear, stroke 0.4s ease-out;
}

.gundrop-ring-tail {
	stroke: #e5b42a;
	stroke-width: 1;
	transition: stroke 0.4s ease-out;
}

.gundrop-image-wrap[data-state="sold"] .gundrop-ring-fg,
.gundrop-image-wrap[data-state="floored"] .gundrop-ring-fg,
.gundrop-image-wrap[data-state="cancelled"] .gundrop-ring-fg,
.gundrop-image-wrap[data-state="sold"] .gundrop-ring-tail,
.gundrop-image-wrap[data-state="floored"] .gundrop-ring-tail,
.gundrop-image-wrap[data-state="cancelled"] .gundrop-ring-tail {
	stroke: #999 !important;
}

.gundrop-controls {
	margin-top: 1em;
	text-align: center;
	color: #fff;
}

.gundrop-controls--loop {
	margin-top: 0.5em;
	font-size: 0.9em;
}

.gundrop-price-row {
	font-size: 1.4em;
	font-weight: 600;
	margin-bottom: 0.25em;
}

.gundrop-controls--loop .gundrop-price-row {
	font-size: 1.1em;
}

.gundrop-price--flash {
	animation: gundrop-flash 1.2s ease-out;
}

@keyframes gundrop-flash {
	0%   { color: #e5b42a; transform: scale(1.08); }
	100% { color: inherit; transform: scale(1); }
}

.gundrop-countdown-text {
	font-size: 0.95em;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 0.75em;
	font-variant-numeric: tabular-nums;
}

.gundrop-grid-item,
.gundrop-grid-item a,
.gundrop-grid-item-title,
.gundrop-grid-item-title a {
	color: #fff;
}

.gundrop-checkout-btn {
	display: inline-block;
}

.gundrop-checkout-btn.is-disabled {
	opacity: 0.5;
	pointer-events: none;
	cursor: not-allowed;
}

/* ===== Single-layout vertical stack (concept design) ===== */

.gundrop-digital {
	font-family: 'Share Tech Mono', ui-monospace, Menlo, Consolas, monospace;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

.gundrop-shortcode--single {
	position: relative;
	text-align: center;
	color: #fff;
}

.gundrop-opening-price {
	position: absolute;
	top: 0;
	left: 0;
	text-align: left;
	color: #fff;
	z-index: 5;
}

.gundrop-opening-price-label {
	display: block;
	text-transform: uppercase;
	font-size: 0.65em;
	letter-spacing: 0.08em;
	color: #fff;
	margin-bottom: 0.15em;
}

.gundrop-opening-price-value {
	display: block;
	font-size: 1.5em;
	color: #e5b42a;
	line-height: 1;
}

.gundrop-opening-price-value .woocommerce-Price-amount,
.gundrop-opening-price-value bdi {
	color: inherit;
	font-family: inherit;
}

.gundrop-timer-block {
	margin: 0 auto 1em;
	position: relative;
	z-index: 5;
}

.gundrop-timer-label {
	text-transform: uppercase;
	color: #fff;
	letter-spacing: 0.08em;
	font-size: 0.95em;
	margin-bottom: 0.35em;
}

.gundrop-shortcode--single .gundrop-countdown-text {
	font-size: 3.5em;
	color: #e5b42a;
	line-height: 1;
	margin: 0;
}

.gundrop-current-price-block {
	margin-top: 1.25em;
	position: relative;
	z-index: 5;
}

.gundrop-current-price-label {
	text-transform: uppercase;
	color: #fff;
	letter-spacing: 0.08em;
	font-size: 1em;
	margin-bottom: 0.35em;
}

.gundrop-shortcode--single .gundrop-price {
	font-size: 3.5em;
	color: #e5b42a;
	line-height: 1;
	display: inline-block;
}

.gundrop-shortcode--single .gundrop-price .woocommerce-Price-amount,
.gundrop-shortcode--single .gundrop-price bdi {
	color: inherit;
	font-family: inherit;
	font-size: inherit;
}

.gundrop-checkout-btn--pill {
	display: inline-block;
	background: #fff;
	color: #1a1a1a;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 0.85em 2.75em;
	border-radius: 999px;
	border: none;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12), 0 6px 24px rgba(229, 180, 42, 0.25);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	text-decoration: none;
	margin-top: 1.5em;
	cursor: pointer;
	position: relative;
	z-index: 5;
}

.gundrop-checkout-btn--pill:hover,
.gundrop-checkout-btn--pill:focus {
	box-shadow: 0 0 0 6px rgba(229, 180, 42, 0.25), 0 8px 28px rgba(229, 180, 42, 0.5);
	transform: translateY(-1px);
	color: #1a1a1a;
	text-decoration: none;
}

.gundrop-checkout-btn--pill.is-disabled {
	opacity: 0.5;
	pointer-events: none;
	cursor: not-allowed;
}

@media (max-width: 600px) {
	.gundrop-opening-price {
		position: static;
		text-align: center;
		margin-bottom: 1em;
	}
	.gundrop-shortcode--single .gundrop-countdown-text,
	.gundrop-shortcode--single .gundrop-price {
		font-size: 2.5em;
	}
}

/* ===== Slot machine price reveal ===== */

.gundrop-slot-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 180ms ease-out;
}

.gundrop-slot-backdrop.is-visible {
	opacity: 1;
}

.gundrop-slot-machine {
	background: #1a1a1a;
	border: 2px solid #e5b42a;
	border-radius: 16px;
	padding: clamp(16px, 4vw, 32px);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(229, 180, 42, 0.25);
	color: #fff;
	text-align: center;
	max-width: 92vw;
}

.gundrop-slot-header {
	color: #e5b42a;
	font-weight: 700;
	font-size: clamp(14px, 3vw, 20px);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.gundrop-slot-reels {
	display: flex;
	gap: 6px;
	justify-content: center;
	align-items: center;
}

.gundrop-slot-cell {
	width: clamp(48px, 11vw, 80px);
	height: clamp(64px, 14vw, 96px);
	background: #fff;
	color: #111;
	border-radius: 8px;
	box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 -2px 6px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	font-size: clamp(32px, 8vw, 56px);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	position: relative;
}

.gundrop-slot-cell--currency,
.gundrop-slot-cell--dot {
	background: #e5b42a;
	color: #1a1a1a;
	width: clamp(36px, 8vw, 56px);
}

.gundrop-slot-cell--reel .gundrop-slot-strip {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	will-change: transform;
}

.gundrop-slot-digit {
	height: clamp(64px, 14vw, 96px);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.gundrop-slot-cell--bounce {
	animation: gundrop-slot-bounce 200ms ease-out;
}

@keyframes gundrop-slot-bounce {
	0%   { transform: scale(1); box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 -2px 6px rgba(0, 0, 0, 0.15); }
	40%  { transform: scale(1.08); box-shadow: 0 0 24px rgba(229, 180, 42, 0.7); }
	100% { transform: scale(1); box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 -2px 6px rgba(0, 0, 0, 0.15); }
}

.gundrop-slot-footer {
	margin-top: 16px;
	color: rgba(255, 255, 255, 0.85);
	font-size: clamp(12px, 2.5vw, 16px);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.05em;
}

.gundrop-slot-machine.is-revealed {
	animation: gundrop-slot-reveal-pulse 800ms ease-out;
}

@keyframes gundrop-slot-reveal-pulse {
	0%   { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 rgba(229, 180, 42, 0); }
	50%  { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(229, 180, 42, 0.9); }
	100% { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(229, 180, 42, 0.25); }
}

@media (prefers-reduced-motion: reduce) {
	.gundrop-slot-backdrop,
	.gundrop-slot-machine,
	.gundrop-slot-cell--bounce,
	.gundrop-slot-strip {
		transition: none !important;
		animation: none !important;
	}
	.gundrop-slot-strip {
		transform: none !important;
	}
}
