.deon-photo-card-widget,
.deon-photo-card-widget * {
	box-sizing: border-box;
}
.deon-photo-card-widget {
	width: 100%;
	max-width: 100%;
	margin: 20px 0;
	clear: both;
	isolation: isolate;
	font-family: "Noto Sans Bengali", "Hind Siliguri", sans-serif;
	line-height: 1.5;
}
.deon-photo-card-widget .deon-photo-card__actions {
	width: 100%;
	max-width: 100%;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 14px 0;
	padding: 0;
	border: 0;
	background: transparent;
}
.deon-photo-card__download,
.deon-photo-card__share,
.deon-photo-card__customize-toggle {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	border-radius: 9px;
	padding: 10px 18px;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}
.deon-photo-card__download {
	border: 1px solid #ffce46;
	background: linear-gradient(135deg, #a80008 0%, #570006 100%);
	color: #fff;
	box-shadow: 0 5px 16px rgba(130, 0, 8, 0.22);
}
.deon-photo-card__download:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(130, 0, 8, 0.3);
	color: #fff;
}
.deon-photo-card__share {
	border: 1px solid #0d9488;
	background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
	color: #fff;
	box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
}
.deon-photo-card__share:hover {
	transform: translateY(-2px);
	color: #fff;
}
.deon-photo-card__customize-toggle {
	border: 1px solid #cbd5e1;
	background: #f8fafc;
	color: #1e293b;
}
.deon-photo-card__customize-toggle:hover,
.deon-photo-card__customize-toggle[aria-expanded="true"] {
	background: #e2e8f0;
	border-color: #94a3b8;
	color: #0f172a;
}
.deon-photo-card__download[disabled],
.deon-photo-card__share[disabled] {
	opacity: 0.65;
	cursor: wait;
	transform: none;
}
.deon-photo-card__download-status {
	flex: 1 1 180px;
	font-size: 13px;
	color: #334155;
	font-weight: 600;
}

/* Interactive Studio Panel */
.deon-photo-card__studio {
	margin-top: 14px;
	padding: 18px;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}
.deon-photo-card__studio[hidden] {
	display: none !important;
}
.deon-studio-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.9fr);
	gap: 20px;
	align-items: start;
}
.deon-studio-controls {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.deon-studio-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 10px;
}
.deon-studio-field label {
	display: block;
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 700;
	color: #334155;
}
.deon-studio-input,
.deon-studio-select {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #f8fafc;
	color: #0f172a;
	font: inherit;
	font-size: 13px;
}
.deon-studio-input:focus,
.deon-studio-select:focus {
	outline: 2px solid #a80008;
	background: #fff;
}
.deon-studio-toggles {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	padding-top: 4px;
	font-size: 13px;
	font-weight: 600;
	color: #1e293b;
}
.deon-studio-toggles label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}
.deon-studio-preview-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 12px;
	border: 1px dashed #cbd5e1;
	border-radius: 12px;
	background: #f1f5f9;
}
.deon-studio-preview-label {
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #64748b;
}
.deon-studio-canvas {
	max-width: 100%;
	height: auto !important;
	max-height: 360px;
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
	background: #fff;
}
.deon-photo-card-widget .deon-photo-card--download-source {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
	padding: 0 !important;
	margin: -1px !important;
}
@media (max-width: 780px) {
	.deon-studio-grid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 480px) {
	.deon-photo-card-widget .deon-photo-card__actions {
		align-items: stretch;
		gap: 8px;
	}
	.deon-photo-card__download,
	.deon-photo-card__share,
	.deon-photo-card__customize-toggle {
		flex: 1 1 auto;
		font-size: 13px;
		padding: 10px 12px;
	}
}
