/* DTF Längenpreis – Frontend (Karten-Layout).
 * Alle Farben laufen über CSS-Variablen aus WooCommerce → Einstellungen → DTF Längenpreis
 * (Inline-Style auf .dtflp / .dtflp-file / .dtflp-checkout-notice). Ohne Einstellung gelten
 * Theme-Farben (currentColor) bzw. die Standardwerte unten. */

.dtflp,
.dtflp-file,
.dtflp-checkout-notice,
.dtflp-modal-overlay {
	font-family: var(--dtflp-font, inherit);
}

.dtflp,
.dtflp-file {
	--dtflp-accent: currentColor;
	--dtflp-line: rgba(127, 127, 127, .25);
	--dtflp-card-bg: #fff;
	--dtflp-card-border: #e6e6e6;
	--dtflp-error: #b42318;
	--dtflp-warn: #8a5a00;
	--dtflp-warn-bg: rgba(138, 90, 0, .07);
	--dtflp-success: #2e7d32;
	--dtflp-express: #e53935;
	--dtflp-express-digits-text: #fff;
	--dtflp-badge-text: #fff;
	--dtflp-label-bg: #fff;
	--dtflp-checker: #d9d9d9;
	--dtflp-check: #2e7d32;
	--dtflp-check-warn: #b26a00;
	--dtflp-check-danger: #c62828;
	--dtflp-radius: 14px;
}
.dtflp { margin: 0 0 1.25em; width: 100%; }
.dtflp [hidden], .dtflp-file [hidden], .dtflp-file[hidden] { display: none !important; }
.dtflp *, .dtflp-file * { box-sizing: border-box; }

/* ---------- Karten ---------- */
.dtflp-card {
	background: var(--dtflp-card-bg);
	border: 1px solid var(--dtflp-card-border);
	border-radius: var(--dtflp-radius);
	padding: 18px 20px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}
.dtflp > .dtflp-card + .dtflp-card,
.dtflp > .dtflp-card + .dtflp-express,
.dtflp > .dtflp-express + .dtflp-card,
.dtflp > .dtflp-msg + .dtflp-card,
.dtflp > .dtflp-upload-note + .dtflp-card,
.dtflp > .dtflp-card + .dtflp-tiers { margin-top: 14px; }

/* ---------- Upload ---------- */
.dtflp-drop {
	position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
	gap: 6px; padding: 26px 22px 18px; cursor: pointer;
	border: 2px dashed var(--dtflp-drop-border, var(--dtflp-card-border));
	background: var(--dtflp-drop-bg, var(--dtflp-card-bg));
	color: var(--dtflp-drop-text, inherit);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.dtflp-drop:hover, .dtflp-drop.is-over { border-color: var(--dtflp-accent); box-shadow: 0 4px 18px rgba(0, 0, 0, .07); }
.dtflp-drop:focus-within { outline: 2px solid var(--dtflp-accent); outline-offset: 2px; }
.dtflp-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dtflp-drop-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(127, 127, 127, .08); margin-bottom: 2px; }
.dtflp-drop-title { font-weight: 700; font-size: 1.08em; line-height: 1.3; max-width: 28ch; }
.dtflp-drop-hint { font-size: .82em; opacity: .7; }
.dtflp-drop-file { font-size: .85em; font-weight: 600; color: var(--dtflp-success); }
.dtflp-drop-help {
	display: flex; align-items: center; gap: 10px; margin-top: 8px; padding-top: 12px; width: 100%; justify-content: center;
	border-top: 1px solid var(--dtflp-card-border); font-size: .85em; opacity: .9;
}
.dtflp-help-btn {
	position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
	border: 1px solid var(--dtflp-card-border); border-radius: 8px; text-decoration: none; font-weight: 600; color: inherit; background: var(--dtflp-card-bg);
}
.dtflp-help-btn:hover { border-color: currentColor; }
.dtflp.is-busy .dtflp-drop { pointer-events: none; opacity: .6; }
.dtflp-upload-note { margin: .55em 0 0; font-size: .78em; opacity: .7; }

.dtflp-progress { height: 4px; margin-top: .6em; background: var(--dtflp-line); border-radius: 2px; overflow: hidden; }
.dtflp-progress span { display: block; height: 100%; width: 0; background: var(--dtflp-accent); transition: width .2s linear; }
.dtflp-msg { margin-top: .5em; font-size: .9em; min-height: 1em; }
.dtflp-msg:empty { display: none; }
.dtflp-msg.is-error { color: var(--dtflp-error); font-weight: 600; }
.dtflp-msg.is-success { color: var(--dtflp-success); font-weight: 600; }
.dtflp-msg.is-success a { margin-left: .3em; }

/* ---------- Standardversand: „Versand voraussichtlich …“ ---------- */
.dtflp-standard { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--dtflp-card-border); font-size: .9em; }
.dtflp-standard-line { align-items: center; }
.dtflp-standard-line .dtflp-info { margin-left: 2px; }
.dtflp-standard + .dtflp-express { border-top: 0; padding-top: 4px; margin-top: 0; }
.dtflp-standard-more { margin-left: 24px; }

/* ---------- Brutto/Netto ---------- */
.dtflp-tax-toggle { display: flex; justify-content: flex-end; gap: 0; margin: -4px 0 10px; }
.dtflp-tax-btn {
	appearance: none; -webkit-appearance: none; cursor: pointer; margin: 0;
	padding: .3em .8em; font: inherit; font-size: .78em; font-weight: 600; line-height: 1.2;
	border: 1px solid var(--dtflp-card-border); background: transparent; color: inherit; opacity: .7;
	transition: background .15s ease, color .15s ease, opacity .15s ease;
}
.dtflp-tax-btn:first-child { border-radius: 999px 0 0 999px; }
.dtflp-tax-btn:last-child { border-radius: 0 999px 999px 0; border-left: 0; }
.dtflp-tax-btn:hover { opacity: 1; }
.dtflp-tax-btn.is-on { background: var(--dtflp-tier-accent, #1d1d1f); border-color: var(--dtflp-tier-accent, #1d1d1f); color: var(--dtflp-badge-text, #fff); opacity: 1; }
.dtflp-tax-btn:focus-visible { outline: 2px solid var(--dtflp-accent); outline-offset: 2px; position: relative; z-index: 1; }

/* ---------- Express: schlichte Zeile im Kaufkasten (über dem Button) ---------- */
.dtflp-express { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--dtflp-card-border); font-size: .9em; }
.dtflp-express-line { display: flex; align-items: flex-start; gap: 8px; margin: 0; line-height: 1.4; }
.dtflp-express-ico { flex: 0 0 auto; margin-top: .2em; opacity: .7; }
.dtflp-express-text strong { font-weight: 700; }
.dtflp-express-count { color: var(--dtflp-express); font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }
.dtflp-express.is-closed .dtflp-express-text { opacity: .85; }
.dtflp-express-side { display: flex; align-items: center; gap: 10px; margin: 6px 0 0 24px; font-size: .95em; }
.dtflp-express-opt { font-weight: 500; white-space: nowrap; }
.dtflp-express-opt input { accent-color: var(--dtflp-express); }
.dtflp-info {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; padding: 0;
	border: 1.5px solid currentColor; border-radius: 50%; background: transparent; color: inherit; opacity: .55;
	font-size: .75em; font-weight: 700; font-style: italic; font-family: Georgia, "Times New Roman", serif; line-height: 1; cursor: pointer;
}
.dtflp-info:hover, .dtflp-info.is-open { opacity: 1; }
.dtflp-info:focus-visible { outline: 2px solid var(--dtflp-express); outline-offset: 2px; }
.dtflp-express-details { margin: 8px 0 0 24px; padding: 10px 12px; border-radius: 8px; background: rgba(127, 127, 127, .07); font-size: .92em; }
.dtflp-express-details p { margin: 0 0 .4em; }
.dtflp-express-details p:last-child { margin: 0; }
.dtflp-express-details p:empty { display: none; }
.dtflp-express-phone a { font-weight: 700; white-space: nowrap; color: var(--dtflp-express); }

/* ---------- Datei-Karte: Vorschau + Software-Check + Bestätigungen ---------- */
.dtflp-file { padding: 18px; outline: none; }
.dtflp-file.is-pulse { animation: dtflp-pulse 1.4s ease-out 1; }
@keyframes dtflp-pulse {
	0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--dtflp-check-danger) 55%, transparent); }
	100% { box-shadow: 0 0 0 18px rgba(0, 0, 0, 0); }
}
.dtflp-preview { text-align: center; }
.dtflp-stage { display: inline-block; max-width: 100%; text-align: left; }
.dtflp-stage-row { display: flex; align-items: flex-start; }
.dtflp-canvas-wrap {
	position: relative; flex: 0 0 auto; background-color: #fff;
	background-image:
		linear-gradient(45deg, var(--dtflp-checker) 25%, transparent 25%, transparent 75%, var(--dtflp-checker) 75%),
		linear-gradient(45deg, var(--dtflp-checker) 25%, transparent 25%, transparent 75%, var(--dtflp-checker) 75%);
	background-size: 16px 16px; background-position: 0 0, 8px 8px;
	border: 1px solid var(--dtflp-preview-border, var(--dtflp-line));
}
.dtflp-canvas { display: block; max-width: none; }
.dtflp-dim { position: relative; font-size: .8em; font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; white-space: nowrap; color: var(--dtflp-dim, inherit); }
.dtflp-dim span { position: absolute; padding: 0 .35em; background: var(--dtflp-label-bg); line-height: 1.1em; }
.dtflp-dim::before { content: ""; position: absolute; background: currentColor; opacity: .7; }
.dtflp-dim::after  { content: ""; position: absolute; border: 0 solid currentColor; opacity: .7; }
.dtflp-dim-top { height: 1.7em; margin-left: 1px; }
.dtflp-dim-top::before { left: 0; right: 0; top: .55em; height: 1px; }
.dtflp-dim-top::after  { left: 0; right: 0; top: .2em; height: .7em; border-left-width: 1px; border-right-width: 1px; }
.dtflp-dim-top span { left: 50%; top: 0; transform: translate(-50%, -15%); }
.dtflp-dim-side { width: 2.2em; margin-left: .35em; margin-top: 1px; }
.dtflp-dim-side::before { top: 0; bottom: 0; left: .55em; width: 1px; }
.dtflp-dim-side::after  { top: 0; bottom: 0; left: .2em; width: .7em; border-top-width: 1px; border-bottom-width: 1px; }
.dtflp-dim-side span { top: 50%; left: .55em; transform: translateY(-50%) rotate(-90deg); transform-origin: left center; }
.dtflp-dims-text { margin: .6em 0 0; font-size: .92em; color: var(--dtflp-dim, inherit); }
.dtflp-preview-note { margin: .3em 0 0; font-size: .82em; opacity: .75; }
.dtflp-preview-note:empty { display: none; }

.dtflp-filecheck { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--dtflp-check); border-radius: 10px; }
.dtflp-check-badge { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3em .5em; margin: 0; }
.dtflp-check-icon {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 1.35em; height: 1.35em; border-radius: 50%;
	background: var(--dtflp-check); color: #fff; font-size: .9em; font-weight: 800; transform: translateY(.15em);
}
.dtflp-check-badge strong { color: var(--dtflp-check); flex: 0 0 auto; white-space: nowrap; }
.dtflp-check-text { opacity: .85; font-size: .9em; flex: 1 1 12em; min-width: 0; }
@media (max-width: 420px) { .dtflp-check-badge strong { white-space: normal; } }
.dtflp-filecheck.is-warn { border-color: var(--dtflp-check-warn); }
.dtflp-filecheck.is-warn .dtflp-check-icon { background: var(--dtflp-check-warn); }
.dtflp-filecheck.is-warn .dtflp-check-badge strong { color: var(--dtflp-check-warn); }
.dtflp-filecheck.is-danger { border-color: var(--dtflp-check-danger); border-width: 2px; }
.dtflp-filecheck.is-danger .dtflp-check-icon { background: var(--dtflp-check-danger); }
.dtflp-filecheck.is-danger .dtflp-check-badge strong { color: var(--dtflp-check-danger); }
.dtflp-filecheck.is-danger .dtflp-check-text { opacity: 1; font-weight: 600; }

.dtflp-adjust, .dtflp-bg {
	margin-top: 12px; padding: 10px 14px; border-left: 3px solid var(--dtflp-warn); border-radius: 0 8px 8px 0;
	background: var(--dtflp-warn-bg); color: var(--dtflp-warn-text, inherit); font-size: .9em;
}
.dtflp-adjust p, .dtflp-bg p { margin: 0 0 .4em; }
.dtflp-adjust p:last-child { margin-bottom: 0; }
.dtflp-check { display: flex; gap: .6em; align-items: flex-start; cursor: pointer; font-weight: 600; }
.dtflp-check input { margin: .25em 0 0; flex: 0 0 auto; accent-color: var(--dtflp-accent); }
.dtflp-check span { font-weight: inherit; }
.dtflp-procheck { margin-top: 12px; padding: 12px 14px; border: 1px dashed var(--dtflp-card-border); border-radius: 10px; font-weight: 400; }
.dtflp-procheck strong { font-weight: 700; }
.dtflp-procheck-desc { display: block; margin-top: .2em; font-size: .85em; opacity: .75; }
.dtflp-file .dtflp-gallery-toggle {
	display: inline-block; margin-top: 12px; padding: .35em .8em; border: 1px solid var(--dtflp-card-border); border-radius: 8px;
	background: transparent; font: inherit; font-size: .82em; cursor: pointer; color: inherit;
}
.dtflp-gallery-active { opacity: 1 !important; line-height: 1.5 !important; text-align: left !important; }
.dtflp-gallery-active .dtflp-file { line-height: 1.5; text-align: left; display: block; max-width: none; }
.dtflp-gallery-active .dtflp-file label { line-height: 1.4; }
.dtflp-gallery-active .dtflp-file { width: 100%; }

/* ---------- Felder & Stepper (Maß, Menge) ---------- */
.dtflp-field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .85em; }
.dtflp-stepper {
	display: inline-flex; align-items: stretch; height: 46px; border: 1px solid var(--dtflp-stepper, var(--dtflp-card-border)); border-radius: 10px;
	background: var(--dtflp-card-bg); overflow: hidden;
}
.dtflp-stepper .dtflp-step {
	flex: 0 0 40px; border: 0; background: transparent; color: inherit; font: inherit; font-size: 1.15em; font-weight: 500; cursor: pointer; opacity: .6;
}
.dtflp-stepper .dtflp-step:hover { opacity: 1; background: rgba(127, 127, 127, .08); }
.dtflp-stepper input,
.dtflp-stepper .quantity, .dtflp-stepper .quantity input {
	flex: 1 1 70px; min-width: 60px; width: 70px; height: 100%; margin: 0; padding: 0 4px; border: 0; background: transparent;
	text-align: center; font: inherit; font-weight: 600; font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; -moz-appearance: textfield; appearance: textfield;
}
.dtflp-stepper .quantity { display: flex; align-items: stretch; padding: 0; }
.dtflp-stepper input::-webkit-outer-spin-button, .dtflp-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dtflp-stepper input:focus { outline: none; }
.dtflp-stepper:focus-within { border-color: var(--dtflp-accent); }

.dtflp-size-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dtflp-size-hint { margin: .6em 0 0; font-size: .78em; opacity: .7; }
.dtflp-size.is-changed .dtflp-size-hint { opacity: .95; }
.dtflp-size-reset { margin-top: 6px; padding: 0; border: 0; background: none; font: inherit; font-size: .8em; text-decoration: underline; cursor: pointer; color: inherit; opacity: .75; }
.dtflp-size-reset:hover { opacity: 1; }
@media (max-width: 420px) { .dtflp-size-fields { grid-template-columns: 1fr; } }

/* ---------- Preis + CTA ---------- */
.dtflp-table { width: 100%; border-collapse: collapse; margin: 0; }
.dtflp-detail-table { font-size: .86em; opacity: .85; }
.dtflp-table th, .dtflp-table td { padding: .3em 0; border: 0; border-bottom: 1px solid var(--dtflp-line); background: none; vertical-align: top; }
/* Gegen Theme-Tabellen-Styles (z. B. Divi: .entry-content table:not(.variations), .entry-content tr td { padding: 6px 24px }) */
.dtflp .dtflp-card table.dtflp-table { border: 0; margin: 0; width: 100%; background: none; table-layout: auto; }
.dtflp .dtflp-card table.dtflp-table tr th, .dtflp .dtflp-card table.dtflp-table tr td { padding: .3em 0; border: 0; border-bottom: 1px solid var(--dtflp-line); background: none; color: inherit; font-size: inherit; line-height: 1.45; }
.dtflp .dtflp-card table.dtflp-table tr th { text-align: left; padding-right: 1em; font-weight: 400; }
.dtflp .dtflp-card table.dtflp-tier-table tr th { font-weight: 500; }
.dtflp .dtflp-card table.dtflp-tier-table tr td.dtflp-tier-save { color: var(--dtflp-success); font-weight: 600; }
.dtflp .dtflp-card table.dtflp-table tr td { text-align: right; }
.dtflp .dtflp-card table.dtflp-table tr:last-child th, .dtflp .dtflp-card table.dtflp-table tr:last-child td { border-bottom: 0; }
.dtflp .dtflp-card table.dtflp-tier-table tr.is-active th, .dtflp .dtflp-card table.dtflp-tier-table tr.is-active td { background: var(--dtflp-tier-bg, rgba(127, 127, 127, .09)); font-weight: 700; }
.dtflp .dtflp-card table.dtflp-tier-table tr.is-active th { padding-left: .5em; }
.dtflp .dtflp-card table.dtflp-tier-table tr.is-active td:last-child { padding-right: .4em; }
.dtflp-table th { font-weight: 400; text-align: left; padding-right: 1em; }
.dtflp-table td { text-align: right; font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; white-space: nowrap; }
.dtflp-table tr:last-child th, .dtflp-table tr:last-child td { border-bottom: 0; }
.dtflp-totals { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--dtflp-card-border); text-align: right; }
.dtflp-unit { font-size: .85em; opacity: .8; }
.dtflp-unit b { margin-left: .4em; font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }
.dtflp-total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 2px 12px; }
.dtflp-total-label { font-weight: 700; font-size: 1em; }
.dtflp-total-amount { font-size: 2.1em; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; color: var(--dtflp-price, var(--dtflp-total, inherit)); font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }
.dtflp-total-tax { flex-basis: 100%; font-size: .78em; opacity: .7; }
.dtflp-issue-link { margin: 10px 0 0; text-align: right; font-size: .85em; }
.dtflp-issue-link a { color: var(--dtflp-check-danger); font-weight: 700; text-decoration: underline; }
.dtflp-issue-link a::before { content: "⚠ "; }
.dtflp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: 14px; }
.dtflp-qty-field { flex: 0 0 auto; }
.dtflp-cta-row .single_add_to_cart_button { flex: 1 1 200px; min-height: 46px; margin: 0 !important; }
.dtflp-cta-row .single_add_to_cart_button.disabled, .dtflp-cta-row .single_add_to_cart_button[disabled] { opacity: .45; cursor: not-allowed; }
.dtflp-cta-row .added_to_cart { flex-basis: 100%; }
.dtflp-standalone .dtflp-submit {
	padding: .95em 1.4em; border: 0; border-radius: 10px; cursor: pointer;
	background: var(--dtflp-cta, #111); color: var(--dtflp-cta-text, #fff); font: inherit; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
}
.dtflp-standalone .dtflp-submit:hover { filter: brightness(1.2); }
.dtflp-result-note { margin: 10px 0 0; font-size: .78em; opacity: .7; }
.dtflp-result-note:empty { display: none; }
.dtflp-per-meter { font-size: .8em; font-weight: 400; opacity: .8; }

/* ---------- Ruhezustand & Aktivierung ---------- */
.dtflp-result.is-idle .dtflp-detail-table,
.dtflp-result.is-idle .dtflp-unit,
.dtflp-result.is-idle .dtflp-issue-link { display: none !important; }
.dtflp-result.is-idle .dtflp-totals { border-top: 0; padding-top: 0; margin-top: 0; }
.dtflp-result.is-idle .dtflp-total-amount { color: inherit; opacity: .35; font-size: 1.6em; }
.dtflp-result.is-idle .dtflp-total-tax { opacity: .85; }
.dtflp-result.is-idle .dtflp-cta-row { opacity: .45; filter: grayscale(1); pointer-events: none; }
.dtflp-result .dtflp-cta-row { transition: opacity .35s ease, filter .35s ease; }
.dtflp-result .dtflp-total-amount { transition: color .35s ease; }

.dtflp-card.is-enter { animation: dtflp-rise .45s cubic-bezier(.2, .7, .2, 1) both; }
.dtflp-size.is-enter { animation-delay: .08s; }
.dtflp-result.is-enter { animation-delay: .16s; }
@keyframes dtflp-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.dtflp-result.is-activating .single_add_to_cart_button { animation: dtflp-pop .5s cubic-bezier(.2, .7, .2, 1) .55s both; }
@keyframes dtflp-pop { 0% { transform: scale(.96); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }

/* Upload-Icon wird zum Haken */
.dtflp-drop-icon { position: relative; transition: background-color .3s ease, color .3s ease; }
.dtflp-drop-icon svg { transition: opacity .25s ease, transform .3s cubic-bezier(.2, .7, .2, 1); }
.dtflp-ico-ok { position: absolute; inset: 0; margin: auto; opacity: 0; transform: scale(.6); }
.dtflp-drop.is-done .dtflp-drop-icon { background: var(--dtflp-success); color: #fff; }
.dtflp-drop.is-done .dtflp-ico-up { opacity: 0; transform: scale(.6); }
.dtflp-drop.is-done .dtflp-ico-ok { opacity: 1; transform: scale(1); }

/* Datei entfernen (ⓧ oben rechts an der Datei-Karte) */
.dtflp-file { position: relative; }
.dtflp-remove {
	position: absolute; top: 10px; right: 10px; z-index: 2; width: 28px; height: 28px; padding: 0;
	display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
	border: 1px solid var(--dtflp-card-border); background: var(--dtflp-card-bg); color: inherit; opacity: .7; cursor: pointer;
}
.dtflp-remove:hover { opacity: 1; border-color: var(--dtflp-error); color: var(--dtflp-error); }
.dtflp-remove:focus-visible { outline: 2px solid var(--dtflp-error); outline-offset: 2px; }

/* ---------- Staffel (immer sichtbar) ---------- */
.dtflp-tiers { margin-top: 14px; font-size: .92em; }
.dtflp-tier-title { margin: 0 0 .2em; font-weight: 700; font-size: 1.05em; }
.dtflp-tier-intro { margin: 0 0 14px; opacity: .8; line-height: 1.4; }
.dtflp-tier-bar { position: relative; margin: 6px 0 34px; }
.dtflp-tier-track { height: 8px; border-radius: 999px; background: var(--dtflp-tier-track, rgba(127, 127, 127, .18)); overflow: hidden; }
.dtflp-tier-fill {
	height: 100%; width: 0; border-radius: 999px;
	background: var(--dtflp-tier-accent, var(--dtflp-accent));
	transition: width .7s cubic-bezier(.22, 1, .36, 1);
}
.dtflp-tier-marks { position: absolute; left: 0; right: 0; top: 4px; height: 0; }
.dtflp-tier-mark { position: absolute; top: 0; transform: translateX(-50%); text-align: center; }
.dtflp-tier-mark i {
	display: block; width: 14px; height: 14px; margin: -7px auto 0; border-radius: 50%;
	background: var(--dtflp-card-bg); border: 3px solid var(--dtflp-tier-track, rgba(127, 127, 127, .3));
	box-sizing: border-box; transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.dtflp-tier-mark b { display: block; margin-top: 6px; font-size: .78em; font-weight: 500; white-space: nowrap; opacity: .7; }
.dtflp-tier-mark.is-reached i { border-color: var(--dtflp-tier-accent, var(--dtflp-accent)); background: var(--dtflp-tier-accent, var(--dtflp-accent)); transform: scale(1.1); }
.dtflp-tier-mark.is-reached b { opacity: 1; font-weight: 700; }
.dtflp-tiers:not(.is-live) .dtflp-tier-fill { width: 0 !important; }
.dtflp-tier-table th { font-weight: 500; }
.dtflp-tier-table tr.is-active th, .dtflp-tier-table tr.is-active td { font-weight: 700; background: var(--dtflp-tier-bg, rgba(127, 127, 127, .09)); }
.dtflp-tier-table tr.is-active th { box-shadow: inset 3px 0 0 var(--dtflp-tier-accent, var(--dtflp-accent)); padding-left: .5em; border-radius: 4px 0 0 4px; }
.dtflp-tier-table tr.is-active td:last-child { padding-right: .4em; border-radius: 0 4px 4px 0; }
.dtflp-tier-badge { display: inline-block; margin-left: .6em; padding: .1em .6em; border-radius: 999px; font-size: .75em; font-weight: 600; border: 1px solid currentColor; vertical-align: middle; }
.dtflp-tier-save { color: var(--dtflp-success); font-weight: 600; width: 4.5em; }
.dtflp-tier-price { white-space: nowrap; }
.dtflp-tier-summary { margin: 12px 0 0; font-weight: 600; }
.dtflp-tier-summary:empty { display: none; }
.dtflp-tiers.dtflp-no-bar .dtflp-tier-bar { display: none; }
.dtflp-tier-mark.is-reached i { border-color: var(--dtflp-tier-mark, var(--dtflp-tier-accent, var(--dtflp-accent))); background: var(--dtflp-tier-mark, var(--dtflp-tier-accent, var(--dtflp-accent))); }
.dtflp-tier-fill { background: var(--dtflp-tier-fill, var(--dtflp-tier-accent, var(--dtflp-accent))); }
@media (max-width: 420px) { .dtflp-tier-mark b { font-size: .7em; } .dtflp-tier-badge { display: block; margin: 2px 0 0; width: max-content; margin-left: auto; } }

/* ---------- Shortcode ---------- */
.dtflp-standalone { max-width: 720px; }
.dtflp-standalone-row { display: none; }

/* ---------- Pop-up ---------- */
.dtflp-modal-overlay { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .55); padding: 1em; }
.dtflp-modal {
	max-width: 440px; width: 100%; max-height: 85vh; overflow: auto; background: var(--dtflp-modal-bg, #fff); color: var(--dtflp-modal-text, #1a1a1a);
	border-radius: 14px; padding: 1.3em 1.4em 1.2em; box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
}
.dtflp-modal-title { margin: 0 0 .6em; font-size: 1.1em; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.dtflp-modal-text { margin: 0 0 .6em; font-size: .95em; line-height: 1.5; }
.dtflp-modal-btn { display: inline-block; margin-top: .4em; padding: .6em 1.4em; border: 0; border-radius: 8px; cursor: pointer; background: var(--dtflp-modal-btn, #1a1a1a); color: var(--dtflp-modal-btn-text, #fff); font: inherit; font-weight: 700; }
.dtflp-modal-btn:hover { filter: brightness(1.15); }
.dtflp-modal-btn:focus-visible { outline: 2px solid var(--dtflp-modal-btn, #1a1a1a); outline-offset: 2px; }

/* ---------- Checkout-Hinweis ---------- */
.dtflp-checkout-notice {
	--dtflp-checkout: #8a5a00; --dtflp-checkout-bg: rgba(138, 90, 0, .08);
	margin: .6em 0; padding: .75em 1em; border-left: 3px solid var(--dtflp-checkout); border-radius: 0 8px 8px 0; background: var(--dtflp-checkout-bg);
	color: var(--dtflp-checkout-text, inherit); font-size: .92em;
}
.dtflp-checkout-notice p { margin: 0 0 .3em; }
.dtflp-checkout-notice p:last-child { margin: 0; }
.dtflp-checkout-notice a { color: var(--dtflp-checkout); font-weight: 700; }
tr.dtflp-checkout-notice td { padding: 0 !important; border: 0 !important; }

@media (prefers-reduced-motion: reduce) {
	.dtflp-drop, .dtflp-progress span, .dtflp-result .dtflp-cta-row, .dtflp-result .dtflp-total-amount, .dtflp-drop-icon, .dtflp-drop-icon svg { transition: none; }
	.dtflp-card.is-enter, .dtflp-result.is-activating .single_add_to_cart_button { animation: none; }
	.dtflp-file.is-pulse { animation: none; box-shadow: 0 0 0 3px var(--dtflp-check-danger); }
}

/* ---------- [dtflp_galerie] Produktbilder auf beliebigen Seiten ---------- */
.dtflp-pg { width: 100%; }
.dtflp-pg-main { border-radius: 12px; overflow: hidden; background: #f4f4f5; aspect-ratio: 1 / 1; }
.dtflp-pg-main img { display: block; width: 100%; height: 100%; object-fit: contain; margin: 0; }
.dtflp-pg-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.dtflp-pg-thumb { appearance: none; -webkit-appearance: none; padding: 0; margin: 0; width: 68px; height: 68px; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #f4f4f5; cursor: pointer; opacity: .75; transition: opacity .15s ease, border-color .15s ease; }
.dtflp-pg-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.dtflp-pg-thumb:hover { opacity: 1; }
.dtflp-pg-thumb.is-active { opacity: 1; border-color: var(--dtflp-tier-accent, #111214); }
.dtflp-pg-thumb:focus-visible { outline: 2px solid var(--dtflp-tier-accent, #111214); outline-offset: 2px; }

