/**
 * Dresium Try-On Demo Modal Styles
 * HUD Cyberpunk effects with scanner animation
 *
 * @package Dresium_Server
 * @since 2.1.0
 */

/* ===== CSS Variables ===== */
:root {
	--df-modal-bg: #16161E;
	--df-modal-bg-secondary: #1e293b;
	--df-modal-border: rgba(255, 255, 255, 0.1);
	--df-modal-text: #e2e8f0;
	--df-modal-text-muted: #94a3b8;
	--df-modal-accent: #4C6EF5;
	--df-modal-accent-glow: rgba(76, 110, 245, 0.5);
	--df-modal-pink: #EC4899;
	--df-modal-pink-glow: rgba(236, 72, 153, 0.5);
	--df-modal-success: #22c55e;
	--df-modal-warning: #f59e0b;
	--df-modal-error: #ef4444;
	--df-modal-scanner: rgba(76, 110, 245, 0.6);
}

/* ===== Modal Overlay ===== */
#dfTryonModal.df-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(10, 10, 15, 0.5);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	opacity: 0;
	visibility: hidden;
	padding: 16px;
	box-sizing: border-box;
}

/* Hidden state - use this class to completely hide the modal */
#dfTryonModal.df-modal-overlay.hide-this-demo-modal {
	display: none !important;
}

@keyframes df-modal-fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes df-modal-slideUp {
	from { opacity: 0; transform: translateY(20px) scale(0.95); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

#dfTryonModal.df-modal-overlay.is-open {
	opacity: 1;
	visibility: visible;
	animation: df-modal-fadeIn 0.3s ease-out;
}

/* ===== Modal Container ===== */
.df-modal {
	display: flex;
	width: 100%;
	max-width: 900px;
	max-height: 90vh;
	background: var(--df-modal-bg);
	border-radius: 24px;
	border: 1px solid var(--df-modal-border);
	overflow: hidden;
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 40px var(--df-modal-accent-glow);
	position: relative;
	margin: auto;
	animation: df-modal-slideUp 0.4s ease-out;
}

/* ===== Close Button ===== */
.df-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.1) !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	border-radius: 50%;
	cursor: pointer;
	color: #fff !important;
	transition: all 0.3s ease;
	z-index: 20;
	padding: 0 !important;
	min-width: unset !important;
	line-height: 1 !important;
}

.df-modal__close:hover {
	background: rgba(255, 255, 255, 0.2) !important;
	box-shadow: 0 0 10px var(--df-modal-pink-glow);
}

/* ===== Left Column ===== */
.df-modal__left {
	flex: 0 0 45%;
	padding: 32px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: var(--df-modal-bg);
	border-right: 1px solid var(--df-modal-border);
}

.df-modal__content {
	flex: 1;
}

.df-modal__title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--df-modal-text);
	margin: 0 0 8px 0;
	line-height: 1.2;
}

.df-modal__desc {
	font-size: 0.9rem;
	color: var(--df-modal-text-muted);
	margin: 0 0 24px 0;
	line-height: 1.5;
}

/* ===== Section ===== */
.df-modal__section {
	margin-bottom: 24px;
}

.df-modal__label {
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--df-modal-text-muted);
	margin-bottom: 12px;
}

/* ===== Thumbnails ===== */
.df-modal__thumbs {
	display: flex;
	gap: 12px;
}

.df-modal__thumb {
	width: 70px;
	height: 80px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: var(--df-modal-bg-secondary);
	border: 2px solid transparent;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.2s ease;
	color: var(--df-modal-text-muted);
}

.df-modal__thumb:hover {
	border-color: var(--df-modal-border);
	color: var(--df-modal-text);
}

.df-modal__thumb--active {
	border-color: var(--df-modal-accent);
	color: var(--df-modal-accent);
	background: rgba(99, 102, 241, 0.1);
}

.df-modal__thumb--active-secondary {
	border-color: var(--df-modal-success);
	color: var(--df-modal-success);
	background: rgba(34, 197, 94, 0.1);
}

.df-modal__thumb-label {
	font-size: 0.65rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Upload thumb with preview */
.df-modal__thumb--upload {
	position: relative;
	overflow: hidden;
}

.df-modal__thumb--upload img {
	position: absolute;
	inset: 4px;
	width: calc(100% - 8px);
	height: calc(100% - 8px);
	object-fit: cover;
	border-radius: 8px;
}

.df-modal__thumb--upload.has-photo {
	border-color: var(--df-modal-success);
}

.df-modal__thumb--upload.has-photo svg,
.df-modal__thumb--upload.has-photo .df-modal__thumb-label {
	display: none;
}

/* ===== CTA Button ===== */
.df-modal__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 14px 24px;
	background: var(--df-modal-text);
	color: var(--df-modal-bg);
	border: none;
	border-radius: 12px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	margin-top: 16px;
}

.df-modal__cta:hover {
	background: #fff;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.df-modal__cta:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

/* ===== Credits Disclaimer ===== */
.df-modal__credits-disclaimer {
	margin-top: 12px;
	padding: 10px 14px;
	background: rgba(76, 110, 245, 0.1);
	border: 1px solid rgba(76, 110, 245, 0.2);
	border-radius: 8px;
	font-size: 0.75rem;
	color: var(--df-modal-text-muted);
	text-align: center;
	line-height: 1.5;
}

.df-modal__credits-disclaimer strong {
	color: var(--df-modal-accent);
	font-weight: 600;
}

.df-modal__cta--loading {
	pointer-events: none;
}

.df-modal__cta--loading span {
	opacity: 0.7;
}

#dfCtaText {
	color: #000 !important;
}

/* Gender-based CTA button colors */
#dfTryonModal.gender-male .df-modal__cta {
	background: var(--df-modal-accent);
	color: #fff;
}

#dfTryonModal.gender-male .df-modal__cta:hover {
	background: #5a7cf7;
	box-shadow: 0 4px 12px rgba(76, 110, 245, 0.4);
}

#dfTryonModal.gender-male #dfCtaText {
	color: #fff !important;
}

#dfTryonModal:not(.gender-male) .df-modal__cta {
	background: var(--df-modal-pink);
	color: #fff;
}

#dfTryonModal:not(.gender-male) .df-modal__cta:hover {
	background: #f472b6;
	box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
}

#dfTryonModal:not(.gender-male) #dfCtaText {
	color: #fff !important;
}

/* ===== Right Column - HUD Scanner ===== */
.df-modal__right {
	flex: 0 0 55%;
	position: relative;
	background: #0A0A0F;
	overflow: hidden;
	min-height: 400px;
}

.df-modal__result-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(ellipse 60% 50% at 30% 50%, rgba(76, 110, 245, 0.15) 0%, transparent 70%),
		radial-gradient(ellipse 50% 60% at 70% 60%, rgba(236, 72, 153, 0.1) 0%, transparent 70%),
		#050508;
}

/* ===== Moving Grid Overlay ===== */
.df-modal__grid-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image:
		linear-gradient(rgba(76, 110, 245, 0.25) 1px, transparent 1px),
		linear-gradient(90deg, rgba(76, 110, 245, 0.25) 1px, transparent 1px);
	background-size: 30px 30px;
	mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 10%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 10%, transparent 70%);
	animation: df-grid-flow 3s linear infinite;
}

@keyframes df-grid-flow {
	0% { background-position: 0px 0px; }
	100% { background-position: 30px 30px; }
}

/* ===== Reticle ===== */
.df-modal__right {
	position: relative;
}

#dfTryonModal.df-modal-overlay.is-open #corners {
	position: relative;
	width: 100%;
	height: 100%;
}

#dfTryonModal .df-modal__reticle {
	position: absolute;
	width: 24px;
	height: 24px;
	transition: border-color 0.3s ease;
}

/* Top Left */
#dfTryonModal .df-modal__reticle.tl {
	top: 15% !important;
	left: 15% !important;
	bottom: unset !important;
	right: unset !important;
	border-top: 2px solid #EC4899;
	border-left: 2px solid #EC4899;
	position: absolute;
}

/* Top Right */
#dfTryonModal .df-modal__reticle.tr {
	top: 15% !important;
	right: 15% !important;
	bottom: unset !important;
	left: unset !important;
	border-top: 2px solid #EC4899;
	border-right: 2px solid #EC4899;
	position: absolute;
}

/* Bottom Left */
#dfTryonModal .df-modal__reticle.bl {
	bottom: 15% !important;
	left: 15% !important;
	top: unset !important;
	right: unset !important;
	border-bottom: 2px solid #EC4899;
	border-left: 2px solid #EC4899;
	position: absolute;
}

/* Bottom Right */
#dfTryonModal .df-modal__reticle.br {
	bottom: 15% !important;
	right: 15% !important;
	top: unset !important;
	left: unset !important;
	border-bottom: 2px solid #EC4899;
	border-right: 2px solid #EC4899;
	position: absolute;
}

/* Male variant - Blue corners */
#dfTryonModal.gender-male .df-modal__reticle.tl {
	border-top-color: #3B82F6;
	border-left-color: #3B82F6;
}

#dfTryonModal.gender-male .df-modal__reticle.tr {
	border-top-color: #3B82F6;
	border-right-color: #3B82F6;
}

#dfTryonModal.gender-male .df-modal__reticle.bl {
	border-bottom-color: #3B82F6;
	border-left-color: #3B82F6;
}

#dfTryonModal.gender-male .df-modal__reticle.br {
	border-bottom-color: #3B82F6;
	border-right-color: #3B82F6;
}

.df-modal__reticle-inner {
	width: 12px;
	height: 12px;
	border: 2px solid var(--df-modal-accent);
	border-radius: 50%;
	margin-left: auto;
	margin-bottom: 6px;
	position: relative;
	background: none;
}

.df-modal__reticle-inner::before,
.df-modal__reticle-inner::after {
	content: '';
	position: absolute;
	background: var(--df-modal-accent);
}

.df-modal__reticle-inner::before {
	width: 16px;
	height: 1px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.df-modal__reticle-inner::after {
	width: 1px;
	height: 16px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#dfTryonModal #sys-status {
	position: absolute;
	display: flex;
	width: 100%;
	height: 100%;
	justify-content: center;
	align-items: flex-start;
	padding-top: 10px;
	z-index: 2;
	pointer-events: none;
	top: 0;
	left: 0;
}

#dfTryonModal div.df-modal__reticle-data {
	font-size: 10px;
	font-family: 'Courier New', Courier, monospace;
	letter-spacing: 1.5px;
	font-weight: bold;
	animation: df-modal-data-blink 3s infinite;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	height: 20px;
	position: absolute;
	top: 5%;
	left: 5%;
}

#dfTryonModal div.df-modal__reticle-data > span:nth-of-type(1) {
	color: #EC4899;
	display: inline-block;
	height: 100%;
}

#dfTryonModal div.df-modal__reticle-data > span:nth-of-type(2) {
	color: #4C6EF5;
	display: inline-block;
	height: 100%;
}

@keyframes df-modal-data-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.3; }
}

/* ===== Garment Images ===== */
.df-modal__garment {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
	z-index: 2;
}

.df-modal__garment.is-visible {
	opacity: 1;
	visibility: visible;
}

.df-modal__garment img {
	max-width: 60% !important;
	max-height: 80%;
	object-fit: contain;
	filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

/* ===== Result Image ===== */
.df-modal__result {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
	animation: df-fade-in 0.5s ease;
}

@keyframes df-fade-in {
	from { opacity: 0; transform: scale(0.95); }
	to { opacity: 1; transform: scale(1); }
}

.df-modal__result img {
	max-width: 85%;
	max-height: 65%;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* ===== Fullscreen Button ===== */
.df-modal__fullscreen-btn {
	position: absolute;
	bottom: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(15, 23, 42, 0.9);
	border: 1px solid var(--df-modal-border);
	border-radius: 10px;
	color: var(--df-modal-text);
	cursor: pointer;
	transition: all 0.2s ease;
	z-index: 10;
	padding: 10px !important;
}

.df-modal__fullscreen-btn:hover {
	background: var(--df-modal-accent);
	border-color: var(--df-modal-accent);
	transform: scale(1.05);
}

/* ===== Glow Effect ===== */
.df-modal__glow {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 300px;
	height: 300px;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(circle, var(--df-modal-accent-glow) 0%, transparent 70%);
	z-index: 4;
	pointer-events: none;
	mix-blend-mode: screen;
	animation: df-modal-glow 6s ease-in-out infinite;
}

@keyframes df-modal-glow {
	0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
	50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

/* ===== Scanner Effect ===== */
.df-modal__scanner {
	position: absolute;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, transparent, var(--df-modal-scanner), transparent);
	box-shadow: 0 0 20px var(--df-modal-scanner), 0 0 40px var(--df-modal-scanner);
	z-index: 5;
	animation: df-scan 3s ease-in-out infinite;
}

@keyframes df-scan {
	0% { top: 10%; opacity: 0; }
	10% { opacity: 1; }
	90% { opacity: 1; }
	100% { top: 90%; opacity: 0; }
}

.df-modal__scanner--stopped {
	animation: none;
	opacity: 0;
}

/* ===== Status Indicator ===== */
#dfTryonModal #dfStatus.df-modal__status {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(76, 110, 245, 0.3);
	padding: 8px 20px;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.df-modal__status-dot {
	width: 8px;
	height: 8px;
	background: var(--df-modal-success);
	border-radius: 50%;
	animation: df-pulse 1.5s ease-in-out infinite;
}

@keyframes df-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.5; transform: scale(0.8); }
}

.df-modal__status span {
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--df-modal-text);
	font-family: 'Courier New', monospace;
	letter-spacing: 0.05em;
}

.df-modal__status--generating .df-modal__status-dot {
	background: var(--df-modal-warning);
}

.df-modal__status--complete .df-modal__status-dot {
	background: var(--df-modal-success);
	animation: none;
}

.df-modal__status--error .df-modal__status-dot {
	background: var(--df-modal-error);
	animation: none;
}

/* ===== Social Share ===== */
.df-modal__share {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px 20px;
	background: rgba(15, 23, 42, 0.95);
	border: 1px solid var(--df-modal-border);
	border-radius: 12px;
	z-index: 7;
	animation: df-slide-up 0.3s ease;
}

@keyframes df-slide-up {
	from { opacity: 0; transform: translateX(-50%) translateY(20px); }
	to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.df-modal__share span {
	font-size: 0.75rem;
	color: var(--df-modal-text-muted);
	font-weight: 500;
}

#dfTryonModal .df-modal__share .df-modal__share-btn {
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--df-modal-bg-secondary);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	padding: 5px !important;
}

.df-modal__share-btn:hover {
	transform: translateY(-2px);
}

.df-modal__share-btn--facebook {
	color: #1877f2;
}

.df-modal__share-btn--facebook:hover {
	background: rgba(24, 119, 242, 0.2);
}

.df-modal__share-btn--twitter {
	color: #000;
}

.df-modal__share-btn--twitter:hover {
	background: rgba(0, 0, 0, 0.2);
}

.df-modal__share-btn--linkedin {
	color: #0a66c2;
}

.df-modal__share-btn--linkedin:hover {
	background: rgba(10, 102, 194, 0.2);
}

.df-modal__share-btn--whatsapp {
	color: #25d366;
}

.df-modal__share-btn--whatsapp:hover {
	background: rgba(37, 211, 102, 0.2);
}

.df-modal__share-btn--instagram {
	color: #e4405f;
}

.df-modal__share-btn--instagram:hover {
	background: rgba(228, 64, 95, 0.2);
}

/* ===== Blocked State ===== */
.df-modal__blocked-message {
	text-align: center;
	padding: 24px;
	background: var(--df-modal-bg-secondary);
	border-radius: 12px;
	border: 1px solid var(--df-modal-border);
}

.df-modal__blocked-message svg {
	color: var(--df-modal-warning);
	margin-bottom: 16px;
}

.df-modal__blocked-message h4 {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--df-modal-text);
	margin: 0 0 8px 0;
}

.df-modal__blocked-message p {
	font-size: 0.85rem;
	color: var(--df-modal-text-muted);
	margin: 0;
	line-height: 1.6;
}

.df-modal__blocked-result {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--df-modal-border);
}

.df-modal__blocked-result p {
	font-size: 0.75rem;
	margin-bottom: 12px;
}

.df-modal__blocked-result img {
	max-width: 100%;
	max-height: 150px;
	object-fit: contain;
	border-radius: 8px;
}

/* ===== Toast Notifications (inside scanner column) ===== */
/* RG-WEBDEV 2026-03-08: Toast messages centered in modal with 50% transparent backgrounds */
.df-modal__toast {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.9);
	padding: 16px 24px;
	background: rgba(15, 23, 42, 0.9);
	border: 1px solid var(--df-modal-border);
	border-radius: 8px;
	color: var(--df-modal-text);
	font-size: 0.9rem;
	font-weight: 500;
	z-index: 100;
	opacity: 0;
	transition: all 0.3s ease;
	max-width: 50%;
	text-align: center;
	white-space: normal;
	word-wrap: break-word;
}

.df-modal__toast.is-visible {
	transform: translate(-50%, -50%) scale(1);
	opacity: 1;
}

.df-modal__toast--error {
	border-color: var(--df-modal-error);
	background: rgba(239, 68, 68, 0.5);
}

.df-modal__toast--success {
	border-color: var(--df-modal-success);
	background: rgba(34, 197, 94, 0.5);
}

.df-modal__toast--info {
	border-color: var(--df-modal-accent);
	background: rgba(99, 102, 241, 0.5);
}

/* ===== Credit Confirmation Modal ===== */
/* RG-WEBDEV 2026-03-08: Confirmation modal for credit usage */
.df-confirm-modal {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.df-confirm-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.df-confirm-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 15, 0.7);
	backdrop-filter: blur(4px);
}

.df-confirm-modal__content {
	position: relative;
	background: var(--df-modal-bg);
	border: 1px solid var(--df-modal-border);
	border-radius: 12px;
	padding: 24px 32px;
	max-width: 400px;
	width: 90%;
	box-shadow: 0 0 30px rgba(76, 110, 245, 0.3);
	transform: scale(0.9);
	transition: transform 0.3s ease;
}

.df-confirm-modal.is-open .df-confirm-modal__content {
	transform: scale(1);
}

.df-confirm-modal__message {
	color: var(--df-modal-text);
	font-size: 0.95rem;
	line-height: 1.6;
	text-align: center;
	margin: 0 0 24px 0;
}

.df-confirm-modal__buttons {
	display: flex;
	gap: 12px;
	justify-content: center;
}

.df-confirm-modal__btn {
	padding: 10px 24px;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	border: 1px solid var(--df-modal-border);
}

.df-confirm-modal__btn--cancel {
	background: transparent;
	color: var(--df-modal-text-muted);
}

.df-confirm-modal__btn--cancel:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--df-modal-text);
}

.df-confirm-modal__btn--ok {
	background: var(--df-modal-accent);
	color: #fff;
	border-color: var(--df-modal-accent);
}

.df-confirm-modal__btn--ok:hover {
	background: #3B5BDB;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
	#dfTryonModal > .df-modal {
		overflow-y: scroll !important;
	}

	#dfTryonModal.df-modal-overlay.is-open #corners {
		position: static;
		width: 100%;
		height: 100%;
	}

	.df-modal {
		flex-direction: column;
		max-height: 85vh;
	}

	.df-modal__left {
		flex: none;
		border-right: none;
		border-bottom: 1px solid var(--df-modal-border);
		padding: 24px;
	}

	.df-modal__right {
		flex: 1;
		min-height: 350px;
		height: 350px;
	}

	.df-modal__title {
		font-size: 1.25rem;
	}

	.df-modal__desc {
		font-size: 0.85rem;
		margin-bottom: 16px;
	}

	.df-modal__section {
		margin-bottom: 16px;
	}

	.df-modal__thumb {
		width: 60px;
		height: 70px;
	}

	.df-modal__cta {
		padding: 12px 20px;
		font-size: 0.9rem;
	}

	.df-modal__close {
		top: 12px;
		right: 12px;
	}

	.df-modal__status {
		bottom: auto;
		top: 50%;
		padding: 6px 12px;
	}

	.df-modal__share {
		padding: 10px 16px;
		gap: 8px;
		bottom: 10px;
	}

	#dfTryonModal .df-modal__share .df-modal__share-btn {
		width: 40px;
		height: 40px;
	}

	#dfTryonModal .df-modal__share .df-modal__share-btn svg {
		width: 24px;
		height: 24px;
	}

	/* Fullscreen button - move to top right on mobile */
	#dfTryonModal .df-modal__fullscreen-btn {
		top: 15px;
		bottom: auto;
		right: 15px;
		width: 48px;
		height: 48px;
	}

	#dfTryonModal .df-modal__fullscreen-btn svg {
		width: 28px;
		height: 28px;
	}
}

@media (max-width: 480px) {
	#dfTryonModal.df-modal-overlay {
		padding: 10px;
	}

	.df-modal {
		width: 100%;
		border-radius: 12px;
	}

	.df-modal__left {
		padding: 20px;
	}

	.df-modal__thumb {
		width: 55px;
		height: 65px;
	}

	.df-modal__thumb svg {
		width: 22px;
		height: 22px;
	}

	/* Share buttons on very small screens */
	#dfTryonModal .df-modal__share {
		padding: 8px 12px;
		gap: 6px;
		bottom: 8px;
	}

	#dfTryonModal .df-modal__share span {
		display: none;
	}

	#dfTryonModal .df-modal__share .df-modal__share-btn {
		width: 36px;
		height: 36px;
	}

	#dfTryonModal .df-modal__share .df-modal__share-btn svg {
		width: 20px;
		height: 20px;
	}

	/* Fullscreen button on very small screens */
	#dfTryonModal .df-modal__fullscreen-btn {
		top: 10px;
		right: 10px;
		width: 44px;
		height: 44px;
	}

	#dfTryonModal .df-modal__fullscreen-btn svg {
		width: 24px;
		height: 24px;
	}
}
