/**
 * DFF Marketplace Engine - Frontend & Seller Stylesheet
 *
 * Designed for D Fashion Fit. Mobile-first, responsive, and clean.
 *
 * @package DFF_Marketplace
 */

/* Baseline Reset & Typography */
.dff-registration-container,
.dff-storefront-wrapper,
.dff-dashboard-wrap {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: #1e293b;
	box-sizing: border-box;
}

.dff-registration-container *,
.dff-storefront-wrapper *,
.dff-dashboard-wrap * {
	box-sizing: border-box;
}

/* Common Buttons & Badges */
.dff-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	padding: 10px 20px;
	border-radius: 6px;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	transition: all 0.2s ease;
	font-size: 14px;
}

.dff-btn-primary {
	background-color: #2563eb;
	color: #ffffff !important;
}

.dff-btn-primary:hover {
	background-color: #1d4ed8;
}

.dff-btn-secondary {
	background-color: #f1f5f9;
	color: #334155 !important;
	border-color: #cbd5e1;
}

.dff-btn-secondary:hover {
	background-color: #e2e8f0;
}

.dff-btn-lg {
	padding: 14px 28px;
	font-size: 16px;
	width: 100%;
}

.dff-req {
	color: #e11d48;
}

.dff-optional {
	color: #64748b;
	font-size: 12px;
	font-weight: normal;
}

.dff-help-text {
	font-size: 12px;
	color: #64748b;
	display: block;
	margin-top: 4px;
}

/* Alerts */
.dff-alert {
	padding: 16px 20px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.5;
}

.dff-alert h4 {
	margin: 0 0 6px 0;
	font-size: 15px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 6px;
}

.dff-alert p {
	margin: 0;
}

.dff-alert-success {
	background-color: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}

.dff-alert-warning {
	background-color: #fffbeb;
	border: 1px solid #fde68a;
	color: #92400e;
}

.dff-alert-danger {
	background-color: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.dff-alert-info {
	background-color: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1e40af;
}

/* ==================================================
   ULTRA-PREMIUM SELLER ONBOARDING DESIGN SYSTEM
   Visual Target: Amazon Seller Central / Shopify Plus / Brex
   Palette: #0B1020 (Primary), #F7F8FA (Bg), #FFFFFF (Cards), #111827 (Text),
   #667085 (Secondary), #E4E7EC (Border), #12B76A (Success), #F79009 (Warn),
   #F04438 (Error), #DB2777 (DFF Accent)
   ================================================== */
.dff-onboarding-app {
	background-color: #F7F8FA;
	min-height: 100vh;
	padding: 40px 20px 80px 20px;
	color: #111827;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	box-sizing: border-box;
}

.dff-onboarding-app *,
.dff-onboarding-app *::before,
.dff-onboarding-app *::after {
	box-sizing: border-box;
}

.dff-onboarding-shell {
	max-width: 1240px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 340px 1fr;
	gap: 32px;
	align-items: start;
}

/* --- SIDEBAR PROGRESS & TRUST --- */
.dff-onboarding-sidebar {
	background: #0B1020;
	color: #FFFFFF;
	border-radius: 16px;
	padding: 32px 24px;
	position: sticky;
	top: 32px;
	box-shadow: 0 10px 30px rgba(11, 16, 32, 0.08);
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.dff-sidebar-brand {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.dff-brand-logo-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
}

.dff-brand-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #DB2777;
	color: #FFFFFF;
	font-size: 22px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	letter-spacing: -0.03em;
}

.dff-brand-text {
	display: flex;
	flex-direction: column;
}

.dff-brand-title {
	font-size: 16px;
	font-weight: 700;
	color: #FFFFFF;
	letter-spacing: -0.01em;
}

.dff-brand-sub {
	font-size: 11px;
	color: #98A2B3;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 600;
}

.dff-sidebar-heading {
	font-size: 20px;
	font-weight: 700;
	color: #FFFFFF;
	margin: 4px 0 0 0;
	line-height: 1.3;
}

.dff-sidebar-desc {
	font-size: 13px;
	color: #98A2B3;
	margin: 0;
	line-height: 1.5;
}

/* Dynamic Progress Widget */
.dff-progress-widget {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 16px;
}

.dff-progress-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
	font-size: 12px;
}

.dff-progress-step-text {
	color: #98A2B3;
	font-weight: 600;
}

.dff-progress-percent {
	color: #12B76A;
	font-weight: 700;
}

.dff-progress-track {
	height: 6px;
	background: rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	overflow: hidden;
}

.dff-progress-bar {
	height: 100%;
	background: #12B76A;
	border-radius: 999px;
	transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Vertical Stepper List */
.dff-stepper-nav {
	margin-top: 4px;
}

.dff-stepper-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	position: relative;
}

.dff-step-item {
	display: flex;
	align-items: center;
	gap: 14px;
	opacity: 0.55;
	transition: all 0.2s ease;
	cursor: pointer;
}

.dff-step-item.active {
	opacity: 1;
}

.dff-step-item.completed {
	opacity: 0.85;
}

.dff-step-badge {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #1F2937;
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #9CA3AF;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.2s ease;
}

.dff-step-item.active .dff-step-badge {
	background: #DB2777;
	border-color: #DB2777;
	color: #FFFFFF;
	box-shadow: 0 0 0 4px rgba(219, 39, 119, 0.25);
}

.dff-step-item.completed .dff-step-badge {
	background: #12B76A;
	border-color: #12B76A;
	color: #FFFFFF;
}

.dff-step-info {
	display: flex;
	flex-direction: column;
}

.dff-step-name {
	font-size: 13px;
	font-weight: 700;
	color: #FFFFFF;
}

.dff-step-status {
	font-size: 11px;
	color: #98A2B3;
}

/* Sidebar Trust & Draft */
.dff-sidebar-trust {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	padding: 12px 14px;
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.dff-trust-icon .dashicons {
	color: #12B76A;
	font-size: 20px;
	width: 20px;
	height: 20px;
}

.dff-trust-body strong {
	display: block;
	font-size: 12px;
	color: #FFFFFF;
}

.dff-trust-body p {
	margin: 2px 0 0 0;
	font-size: 11px;
	color: #98A2B3;
	line-height: 1.4;
}

.dff-sidebar-draft-action {
	padding-top: 8px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dff-btn-draft {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #D0D5DD;
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	transition: all 0.2s ease;
}

.dff-btn-draft:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #FFFFFF;
	border-color: rgba(255, 255, 255, 0.3);
}

.dff-draft-status {
	display: block;
	font-size: 11px;
	color: #12B76A;
	text-align: center;
	margin-top: 6px;
	min-height: 16px;
}

/* --- RIGHT STAGE: MAIN FORMS --- */
.dff-onboarding-main {
	background: #FFFFFF;
	border: 1px solid #E4E7EC;
	border-radius: 16px;
	padding: 40px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
	min-height: 640px;
	display: flex;
	flex-direction: column;
	position: relative;
}

/* Mobile Stepper (Hidden on Desktop) */
.dff-mobile-stepper {
	display: none;
	margin-bottom: 24px;
}

.dff-mobile-stepper-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.dff-mobile-step-pill {
	background: #0B1020;
	color: #FFFFFF;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 999px;
}

.dff-mobile-step-title {
	font-size: 14px;
	font-weight: 700;
	color: #111827;
}

.dff-mobile-track {
	height: 4px;
	background: #E4E7EC;
	border-radius: 999px;
	overflow: hidden;
}

.dff-mobile-bar {
	height: 100%;
	background: #DB2777;
	border-radius: 999px;
	transition: width 0.3s ease;
}

/* Step Header */
.dff-step-header {
	margin-bottom: 32px;
	border-bottom: 1px solid #F2F4F7;
	padding-bottom: 20px;
}

.dff-step-tag {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #DB2777;
	display: block;
	margin-bottom: 6px;
}

.dff-step-title {
	font-size: 24px;
	font-weight: 800;
	color: #0B1020;
	margin: 0 0 6px 0;
	letter-spacing: -0.02em;
}

.dff-step-subtitle {
	font-size: 14px;
	color: #667085;
	margin: 0;
	line-height: 1.5;
}

/* Form Controls & Grids */
.dff-step-pane {
	display: none;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dff-step-pane.active {
	display: block;
	opacity: 1;
	transform: translateY(0);
}

.dff-form-grid {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 36px;
}

.dff-field-row {
	display: grid;
	gap: 20px;
}

.dff-cols-2 {
	grid-template-columns: repeat(2, 1fr);
}

.dff-form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.dff-form-group label {
	font-size: 13px;
	font-weight: 600;
	color: #111827;
}

.dff-input,
.dff-select,
.dff-textarea {
	width: 100%;
	padding: 10px 14px;
	height: 44px;
	border: 1px solid #D0D5DD;
	border-radius: 8px;
	font-size: 14px;
	color: #111827;
	background: #FFFFFF;
	transition: all 0.15s ease;
	outline: none;
}

.dff-textarea {
	height: auto;
	min-height: 84px;
	resize: vertical;
}

.dff-input:focus,
.dff-select:focus,
.dff-textarea:focus {
	border-color: #0B1020;
	box-shadow: 0 0 0 3px rgba(11, 16, 32, 0.08);
}

.dff-input.is-invalid {
	border-color: #F04438;
	box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.12);
}

.dff-field-error {
	font-size: 12px;
	color: #F04438;
	font-weight: 500;
	display: none;
}

.dff-field-error.active {
	display: block;
}

.dff-field-hint {
	font-size: 12px;
	color: #667085;
}

.uppercase-text {
	text-transform: uppercase;
}

/* Input Prefix Group */
.dff-input-prefix-group {
	display: flex;
	position: relative;
}

.dff-prefix-badge {
	position: absolute;
	left: 1px;
	top: 1px;
	bottom: 1px;
	padding: 0 12px;
	background: #F7F8FA;
	border-right: 1px solid #D0D5DD;
	border-radius: 7px 0 0 7px;
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #475467;
	pointer-events: none;
}

.dff-input.has-prefix {
	padding-left: 84px;
}

/* Password Toggle & Strength */
.dff-password-wrap {
	position: relative;
}

.dff-toggle-pwd {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	color: #667085;
	cursor: pointer;
	padding: 4px;
}

.dff-strength-meter {
	margin-top: 6px;
}

.dff-strength-bars {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 4px;
	height: 4px;
	margin-bottom: 4px;
}

.dff-strength-bars .bar {
	background: #E4E7EC;
	border-radius: 2px;
	transition: background 0.2s ease;
}

.dff-strength-bars.weak .bar-1 { background: #F04438; }
.dff-strength-bars.medium .bar-1, .dff-strength-bars.medium .bar-2 { background: #F79009; }
.dff-strength-bars.strong .bar-1, .dff-strength-bars.strong .bar-2, .dff-strength-bars.strong .bar-3, .dff-strength-bars.strong .bar-4 { background: #12B76A; }

.dff-strength-text {
	font-size: 11px;
	color: #667085;
}

/* Verification Cards & Live Feedback */
.dff-kyc-verify-card {
	background: #F8F9FA;
	border: 1px solid #E4E7EC;
	border-radius: 12px;
	padding: 24px;
}

.dff-verify-input-group {
	display: flex;
	gap: 16px;
	align-items: flex-end;
}

.dff-verification-feedback {
	margin-top: 16px;
}

.dff-feedback-state {
	padding: 12px 16px;
	border-radius: 8px;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 13px;
}

.dff-feedback-state.ready {
	background: #F8F9FA;
	border: 1px solid #E4E7EC;
	color: #475467;
}

.dff-feedback-state.info {
	background: #EFF8FF;
	border: 1px solid #B2DDFF;
	color: #175CD3;
}

.dff-feedback-state.success {
	background: #ECFDF3;
	border: 1px solid #A6F4C5;
	color: #027A48;
}

.dff-feedback-state.warning {
	background: #FFFAEB;
	border: 1px solid #FEDF89;
	color: #B54708;
}

.dff-feedback-state.danger {
	background: #FEF3F2;
	border: 1px solid #FECDCA;
	color: #B42318;
}

.dff-verified-identity-badge {
	margin-top: 16px;
	background: #ECFDF3;
	border: 1px solid #A6F4C5;
	border-radius: 10px;
	padding: 16px;
}

.dff-badge-header {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #027A48;
	font-size: 14px;
	margin-bottom: 10px;
}

.dff-badge-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 10px;
	font-size: 12px;
}

.dff-badge-details .lbl {
	color: #067647;
	display: block;
}

.dff-badge-details .val {
	font-weight: 700;
	color: #054F31;
}

/* Store Slug Wrap */
.dff-slug-input-wrap {
	display: flex;
	position: relative;
	gap: 8px;
}

.dff-slug-prefix {
	position: absolute;
	left: 1px;
	top: 1px;
	bottom: 1px;
	padding: 0 12px;
	background: #F7F8FA;
	border-right: 1px solid #D0D5DD;
	border-radius: 7px 0 0 7px;
	display: flex;
	align-items: center;
	font-size: 12px;
	color: #667085;
	pointer-events: none;
	font-family: monospace;
}

.dff-input.has-prefix {
	padding-left: 210px;
}

.dff-slug-check-btn {
	background: #F2F4F7;
	border: 1px solid #D0D5DD;
	color: #344054;
	font-size: 12px;
	font-weight: 600;
	padding: 0 16px;
	border-radius: 8px;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.15s ease;
}

.dff-slug-check-btn:hover {
	background: #E4E7EC;
}

.dff-slug-feedback {
	font-size: 12px;
	margin-top: 4px;
	font-weight: 600;
}

/* Interactive Storefront Preview Card */
.dff-storefront-preview-card {
	border: 1px solid #E4E7EC;
	border-radius: 12px;
	overflow: hidden;
	margin-top: 12px;
	background: #FFFFFF;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.dff-preview-title {
	background: #F8F9FA;
	padding: 8px 16px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #667085;
	border-bottom: 1px solid #E4E7EC;
}

.dff-preview-banner {
	height: 110px;
	background: linear-gradient(135deg, #0B1020 0%, #1F2937 100%);
	position: relative;
	background-size: cover;
	background-position: center;
}

.dff-preview-logo {
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: #DB2777;
	border: 3px solid #FFFFFF;
	position: absolute;
	bottom: -20px;
	left: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #FFFFFF;
	font-weight: 800;
	font-size: 18px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	background-size: cover;
	background-position: center;
}

.dff-preview-body {
	padding: 28px 20px 16px 20px;
}

.dff-preview-store-name {
	font-size: 18px;
	font-weight: 700;
	color: #0B1020;
	margin-bottom: 4px;
}

.dff-preview-badges {
	display: flex;
	gap: 8px;
	margin-bottom: 8px;
}

.dff-preview-badge-verified {
	background: #ECFDF3;
	color: #027A48;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.dff-preview-badge-cat {
	background: #F2F4F7;
	color: #344054;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 999px;
}

.dff-preview-url {
	font-size: 12px;
	color: #667085;
	font-family: monospace;
}

/* IFSC Result Card */
.dff-ifsc-result-box {
	margin-top: 16px;
	background: #ECFDF3;
	border: 1px solid #A6F4C5;
	border-radius: 8px;
	padding: 16px;
}

.dff-ifsc-badge {
	font-size: 14px;
	font-weight: 700;
	color: #027A48;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.dff-ifsc-details-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 8px;
	font-size: 12px;
}

.dff-ifsc-details-grid .lbl {
	color: #067647;
}

.dff-ifsc-details-grid .val {
	font-weight: 600;
	color: #054F31;
}

/* Address & Pincode Card */
.dff-pincode-automation-card {
	background: #F8F9FA;
	border: 1px solid #E4E7EC;
	border-radius: 10px;
	padding: 16px;
}

.dff-pincode-feedback {
	font-size: 12px;
	margin-top: 8px;
	font-weight: 600;
}

.dff-copy-options-box {
	background: #F8F9FA;
	border: 1px solid #E4E7EC;
	border-radius: 8px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.dff-copy-action-banner {
	background: #F0F9FF;
	border: 1px solid #B9E6FE;
	border-radius: 10px;
	padding: 16px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	gap: 16px;
}

.dff-copy-banner-text strong {
	display: block;
	font-size: 14px;
	color: #026AA2;
}

.dff-copy-banner-text span {
	font-size: 12px;
	color: #0BA5EC;
}

/* Document Upload Cards */
.dff-doc-upload-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.dff-doc-card {
	background: #FFFFFF;
	border: 1px solid #E4E7EC;
	border-radius: 12px;
	padding: 24px;
	display: flex;
	gap: 16px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.dff-doc-card-icon .dashicons {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #FDF2F8;
	color: #DB2777;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
}

.dff-doc-title {
	font-size: 15px;
	font-weight: 700;
	color: #111827;
	margin: 0 0 4px 0;
}

.dff-doc-desc {
	font-size: 12px;
	color: #667085;
	margin: 0 0 16px 0;
	line-height: 1.4;
}

.dff-file-dropzone {
	border: 2px dashed #D0D5DD;
	border-radius: 10px;
	padding: 20px;
	text-align: center;
	background: #F8F9FA;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
}

.dff-file-dropzone:hover,
.dff-file-dropzone.dragover {
	border-color: #0B1020;
	background: #F2F4F7;
}

.dff-hidden-file-input {
	position: absolute;
	inset: 0;
	opacity: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.dff-dropzone-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.dff-dropzone-content .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
	color: #667085;
}

.dff-drop-text {
	font-size: 13px;
	font-weight: 600;
	color: #111827;
}

.dff-drop-meta {
	font-size: 11px;
	color: #98A2B3;
}

.dff-file-preview {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	background: #ECFDF3;
	border: 1px solid #A6F4C5;
	border-radius: 8px;
	color: #027A48;
	font-size: 13px;
	font-weight: 600;
}

.dff-remove-file {
	background: transparent;
	border: none;
	color: #027A48;
	font-size: 18px;
	cursor: pointer;
}

/* Review Step Cards */
.dff-review-sections {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 28px;
}

.dff-review-card {
	border: 1px solid #E4E7EC;
	border-radius: 12px;
	padding: 20px;
	background: #FFFFFF;
}

.dff-review-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid #F2F4F7;
}

.dff-review-title {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #0B1020;
	font-size: 15px;
}

.dff-review-title .dashicons {
	color: #12B76A;
}

.dff-edit-jump-btn {
	background: #F2F4F7;
	border: none;
	color: #344054;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.dff-edit-jump-btn:hover {
	background: #E4E7EC;
}

.dff-review-content-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
	font-size: 13px;
}

.dff-review-content-grid .lbl {
	color: #667085;
	display: block;
	font-size: 11px;
	text-transform: uppercase;
}

.dff-review-content-grid .val {
	font-weight: 600;
	color: #111827;
}

/* Custom Checkbox */
.dff-checkbox-custom {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	color: #344054;
	cursor: pointer;
	line-height: 1.4;
}

.dff-checkbox-custom input {
	margin-top: 2px;
	width: 16px;
	height: 16px;
	accent-color: #DB2777;
}

.dff-agreements-box {
	background: #F8F9FA;
	border: 1px solid #E4E7EC;
	border-radius: 12px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 32px;
}

/* Step Footer Actions */
.dff-step-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 24px;
	border-top: 1px solid #F2F4F7;
	margin-top: auto;
}

.dff-btn {
	height: 44px;
	padding: 0 24px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none;
	border: none;
	transition: all 0.2s ease;
}

.dff-btn-primary {
	background: #0B1020;
	color: #FFFFFF !important;
}

.dff-btn-primary:hover {
	background: #1F2937;
	transform: translateY(-1px);
}

.dff-btn-secondary {
	background: #F2F4F7;
	color: #344054 !important;
	border: 1px solid #D0D5DD;
}

.dff-btn-secondary:hover {
	background: #E4E7EC;
}

.dff-submit-btn {
	background: #DB2777;
	color: #FFFFFF !important;
	padding: 0 32px;
}

.dff-submit-btn:hover {
	background: #BE185D;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
	.dff-onboarding-shell {
		grid-template-columns: 280px 1fr;
		gap: 20px;
	}
	.dff-input.has-prefix {
		padding-left: 170px;
	}
}

@media (max-width: 900px) {
	.dff-onboarding-app {
		padding: 16px 12px 60px 12px;
	}
	.dff-onboarding-shell {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.dff-onboarding-sidebar {
		display: none;
	}
	.dff-mobile-stepper {
		display: block;
	}
	.dff-onboarding-main {
		padding: 24px 16px;
		border-radius: 12px;
	}
	.dff-cols-2 {
		grid-template-columns: 1fr;
	}
	.dff-doc-upload-grid {
		grid-template-columns: 1fr;
	}
	.dff-copy-action-banner {
		flex-direction: column;
		align-items: flex-start;
	}
	.dff-input.has-prefix {
		padding-left: 14px;
	}
	.dff-slug-prefix {
		display: none;
	}
	.dff-step-footer {
		position: sticky;
		bottom: 0;
		background: #FFFFFF;
		padding: 16px 0 0 0;
		box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
		z-index: 10;
	}
}

/* ==================================================
   STOREFRONT
   ================================================== */
.dff-storefront-wrapper {
	max-width: 1240px;
	margin: 20px auto 60px auto;
	padding: 0 20px;
}

.dff-store-banner {
	height: 280px;
	background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
	border-radius: 12px;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	padding: 30px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	margin-bottom: 28px;
}

.dff-banner-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
}

.dff-store-profile-bar {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 20px;
	width: 100%;
}

.dff-store-logo {
	width: 90px;
	height: 90px;
	border-radius: 12px;
	background: #ffffff;
	border: 3px solid #ffffff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	flex-shrink: 0;
}

.dff-store-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dff-logo-placeholder {
	width: 100%;
	height: 100%;
	background: #2563eb;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	font-weight: 800;
}

.dff-store-headline {
	color: #ffffff;
}

.dff-store-title-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.dff-store-title-row h1 {
	margin: 0;
	font-size: 26px;
	font-weight: 700;
	color: #ffffff;
}

.dff-verified-badge {
	background: #059669;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 3px 8px;
	border-radius: 9999px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.dff-store-brand {
	margin: 4px 0 8px 0;
	color: #cbd5e1;
	font-size: 14px;
	font-weight: 500;
}

.dff-store-meta-items {
	display: flex;
	gap: 16px;
	font-size: 13px;
	color: #e2e8f0;
	flex-wrap: wrap;
}

.dff-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.dff-store-description-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 32px;
}

.dff-store-description-card h3 {
	margin: 0 0 8px 0;
	font-size: 16px;
	font-weight: 600;
}

.dff-section-heading {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	border-bottom: 2px solid #f1f5f9;
	padding-bottom: 12px;
}

.dff-section-heading h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
}

.dff-count-badge {
	background: #f1f5f9;
	color: #475569;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 9999px;
}

.dff-empty-products {
	text-align: center;
	padding: 60px 20px;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 12px;
}

.dff-empty-icon {
	font-size: 48px;
	width: 48px;
	height: 48px;
	color: #94a3b8;
	margin: 0 auto 12px auto;
}

/* ==================================================
   SELLER DASHBOARD
   ================================================== */
.dff-dashboard-wrap {
	max-width: 1300px;
	margin: 20px auto 60px auto;
	padding: 0 16px;
}

.dff-dashboard-layout {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 24px;
	align-items: start;
}

@media (max-width: 900px) {
	.dff-dashboard-layout {
		grid-template-columns: 1fr;
	}
}

.dff-dashboard-sidebar {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dff-seller-profile-card {
	text-align: center;
	padding-bottom: 20px;
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 16px;
}

.dff-avatar-circle {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #2563eb;
	color: #ffffff;
	font-size: 22px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 10px auto;
}

.dff-seller-name {
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 6px;
}

.dff-seller-status-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 9999px;
}

.dff-seller-status-badge.approved,
.dff-seller-status-badge.active {
	background: #ecfdf5;
	color: #065f46;
}

.dff-seller-status-badge.pending {
	background: #fffbeb;
	color: #92400e;
}

.dff-seller-status-badge.suspended,
.dff-seller-status-badge.rejected {
	background: #fef2f2;
	color: #991b1b;
}

.dff-sidebar-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.dff-sidebar-nav li {
	margin-bottom: 4px;
}

.dff-sidebar-nav a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 6px;
	text-decoration: none;
	color: #475569;
	font-size: 14px;
	font-weight: 500;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.dff-sidebar-nav a:hover {
	background: #f8fafc;
	color: #0f172a;
}

.dff-sidebar-nav li.active a {
	background: #eff6ff;
	color: #1d4ed8;
	font-weight: 600;
}

.dff-sidebar-nav .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.dff-phase-tag {
	margin-left: auto;
	font-size: 10px;
	background: #f1f5f9;
	color: #64748b;
	padding: 2px 6px;
	border-radius: 4px;
}

.dff-sidebar-footer {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #f1f5f9;
}

.dff-logout-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #dc2626;
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
}

/* Stat Cards */
.dff-stat-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
}

.dff-stat-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 18px;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.dff-stat-icon {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: #eff6ff;
	color: #2563eb;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
}

.dff-stat-label {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	color: #64748b;
	display: block;
	margin-bottom: 2px;
}

.dff-stat-value {
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
	line-height: 1.2;
}

.dff-stat-subtext {
	font-size: 11px;
	color: #94a3b8;
	display: block;
	margin-top: 2px;
}

/* Content Cards */
.dff-content-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	overflow: hidden;
}

.dff-card-header {
	padding: 16px 20px;
	border-bottom: 1px solid #f1f5f9;
	background: #fafafa;
}

.dff-card-header h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #0f172a;
}

.dff-card-body {
	padding: 20px;
}

.dff-roadmap-stub {
	text-align: center;
	padding: 60px 20px;
}

.dff-roadmap-icon {
	font-size: 48px;
	width: 48px;
	height: 48px;
	color: #94a3b8;
	margin-bottom: 16px;
}

.dff-setup-checklist {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.dff-setup-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid #f8fafc;
}

.dff-setup-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.dff-check-circle {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #f1f5f9;
	color: #94a3b8;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	flex-shrink: 0;
}

.dff-check-circle.complete {
	background: #ecfdf5;
	color: #059669;
}

.dff-setup-text strong {
	font-size: 14px;
	color: #1e293b;
	display: block;
}

.dff-setup-text p {
	margin: 0;
	font-size: 12px;
	color: #64748b;
}

.dff-doc-upload-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px solid #f1f5f9;
	flex-wrap: wrap;
	gap: 12px;
}

.dff-doc-upload-item:last-child {
	border-bottom: none;
}

.dff-doc-info strong {
	font-size: 14px;
	color: #0f172a;
	display: block;
}

.dff-doc-info p {
	margin: 2px 0 0 0;
	font-size: 12px;
	color: #64748b;
}

.dff-file-uploaded {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #059669;
	font-size: 12px;
	font-weight: 600;
	margin-top: 4px;
}

/* Media Uploader */
.dff-media-uploader {
	display: flex;
	align-items: center;
	gap: 16px;
}

.dff-media-preview {
	width: 80px;
	height: 80px;
	border-radius: 8px;
	border: 1px dashed #cbd5e1;
	background: #f8fafc;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
	overflow: hidden;
}

.dff-banner-preview {
	width: 160px;
}

.dff-form-actions {
	margin-top: 24px;
}

/* ==========================================================
   DFF PRODUCT STUDIO 1.12 – PREMIUM SELLER EXPERIENCE
   ========================================================== */
.dff-editor-wrap {
    --dff-navy: #0b1020;
    --dff-blue: #315efb;
    --dff-blue-dark: #2346c7;
    --dff-text: #101828;
    --dff-muted: #667085;
    --dff-border: #e4e7ec;
    --dff-bg: #f6f8fb;
    --dff-card: #ffffff;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--dff-text);
    background: var(--dff-bg);
    padding: 8px 0 48px;
}
.dff-editor-wrap * { box-sizing: border-box; }
.dff-product-studio-head {
    display:flex; justify-content:space-between; align-items:center; gap:22px;
    padding:22px 24px; margin:0 0 10px; border:1px solid var(--dff-border);
    border-radius:16px; background:linear-gradient(135deg,#0b1020 0%,#121d36 100%);
    color:#fff; box-shadow:0 12px 32px rgba(11,16,32,.12);
}
.dff-product-studio-head h1 { margin:3px 0 3px; color:#fff; font-size:28px; line-height:1.1; letter-spacing:-.03em; }
.dff-product-studio-head p { margin:0; color:#aeb9cf; font-size:13px; }
.dff-studio-kicker { color:#7f9cff; font-size:10px; font-weight:800; letter-spacing:.13em; }
.dff-studio-back { color:#d8e0f0; text-decoration:none; font-size:12px; font-weight:700; display:inline-block; margin-bottom:5px; }
.dff-studio-actions { display:flex; gap:9px; flex-wrap:wrap; }
.dff-studio-btn { border:1px solid transparent; border-radius:9px; padding:10px 15px; font-size:12px; font-weight:800; cursor:pointer; transition:.18s ease; }
.dff-studio-btn-light { background:#fff; color:#182338; border-color:#fff; }
.dff-studio-btn-primary { background:#315efb; color:#fff; border-color:#315efb; }
.dff-studio-btn:hover { transform:translateY(-1px); }
.dff-studio-steps { display:flex; gap:0; overflow:auto; white-space:nowrap; margin:0 0 18px; padding:0 4px; border-bottom:1px solid var(--dff-border); }
.dff-studio-steps span { padding:10px 16px; color:#98a2b3; font-size:11px; font-weight:800; border-bottom:2px solid transparent; }
.dff-studio-steps .is-active { color:#315efb; border-color:#315efb; }
.dff-product-studio-grid { display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:18px; align-items:start; }
.dff-product-studio-main { min-width:0; display:flex; flex-direction:column; gap:16px; }
.dff-product-studio-side { min-width:0; display:flex; flex-direction:column; gap:16px; position:sticky; top:18px; }
.dff-editor-wrap .dff-content-card { background:#fff; border:1px solid var(--dff-border); border-radius:14px; box-shadow:0 3px 14px rgba(16,24,40,.035); overflow:hidden; }
.dff-editor-wrap .dff-card-header { padding:17px 19px; border-bottom:1px solid #eef0f4; background:#fff; }
.dff-editor-wrap .dff-card-header h3 { margin:0; font-size:15px; font-weight:800; color:#101828; letter-spacing:-.01em; }
.dff-editor-wrap .dff-card-header p { margin:4px 0 0; font-size:11px; color:#98a2b3; }
.dff-editor-wrap .dff-card-body { padding:19px; }
.dff-editor-wrap .dff-form-group { margin:0 0 14px; }
.dff-editor-wrap .dff-form-group:last-child { margin-bottom:0; }
.dff-editor-wrap .dff-form-group label,
.dff-editor-wrap .dff-col > label { display:block; margin-bottom:7px; font-size:11px; color:#344054; font-weight:800; }
.dff-editor-wrap input[type="text"], .dff-editor-wrap input[type="number"], .dff-editor-wrap input[type="email"], .dff-editor-wrap input[type="url"], .dff-editor-wrap textarea, .dff-editor-wrap select {
    width:100%; min-height:42px; border:1px solid #d0d5dd; border-radius:9px; background:#fff; color:#101828;
    padding:10px 12px; font-size:13px; outline:none; box-shadow:0 1px 2px rgba(16,24,40,.03); transition:border-color .16s, box-shadow .16s;
}
.dff-editor-wrap textarea { min-height:118px; resize:vertical; line-height:1.55; }
.dff-editor-wrap input:focus, .dff-editor-wrap textarea:focus, .dff-editor-wrap select:focus { border-color:#315efb; box-shadow:0 0 0 3px rgba(49,94,251,.11); }
.dff-editor-wrap .dff-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.dff-field-label-row { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:7px; }
.dff-field-label-row label { margin:0 !important; }
.dff-ai-generate-btn { border:1px solid #c7d2fe; color:#315efb; background:#f5f7ff; border-radius:7px; padding:6px 9px; font-size:10px; font-weight:900; cursor:pointer; }
.dff-ai-generate-btn:hover { background:#eef2ff; }
.dff-ai-generate-btn.is-loading { opacity:.65; cursor:wait; }
.dff-type-header { padding-bottom:12px !important; }
.dff-product-type-picker { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:0 19px 17px; }
.dff-type-card { display:flex; align-items:center; gap:11px; padding:13px; border:1px solid #d0d5dd; border-radius:11px; background:#fff; cursor:pointer; transition:.18s ease; }
.dff-type-card:hover { border-color:#98a2b3; }
.dff-type-card.is-selected { border-color:#315efb; background:#f5f7ff; box-shadow:0 0 0 2px rgba(49,94,251,.08); }
.dff-type-card input { position:absolute; opacity:0; pointer-events:none; }
.dff-type-card .dff-type-icon { width:30px; height:30px; border-radius:8px; display:flex; align-items:center; justify-content:center; background:#eef2ff; color:#315efb; font-size:14px; font-weight:900; flex:none; }
.dff-type-card strong { display:block; font-size:12px; }
.dff-type-card small { display:block; margin-top:3px; color:#667085; font-size:10px; }
.dff-attribute-row { display:grid; grid-template-columns:180px minmax(0,1fr) 38px; gap:9px; align-items:center; padding:9px; margin-bottom:8px; background:#f8fafc; border:1px solid #eaecf0; border-radius:10px; }
.dff-remove-attr-btn { width:36px; height:36px; border:1px solid #fecaca; border-radius:8px; background:#fff; color:#dc2626; font-size:19px; cursor:pointer; }
.dff-variation-row td { padding:9px 8px; border-bottom:1px solid #f2f4f7; vertical-align:middle; }
.dff-variation-row input { min-height:34px !important; padding:6px 8px !important; font-size:11px !important; }
.dff-var-img-preview { width:44px; height:44px; border:1px dashed #cbd5e1; border-radius:8px; background:#f8fafc center/cover no-repeat; display:flex; align-items:center; justify-content:center; cursor:pointer; color:#667085; font-weight:900; }
.dff-gallery-preview-container { display:grid !important; grid-template-columns:repeat(4,1fr); gap:8px !important; }
.dff-gallery-item { position:relative; aspect-ratio:1/1; border:1px solid #e4e7ec; border-radius:9px; overflow:hidden; background:#f8fafc; cursor:grab; }
.dff-gallery-item img { width:100%; height:100%; object-fit:cover; display:block; }
.dff-gallery-item button { position:absolute; right:4px; top:4px; width:23px; height:23px; border:0; border-radius:50%; background:rgba(11,16,32,.78); color:#fff; cursor:pointer; line-height:21px; }
.dff-gallery-item span { position:absolute; left:4px; bottom:4px; min-width:20px; height:20px; padding:0 5px; display:flex; align-items:center; justify-content:center; border-radius:5px; background:rgba(11,16,32,.78); color:#fff; font-size:9px; font-weight:800; }
.dff-gallery-count { font-size:11px; color:#667085; background:#f2f4f7; padding:5px 8px; border-radius:7px; }
.dff-gallery-count strong { color:#315efb; }
#dff-featured-img-preview { position:relative; min-height:210px !important; border:1px solid #d0d5dd !important; background-color:#f8fafc !important; transition:.18s; }
#dff-featured-img-preview.has-image { border-style:solid !important; }
.dff-image-change { position:absolute; right:10px; bottom:10px; padding:6px 9px; border-radius:7px; background:rgba(11,16,32,.82); color:#fff; font-size:10px; font-weight:800; }
.dff-policy-card .dff-card-header { background:#fbfcfe; }
.dff-studio-side .dff-content-card:first-child { border-top:3px solid #315efb; }
.dff-studio-toast { position:fixed; z-index:999999; right:24px; bottom:24px; transform:translateY(15px); opacity:0; padding:12px 15px; border-radius:10px; color:#fff; font-size:12px; font-weight:700; box-shadow:0 14px 35px rgba(16,24,40,.2); transition:.22s; }
.dff-studio-toast.is-visible { opacity:1; transform:translateY(0); }
.dff-studio-toast-success { background:#101828; border:1px solid #344054; }
.dff-studio-toast-error { background:#b42318; }
.dff-add-gallery-btn.is-disabled { opacity:.5; pointer-events:none; }
@media (max-width: 1050px) {
    .dff-product-studio-grid { grid-template-columns:1fr; }
    .dff-product-studio-side { position:static; }
}
@media (max-width: 700px) {
    .dff-product-studio-head { align-items:flex-start; flex-direction:column; padding:18px; }
    .dff-product-studio-head h1 { font-size:23px; }
    .dff-studio-actions { width:100%; }
    .dff-studio-btn { flex:1; }
    .dff-product-type-picker, .dff-editor-wrap .dff-row { grid-template-columns:1fr; }
    .dff-attribute-row { grid-template-columns:1fr; }
    .dff-gallery-preview-container { grid-template-columns:repeat(3,1fr) !important; }
}


/* =========================================================
   DFF PRODUCT STUDIO v1.12.1 – media/video/frontend refinement
   Scoped to DFF product and storefront components.
   ========================================================= */
.dff-editor-wrap .dff-media-video-card .dff-card-header,
.dff-editor-wrap .dff-content-card .dff-card-header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}
.dff-editor-wrap .dff-media-video-card .dff-card-header p {
    margin:4px 0 0;
    color:#667085;
    font-size:11px;
}
.dff-video-limit {
    flex:0 0 auto;
    padding:6px 9px;
    border-radius:999px;
    background:#eef4ff;
    color:#315efb;
    font-size:10px;
    font-weight:800;
}
.dff-product-video-preview {
    min-height:170px;
    border:1px dashed #cbd5e1;
    border-radius:14px;
    background:linear-gradient(145deg,#f8fafc,#eef2f7);
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}
.dff-product-video-preview video {
    width:100%;
    max-height:330px;
    display:block;
    background:#080d18;
}
.dff-video-empty {
    min-height:170px;
    padding:30px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#475467;
}
.dff-video-empty .dashicons {
    width:42px;
    height:42px;
    font-size:42px;
    color:#315efb;
    margin-bottom:10px;
}
.dff-video-empty strong { font-size:13px; color:#182230; }
.dff-video-empty small { margin-top:5px; color:#667085; }
.dff-media-actions {
    display:flex;
    gap:9px;
    flex-wrap:wrap;
    margin-top:12px;
}
.dff-media-actions .dff-btn { min-height:42px; }
.dff-btn-ghost {
    background:#fff !important;
    border:1px solid #e4e7ec !important;
    color:#475467 !important;
}
.dff-media-remove {
    position:absolute;
    right:10px;
    bottom:10px;
    z-index:2;
    border:0;
    border-radius:8px;
    background:#101828;
    color:#fff;
    padding:8px 10px;
    cursor:pointer;
}
.dff-product-video-preview { position:relative; }

/* More reliable, premium media cards. */
.dff-editor-wrap #dff-featured-img-preview {
    min-height:250px !important;
    border:1px dashed #b9c4d4 !important;
    border-radius:14px !important;
    background-color:#f8fafc !important;
    background-repeat:no-repeat;
    transition:box-shadow .2s ease,border-color .2s ease;
}
.dff-editor-wrap #dff-featured-img-preview:hover {
    border-color:#315efb !important;
    box-shadow:0 0 0 4px rgba(49,94,251,.07);
}
.dff-editor-wrap #dff-featured-img-preview.has-image {
    border-style:solid !important;
    background-color:#fff !important;
}
.dff-editor-wrap #dff-set-featured-btn,
.dff-editor-wrap #dff-add-gallery-btn {
    min-height:44px;
    border-radius:10px;
    font-weight:800;
    background:#f8fafc;
    border-color:#d0d5dd;
}
.dff-editor-wrap #dff-set-featured-btn:hover,
.dff-editor-wrap #dff-add-gallery-btn:hover {
    border-color:#315efb;
    color:#315efb;
    background:#f5f7ff;
}
.dff-editor-wrap #dff-gallery-preview-container {
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px !important;
}
.dff-editor-wrap .dff-gallery-item {
    min-width:0;
    aspect-ratio:1/1;
    border:1px solid #e4e7ec;
    border-radius:12px;
    background:#f8fafc;
    box-shadow:0 1px 2px rgba(16,24,40,.04);
}
.dff-editor-wrap .dff-gallery-item img { object-fit:cover; }
.dff-editor-wrap .dff-gallery-item:hover { border-color:#315efb; }
.dff-editor-wrap .dff-gallery-count {
    min-width:54px;
    text-align:center;
    padding:6px 9px;
    border-radius:999px;
    background:#f2f4f7;
    color:#475467;
    font-size:11px;
}
.dff-editor-wrap .dff-gallery-count strong { color:#315efb; }

/* Product page: seller/brand/policy block belongs above tabs/reviews,
   not beside the product title/price. */
.dff-product-seller-meta {
    width:100%;
    margin:24px 0 8px;
    padding:18px 20px;
    border:1px solid #e4e7ec;
    border-radius:14px;
    background:#fff;
    box-shadow:0 6px 24px rgba(16,24,40,.06);
    clear:both;
}
.dff-product-seller-meta-grid {
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:12px;
}
.dff-product-meta-item {
    min-width:0;
    padding:11px 12px;
    border:1px solid #eef2f6;
    border-radius:10px;
    background:#fbfcfe;
}
.dff-product-meta-item .dff-meta-label {
    display:block;
    margin-bottom:5px;
    color:#667085;
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.dff-product-meta-item strong {
    color:#101828;
    font-size:13px;
}
.dff-product-meta-item a {
    color:#315efb;
    text-decoration:none;
}
.dff-product-meta-item.dff-meta-available {
    border-color:#b7ebd0;
    background:#f0fdf6;
}
.dff-product-meta-item.dff-meta-available strong { color:#087443; }

/* Product video before reviews/product tabs. */
.dff-product-video-section {
    width:100%;
    margin:20px 0 24px;
    clear:both;
}
.dff-product-video-card {
    max-width:980px;
    margin:0 auto;
    padding:20px;
    border:1px solid #e4e7ec;
    border-radius:16px;
    background:#fff;
    box-shadow:0 8px 28px rgba(16,24,40,.06);
}
.dff-product-video-heading { margin-bottom:14px; }
.dff-video-kicker {
    color:#315efb;
    font-size:10px;
    font-weight:900;
    letter-spacing:.12em;
}
.dff-product-video-heading h3 {
    margin:4px 0;
    font-size:20px;
    color:#101828;
}
.dff-product-video-heading p {
    margin:0;
    color:#667085;
    font-size:12px;
}
.dff-product-video {
    display:block;
    width:100%;
    max-height:560px;
    border-radius:12px;
    background:#080d18;
}
@media (max-width: 900px) {
    .dff-product-seller-meta-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
    .dff-editor-wrap #dff-gallery-preview-container { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .dff-product-seller-meta { padding:14px; }
    .dff-product-seller-meta-grid { grid-template-columns:1fr 1fr; }
    .dff-product-video-card { padding:14px; }
}


/* DFF 1.12.2 product meta hardening: never let theme inline rules remove the label/value gap. */
.dff-product-seller-meta .dff-product-meta-item .dff-meta-label { display:inline !important; margin:0 !important; text-transform:none !important; letter-spacing:0 !important; font-size:13px !important; font-weight:600 !important; color:#475467 !important; }
.dff-product-seller-meta .dff-product-meta-item .dff-meta-separator { display:inline !important; white-space:pre !important; }
.dff-product-seller-meta .dff-product-meta-item strong { display:inline !important; font-size:13px !important; }
.dff-product-seller-meta .dff-product-meta-item { line-height:1.55 !important; }


/* v1.12.7 safe variable-product processing */
.dff-variation-progress{margin:12px 0;padding:10px 14px;border:1px solid #dbe4f0;border-radius:10px;background:#f8fbff;color:#1e3a8a;font-size:13px;font-weight:700}
.dff-variation-progress.is-success{border-color:#bbf7d0;background:#f0fdf4;color:#166534}
.dff-variation-progress.is-error{border-color:#fecaca;background:#fef2f2;color:#991b1b}
.dff-form button.is-loading{opacity:.65;pointer-events:none}
