*{box-sizing:border-box}a{color:inherit;text-decoration:none}.nav-links{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.brand{font-weight:800;font-size:1.25rem}.hero h1{font-size:clamp(2.2rem,6vw,4.8rem);line-height:1;margin:.15em 0}.hero p{font-size:1.2rem;max-width:650px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:22px}.card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;box-shadow:0 8px 30px rgba(0,0,0,.04)}.card-body{padding:18px}.product-image{aspect-ratio:4/3;width:100%;object-fit:cover;background:#eef2f7}.price{font-size:1.2rem;font-weight:800}.old{text-decoration:line-through;color:#6b7280;font-weight:400;margin-right:8px}.section{padding:48px 0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}label{display:block;font-weight:650;margin-bottom:6px}input,select,textarea{width:100%;padding:11px 12px;border:1px solid #cbd5e1;border-radius:9px;background:#fff}textarea{min-height:130px}.full{grid-column:1/-1}.flash{padding:12px 15px;border-radius:9px;margin:14px 0}.table-wrap{overflow:auto;background:white;border-radius:14px;border:1px solid #e5e7eb}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:12px;border-bottom:1px solid #e5e7eb;white-space:nowrap}.sidebar a:hover{background:#f1f5f9}.muted{color:#64748b}.split{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}@media(max-width:760px){.form-grid{grid-template-columns:1fr}.admin-layout{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid #ddd}.hero{padding:48px 0}}
.choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:28px}.choice-card{height:100%}.choice-card .card-body{display:flex;flex-direction:column;align-items:flex-start;height:100%}.choice-card p{flex:1}.narrow{max-width:720px}.text-link{text-decoration:underline;font-weight:700}small{display:block;margin-top:5px;color:#64748b}@media(max-width:850px){.choice-grid{grid-template-columns:1fr}}
.account-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0;border-bottom:1px solid #dbe2ea}.account-tabs a{padding:12px 15px;border-radius:9px 9px 0 0;font-weight:700}.account-tabs a.active{background:#111827;color:#fff}.account-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px;margin:20px 0 30px}.metric{font-size:2.4rem;font-weight:800;margin:.2em 0}.order-history{margin-bottom:16px}.order-history ul{padding-left:20px}.order-history li{margin:8px 0}.filter-bar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,260px) minmax(180px,260px) auto;gap:12px;align-items:end;margin:20px 0}.stats-grid{margin:20px 0}.wrap-cell{white-space:normal;min-width:220px;max-width:360px}.logout-link{border:1px solid rgba(255,255,255,.5);border-radius:8px;padding:7px 10px}@media(max-width:900px){.filter-bar{grid-template-columns:1fr 1fr}.filter-bar .btn{width:100%}}@media(max-width:600px){.filter-bar{grid-template-columns:1fr}.account-tabs a{width:100%;border-radius:8px}.wrap-cell{min-width:180px}}
html,body{min-height:100%;max-width:100%}body>main{flex:1 0 auto}.admin-layout{display:grid;grid-template-columns:220px 1fr;min-height:calc(100vh - 68px);flex:1;min-height:calc(100vh - 68px);}@media(max-width:900px){html,body{max-width:100%;overflow-x:hidden}body.public-page>main,body.public-page .section,body.public-page .container{min-width:0;max-width:100%;box-sizing:border-box}}
.sidebar nav{display:flex;flex-direction:column;gap:3px}.sidebar-logout{margin-top:auto;color:#b91c1c}.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}.metric-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:20px;box-shadow:0 8px 30px rgba(0,0,0,.04)}.metric-card span,.metric-card small{color:#64748b}.dashboard-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:18px}.bar-chart{height:300px;display:flex;align-items:flex-end;gap:8px;padding-top:40px}.bar-column{height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;min-width:24px}.bar-value{font-size:.7rem;writing-mode:vertical-rl;transform:rotate(180deg);max-height:70px;overflow:hidden;margin-bottom:5px}.status-list>div{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #e5e7eb}.order-actions{min-width:300px;padding:12px 0;display:grid;gap:8px}.inline-input{width:auto}.link-button{border:0;background:none;cursor:pointer;text-decoration:underline}.danger-text{color:#b91c1c}.admin-form-card{margin-bottom:18px}.badge-warn{background:#fef3c7;color:#92400e}.prose{line-height:1.7}@media(max-width:1000px){.dashboard-metrics{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}}@media(max-width:600px){.dashboard-metrics{grid-template-columns:1fr}.content{padding:18px}.bar-value{display:none}}
.account-exists-hint{margin-top:8px;padding:10px 12px;border-radius:9px;background:#fff7ed;color:#9a3412;font-weight:650}.account-exists-hint a{text-decoration:underline}.tax-export{display:grid;grid-template-columns:minmax(180px,240px) minmax(180px,240px) auto;gap:14px;align-items:end;margin:18px 0}.tax-export .full{grid-column:1/-1;margin:0}.dashboard-actions{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:760px){.tax-export{grid-template-columns:1fr}.tax-export .full{grid-column:auto}}
.sidebar-group{margin-top:10px;padding-top:10px;border-top:1px solid #eef2f7}.sidebar-group-title{padding:5px 10px;color:#64748b;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.6);z-index:1000;display:grid;place-items:center;padding:20px}.modal-backdrop[hidden]{display:none}.modal-dialog{position:relative;width:min(520px,100%);background:#fff;border-radius:18px;padding:28px;box-shadow:0 30px 80px rgba(0,0,0,.3)}.modal-close{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:2rem;cursor:pointer}.modal-open{overflow:hidden}.stock-modal-list{line-height:1.7;padding-left:20px}.page-custom-content{margin:18px 0 28px}.page-custom-content a{text-decoration:underline}.page-custom-content img{max-width:100%;height:auto}


/* Nochmal-kaufen-Erfolg */
.reorder-form .btn{min-width:132px;transition:transform .2s ease,background-color .2s ease,border-color .2s ease}
.reorder-form .btn.reorder-success{min-width:64px;background:#15803d;border-color:#15803d;cursor:default}
.reorder-success .thumb-icon{display:inline-block;font-size:1.35rem;animation:thumb-confirm 2s ease-in-out}
@keyframes thumb-confirm{0%{transform:scale(.7) rotate(-10deg)}20%{transform:scale(1.25) rotate(8deg)}40%{transform:scale(1) rotate(-4deg)}60%{transform:translateY(-3px) rotate(4deg)}80%{transform:translateY(0) rotate(-2deg)}100%{transform:scale(1) rotate(0)}}


/* Aufklappbare Bestellungen im Kundenkonto */
.recent-orders{display:grid;gap:14px}.recent-order{overflow:visible}.recent-order summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;cursor:pointer;list-style:none}.recent-order summary::-webkit-details-marker{display:none}.recent-order summary::after{content:"⌄";font-size:1.4rem;transition:transform .2s ease}.recent-order[open] summary::after{transform:rotate(180deg)}.recent-order summary>span:first-child{display:flex;flex-direction:column}.recent-order-total{font-weight:800;margin-left:auto}.recent-order-items{border-top:1px solid #e5e7eb;padding:6px 18px 18px}.recent-order-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #eef2f7}.recent-order-item:last-child{border-bottom:0}.recent-order-item>div{min-width:0}.recent-order-item .reorder-form{flex:0 0 auto}
/* Rücksendungs-Kommunikation im Admincenter */
.checkbox-row{display:flex;align-items:flex-start;gap:9px;font-weight:600}.checkbox-row input{width:auto;margin-top:3px}
@media(max-width:760px){.recent-order summary,.recent-order-item{align-items:flex-start;flex-direction:column}.recent-order-total{margin-left:0}.recent-order-item .reorder-form,.recent-order-item .btn{width:100%}.return-admin-grid{grid-template-columns:1fr}}


/* Dynamischer Rücksendungsverlauf im Kundenkonto */
.return-timeline{position:relative;padding-left:26px}.return-timeline::before{content:"";position:absolute;left:7px;top:8px;bottom:8px;width:2px;background:#dbe2ea}.return-timeline-entry{position:relative;padding:0 0 22px}.return-timeline-entry:last-child{padding-bottom:4px}.return-timeline-entry h4{margin:3px 0 7px}.return-timeline-entry p{margin:0;white-space:pre-wrap}.return-timeline-dot{position:absolute;left:-25px;top:6px;width:14px;height:14px;border-radius:50%;background:#64748b;border:3px solid #fff;box-shadow:0 0 0 2px #cbd5e1}.return-timeline-reply{background:#eef6ff;border:1px solid #bfdbfe;border-radius:12px;padding:14px 14px 18px;margin-left:-8px}.return-timeline-reply .return-timeline-dot{left:-18px;background:#2563eb;box-shadow:0 0 0 2px #93c5fd}@media(max-width:760px){.return-customer-grid{grid-template-columns:1fr}.return-history-card{position:static}}

/* Globale Darstellung aus Admincenter > Einstellungen > Darstellung */
:root{--header-bg:#111827;--header-text:#fff;--header-link:#fff;--header-link-hover:#c7d2fe;--body-bg:#f7f8fa;--body-text:#17202a;--heading:#111827;--link:#1d4ed8;--muted:#64748b;--primary-bg:#111827;--primary-text:#fff;--primary-hover:#374151;--secondary-bg:#e5e7eb;--secondary-text:#111827;--danger-bg:#b91c1c;--success-bg:#dcfce7;--success-text:#166534;--error-bg:#fee2e2;--error-text:#991b1b;--card-bg:#fff;--card-border:#e5e7eb;--input-bg:#fff;--input-border:#cbd5e1;--input-text:#17202a;--hero-bg-start:#eef2ff;--hero-bg-end:#fff7ed;--hero-text:#17202a;--accent:#4f46e5;--footer-bg:#111827;--footer-text:#d1d5db;--footer-link:#fff;--admin-sidebar-bg:#fff;--admin-sidebar-text:#17202a;--admin-sidebar-active-bg:#111827;--admin-sidebar-active-text:#fff;--admin-content-bg:#f7f8fa;--radius:12px;--card-radius:16px;--button-radius:10px;--input-radius:9px;--container-width:1240px;--base-font-size:16px;--header-height:68px;--font-family:system-ui,-apple-system,"Segoe UI",sans-serif;--surface-shadow:0 8px 30px rgba(15,23,42,.1)}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#17202a;background:#f7f8fa;min-height:100vh;display:flex;flex-direction:column;font-family:var(--font-family);font-size:var(--base-font-size);color:var(--body-text);background:var(--body-background,var(--body-bg));background-size:var(--body-background-size,auto);background-repeat:var(--body-background-repeat,no-repeat);background-position:var(--body-background-position,center top);background-attachment:var(--body-background-attachment,fixed);}h1,h2,h3,h4,h5,h6{color:var(--heading)}a:not(.btn):not(.brand){color:var(--link)}.container{width:min(1180px,92%);margin:auto;width:min(var(--container-width),92%);}.top{background:#111827;color:white;background:var(--header-bg);color:var(--header-text);}.top .brand{color:var(--header-text)}.top .nav-links a{color:var(--header-link)}.top .nav-links a:hover{color:var(--header-link-hover)}.nav{display:flex;align-items:center;justify-content:space-between;min-height:68px;gap:18px;min-height:var(--header-height);}.header-sticky .top{position:sticky;top:0;z-index:900;box-shadow:0 4px 20px rgba(0,0,0,.12)}.compact-nav .nav{min-height:calc(var(--header-height) * .78)}.compact-nav .nav-links{gap:11px}.compact-nav .nav-links a{font-size:.92em}.hero{padding:72px 0;background:linear-gradient(120deg,#eef2ff,#fff7ed);background:linear-gradient(120deg,var(--hero-bg-start),var(--hero-bg-end));color:var(--hero-text);}.hero h1,.hero h2,.hero h3{color:var(--hero-text)}.btn{display:inline-block;border:0;border-radius:10px;padding:12px 18px;background:#111827;color:#fff;cursor:pointer;font-weight:700;background:var(--primary-bg);color:var(--primary-text);border-radius:var(--button-radius);}.btn:hover{background:var(--primary-hover)}.btn.secondary{background:#e5e7eb;color:#111827;background:var(--secondary-bg);color:var(--secondary-text);}.card,.table-wrap,.metric-card{background:var(--card-bg);border-color:var(--card-border);border-radius:var(--card-radius);box-shadow:var(--surface-shadow)}input,select,textarea,.wysiwyg-editor{background:var(--input-bg);border-color:var(--input-border);color:var(--input-text);border-radius:var(--input-radius)}.muted,small{color:var(--muted)}.flash.success{background:#dcfce7;background:var(--success-bg);color:var(--success-text);}.flash.error{background:#fee2e2;background:var(--error-bg);color:var(--error-text);}.footer a{color:var(--footer-link)}.sidebar{background:#fff;border-right:1px solid #e5e7eb;padding:20px;display:flex;flex-direction:column;gap:14px;background:var(--admin-sidebar-bg);color:var(--admin-sidebar-text);border-color:var(--card-border);}.sidebar a{display:block;padding:10px;border-radius:8px;display:flex;gap:10px;align-items:center;color:var(--admin-sidebar-text);}.sidebar a.active{background:#111827;color:#fff;background:var(--admin-sidebar-active-bg);color:var(--admin-sidebar-active-text);}.content{padding:28px;background:var(--admin-content-bg);}.bar{width:min(34px,80%);background:linear-gradient(180deg,#4f46e5,#818cf8);border-radius:8px 8px 2px 2px;min-height:4px;background:linear-gradient(180deg,var(--accent),color-mix(in srgb,var(--accent) 55%,white));}.badge{display:inline-block;padding:4px 8px;border-radius:999px;background:#e5e7eb;font-size:.8rem;border-radius:var(--radius);}
.appearance-section{margin:18px 0}.color-control{display:grid;grid-template-columns:minmax(0,1fr) 68px;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--card-border);border-radius:var(--radius)}.color-input-wrap{display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:5px}.color-input-wrap input{width:44px;height:34px;padding:2px;cursor:pointer}.color-input-wrap code{display:block;width:100%;text-align:center;font-size:.72rem;line-height:1.2;white-space:nowrap}.appearance-toggles{display:flex;gap:28px;flex-wrap:wrap}.preview-header{padding:18px;background:var(--header-bg);color:var(--header-text);display:flex;justify-content:space-between;gap:15px}.preview-hero{padding:28px;background:linear-gradient(120deg,var(--hero-bg-start),var(--hero-bg-end));color:var(--hero-text)}.preview-body{padding:22px}.preview-footer{padding:18px;background:var(--footer-bg);color:var(--footer-text)}.return-template-settings{margin:18px 0}.template-action-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;background:var(--body-bg);border-radius:var(--radius)}
@media(max-width:700px){.appearance-savebar .btn{width:100%;}.preview-header{flex-direction:column}.color-control{align-items:flex-start;flex-direction:column}.appearance-toggles{gap:12px}}
.admin-notice-list{display:grid;gap:10px}.admin-notice-list a{display:flex;justify-content:space-between;gap:16px;padding:13px 14px;border:1px solid var(--card-border);border-radius:var(--radius);background:color-mix(in srgb,var(--card-bg) 94%,var(--accent));color:var(--body-text)!important}.admin-notice-list a:hover{border-color:var(--accent)}.admin-notice-list span{color:var(--muted);text-align:right}.filter-bar>div{min-width:170px}.metric-card strong{display:block;font-size:clamp(1.6rem,3vw,2.4rem);margin:7px 0;overflow-wrap:anywhere;}@media(max-width:760px){.admin-notice-list a{flex-direction:column}.admin-notice-list span{text-align:left}}

/* Getrennter Header: Seitentitel und Shopnavigation links, Kontoaktionen rechts */
.header-primary{display:flex;align-items:center;gap:28px;min-width:0;flex:1}.nav-main{justify-content:flex-start}.nav-account a{white-space:nowrap}
@media(max-width:980px){.nav{flex-wrap:wrap;padding:12px 0}.header-primary{flex:1 1 100%;justify-content:space-between}}
@media(max-width:760px){.header-primary{align-items:flex-start;flex-direction:column;gap:12px;width:100%}.nav-main,.nav-account{width:100%;justify-content:flex-start}.nav{align-items:flex-start;padding:14px 0;flex-direction:column;gap:12px;}}


/* Status-Kacheln auf Bestellungen und Rücksendungen */
.status-tile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin:18px 0 22px}.status-tile{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:76px;padding:15px 16px;background:var(--card-bg);border:1px solid var(--card-border);border-radius:var(--card-radius);box-shadow:var(--surface-shadow);color:var(--body-text)!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.status-tile:hover{transform:translateY(-2px);border-color:var(--accent)}.status-tile.active{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 24%,transparent),var(--surface-shadow)}.status-tile span{font-weight:700}.status-tile strong{display:grid;place-items:center;min-width:38px;height:38px;padding:0 9px;border-radius:999px;background:color-mix(in srgb,var(--accent) 13%,var(--card-bg));color:var(--accent);font-size:1.08rem}.status-tile.active strong{background:var(--accent);color:#fff}@media(max-width:620px){.status-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.status-tile{min-height:68px;padding:12px}.status-tile strong{min-width:34px;height:34px}}

/* Update: breiteres Adminmenü */
@media (min-width: 761px) {
  .admin-layout {
    grid-template-columns: 270px minmax(0, 1fr);
  }

  .sidebar {
    width: 270px;
  }

  .sidebar a {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Editierbarer Footer */
.footer{background:#111827;color:#d1d5db;padding:35px 0;margin-top:50px;margin-top:auto;flex-shrink:0;background:var(--footer-bg);color:var(--footer-text);padding:34px 0 18px;}.footer-grid{display:grid;gap:32px;align-items:start}.footer-layout-two-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.footer-layout-three-columns{grid-template-columns:repeat(3,minmax(0,1fr))}.footer-layout-stacked{grid-template-columns:1fr}.footer-left{text-align:left}.footer-right{text-align:right}.footer-layout-stacked .footer-left,.footer-layout-stacked .footer-right{text-align:left}.footer-column p{margin:.25rem 0 .7rem}.footer-column img{display:inline-block;max-width:100%;height:auto;border-radius:8px}.footer-column figure{margin:0}.footer-bottom{margin-top:22px;padding-top:16px;border-top:1px solid color-mix(in srgb,var(--footer-text) 25%,transparent);font-size:.92em}.footer-bottom p{margin:0}.wysiwyg-editor blockquote{border-left:4px solid var(--accent);padding-left:14px;margin-left:0}.wysiwyg-toolbar button{border:1px solid #cbd5e1;background:#fff;border-radius:6px;padding:6px 10px;cursor:pointer;white-space:nowrap;}.admin-form-card code{background:#eef2f7;padding:2px 5px;border-radius:5px}
@media(max-width:760px){.footer-layout-two-columns,.footer-layout-three-columns{grid-template-columns:1fr}.footer-left{text-align:left}.footer-right{text-align:right}.wysiwyg-toolbar{position:static}}

/* Rücksendungsverlauf: rechte Spalte gleicht sich an das Formular an. */

.return-side-column{display:flex;flex-direction:column;gap:16px;min-height:100%}


.return-processing-notice h3{margin-top:0}
.return-processing-notice p{margin-bottom:0}

/* Darstellungsoptionen gelten nur für den öffentlichen Shop. */
body.admin-page{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;color:#17202a;background:#f7f8fa}
body.admin-page a:not(.btn):not(.brand){color:#1d4ed8}
body.admin-page h1,body.admin-page h2,body.admin-page h3,body.admin-page h4,body.admin-page h5,body.admin-page h6{color:#111827}
body.admin-page .top{background:#111827;color:#fff}
body.admin-page .top .brand,body.admin-page .top .nav-links a{color:#fff}
body.admin-page .top .nav-links a:hover{color:#c7d2fe}

body.admin-page .sidebar a{color:#17202a}
body.admin-page .sidebar a.active{background:#111827;color:#fff}

body.admin-page .card,body.admin-page .table-wrap,body.admin-page .metric-card{background:#fff;border-color:#e5e7eb;box-shadow:0 8px 30px rgba(0,0,0,.04)}
body.admin-page input,body.admin-page select,body.admin-page textarea,body.admin-page .wysiwyg-editor{background:#fff;border-color:#cbd5e1;color:#17202a}
body.admin-page .muted,body.admin-page small{color:#64748b}
body.admin-page .btn{background:#111827;color:#fff}
body.admin-page .btn:hover{background:#374151}
body.admin-page .btn.secondary{background:#e5e7eb;color:#111827}
body.admin-page .btn.danger{background:#b91c1c;color:#fff}

@media(max-width:760px){.return-side-column{min-height:0}}

/* Produktverwaltung: Mehrfachauswahl und Sammelaktionen */
.select-column{width:46px;text-align:center}.checkbox-only{display:inline-flex;align-items:center;justify-content:center;margin:0}.checkbox-only input{width:18px;height:18px;margin:0;cursor:pointer}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}.bulk-action-bar{position:sticky;bottom:12px;z-index:15;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px;padding:14px 16px;border:1px solid #d8dee8;border-radius:12px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.14)}.bulk-action-buttons{display:flex;flex-wrap:wrap;gap:10px}.bulk-action-buttons .btn{margin:0}.btn.danger{background:#b91c1c;background:var(--danger-bg);background:#b42318;color:#fff;border-color:#b42318;}.bulk-action-buttons button:disabled{opacity:.45;cursor:not-allowed}.product-admin-table tbody tr:has(.product-select:checked){background:#f0f7ff}@media(max-width:760px){.bulk-action-bar{align-items:stretch;flex-direction:column}.bulk-action-buttons{display:grid;grid-template-columns:1fr}.bulk-action-buttons .btn{width:100%}}

/* Mengenwähler auf der Produktdetailseite */
.quantity-stepper {display:inline-flex;align-items:center;gap:.25rem;margin-top:.45rem;padding:.25rem;border:1px solid var(--border,#d7dce2);border-radius:999px;background:var(--card-bg,#fff)}
.quantity-stepper__button {width:2.35rem;height:2.35rem;display:inline-grid;place-items:center;border:0;border-radius:50%;background:var(--secondary-button-bg,#eef1f4);color:var(--secondary-button-text,#20242a);font:inherit;font-size:1.35rem;line-height:1;cursor:pointer;transition:transform .15s ease,opacity .15s ease}
.quantity-stepper__button:hover:not(:disabled){transform:scale(1.06)}
.quantity-stepper__button:disabled{opacity:.4;cursor:not-allowed}
.quantity-stepper__value{min-width:2.4rem;padding:0 .35rem;text-align:center;font-weight:700;font-variant-numeric:tabular-nums}

.product-purchase-row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-top:.45rem}
.product-purchase-row .quantity-stepper{margin-top:0}
.product-cart-button{min-height:2.85rem}
@media(max-width:520px){.product-purchase-row{align-items:stretch}.product-cart-button{flex:1 1 12rem}}


/* E-Mail-Verifizierung für Kundenkonten */
.verification-card{max-width:620px;margin:0 auto}.verification-code-input{display:block;max-width:230px;margin:.55rem 0 .35rem;padding:.8rem 1rem;text-align:center;font-size:2rem;font-weight:800;letter-spacing:.55rem;font-variant-numeric:tabular-nums}.verification-submit{display:block;margin-top:1rem}.verification-resend{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--card-border)}.verification-message{padding:12px 14px;border-radius:var(--radius);font-weight:650}.verification-error{background:#fee2e2;color:#991b1b}.verification-notice{background:#dcfce7;color:#166534}

/* Registrierung: bereits vergebene E-Mail-Adresse */
#register-submit:disabled,
#register-submit[aria-disabled="true"] {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

/* Kundenverwaltung: Aktionsbuttons */
.customer-action-buttons{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.customer-action-buttons form{margin:0}.btn.small{padding:.55rem .7rem;font-size:.86rem;white-space:nowrap}@media(max-width:900px){.customer-action-buttons{min-width:210px;flex-direction:column;align-items:stretch}.customer-action-buttons .btn{width:100%}}


/* Marketing administration */
.marketing-layout{align-items:start;margin:1.25rem 0 2rem}.marketing-metrics{margin:1rem 0}.marketing-consent-box{padding:14px;border:1px solid #dbe3ec;border-radius:12px;background:#f8fafc}.marketing-consent-box label{display:flex;gap:10px;align-items:flex-start}.marketing-consent-box .inline-input{margin-top:3px;flex:0 0 auto}.wysiwyg-editor{min-height:260px;padding:14px;background:#fff;border:1px solid #cbd5e1;border-radius:0 0 9px 9px;line-height:1.7;min-height:260px;border:1px solid #cbd5e1;border-radius:0 0 10px 10px;padding:14px;background:#fff;overflow:auto;}.feature-list{padding-left:20px}.feature-list li{margin:.75rem 0}.notice{padding:14px;border-radius:10px;background:#fff7ed;border:1px solid #fed7aa}.marketing-toggle{display:inline-flex;align-items:center;gap:6px;margin-right:8px}.marketing-toggle input{width:auto}

/* Marketing: kompakte Bereichsauswahl */
.marketing-page-heading{margin-bottom:.5rem}.marketing-section-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0 24px;align-items:stretch}.marketing-section-tile{display:flex;align-items:center;gap:14px;width:100%;min-height:92px;padding:16px;text-align:left;border:1px solid #dbe3ec;border-radius:14px;background:#fff;color:#111827;cursor:pointer;box-shadow:0 4px 16px rgba(15,23,42,.05);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.marketing-section-tile:hover{transform:translateY(-2px);border-color:#2563eb;box-shadow:0 10px 24px rgba(15,23,42,.09)}.marketing-section-tile.active{border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.14),0 10px 24px rgba(15,23,42,.08)}.marketing-section-tile span:last-child{display:flex;flex-direction:column;gap:4px}.marketing-section-tile strong{font-size:1rem}.marketing-section-tile small{display:block;color:#64748b;line-height:1.35}.marketing-section-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:12px;background:#eff6ff;color:#2563eb;font-size:1.25rem;font-weight:800}.marketing-panel{display:none}.marketing-panel.active{display:block}.marketing-editor-shell>.card{margin:0}.marketing-side-help{position:sticky;top:20px}.marketing-step{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start;padding:12px 0;border-bottom:1px solid #e5e7eb}.marketing-step:last-of-type{border-bottom:0}.marketing-step strong{display:grid;place-items:center;width:30px;height:30px;border-radius:999px;background:#111827;color:#fff}.section-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px}.section-heading h2{margin:0 0 4px}.section-heading p{margin:0}.marketing-panel .table-wrap{margin-top:8px}@media(max-width:980px){.marketing-side-help{position:static}.marketing-section-grid{grid-template-columns:1fr}}@media(max-width:620px){.marketing-section-tile{min-height:78px;padding:13px}.marketing-section-icon{width:38px;height:38px;flex-basis:38px}}

/* Darstellung: gespeicherte Designvorlagen */
.appearance-template-manager{margin:18px 0;}.appearance-template-save{display:grid;gap:8px;margin-bottom:18px;}.appearance-template-save .inline-actions{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:10px;}.appearance-template-card strong,.appearance-template-card small{display:block;}.appearance-template-card small{margin-top:3px;color:#64748b;}.appearance-template-swatches{display:grid;grid-template-columns:repeat(2,18px);gap:3px;}.appearance-template-swatches span{width:18px;height:18px;border:1px solid rgba(15,23,42,.15);border-radius:5px;}.appearance-template-actions{grid-column:1/-1;display:flex;gap:8px;justify-content:flex-end;}.appearance-template-actions form{margin:0;}.appearance-template-empty{margin:0;}@media(max-width:620px){.appearance-template-save .inline-actions{grid-template-columns:1fr;}.appearance-template-save .btn{width:100%;}}

/* Marketing: dauerhaft sichtbare Platzhalterliste */
.marketing-placeholder-groups{display:grid;gap:14px}.marketing-placeholder-groups section{display:grid;gap:6px}.marketing-placeholder-groups h3{margin:0 0 2px;font-size:.88rem;text-transform:uppercase;letter-spacing:.04em;color:#475569}.marketing-placeholder-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;width:100%;padding:8px 10px;text-align:left;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#17202a;cursor:pointer}.marketing-placeholder-item:hover{border-color:#2563eb;background:#eff6ff}.marketing-placeholder-item code{overflow:hidden;text-overflow:ellipsis;font-size:.82rem;color:#1d4ed8}.marketing-placeholder-item span{font-size:.76rem;color:#64748b;text-align:right}.marketing-placeholder-sidebar .notice{margin-top:16px}.marketing-copy-status{min-height:1.25rem;margin:.65rem 0 0;font-size:.82rem;font-weight:650;color:#166534}@media(max-width:980px){.marketing-placeholder-sidebar{position:static;max-height:none}.marketing-placeholder-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.marketing-placeholder-groups{grid-template-columns:1fr}}

/* Warenkorb-Liveabgleich */
.cart-products-card{margin-top:18px}.cart-update-row{display:flex;justify-content:flex-end;align-items:center;gap:16px;padding-top:12px}.cart-update-row .cart-reservation-notice{margin-right:auto}.cart-update-row .btn{margin-left:auto}.cart-summary p{margin:0}.cart-quantity-stepper{min-width:132px}.cart-quantity-stepper .quantity-stepper__value{min-width:34px}.cart-empty{padding-top:10px}@media(max-width:700px){.cart-summary{align-items:stretch;flex-direction:column}.cart-summary .btn,.cart-update-row .btn{width:100%;text-align:center}}
/* Sticky Header im Flex-Layout */
body.public-page.header-sticky>.top{position:sticky;top:0;z-index:950;align-self:flex-start;width:100%;box-shadow:0 4px 20px rgba(0,0,0,.12)}
/* Erweiterter Marketingeditor */
.wysiwyg-toolbar-extended{align-items:center}.wysiwyg-toolbar-extended select{width:auto;min-width:132px;padding:6px 8px}.wysiwyg-toolbar-extended button{min-width:34px}.wysiwyg-editor table{width:100%;border-collapse:collapse;margin:14px 0}.wysiwyg-editor th,.wysiwyg-editor td{border:1px solid #cbd5e1;padding:8px;white-space:normal}.wysiwyg-editor th{background:#f1f5f9}.wysiwyg-editor img{max-width:100%;height:auto;cursor:pointer;display:block;max-width:100%;height:auto;margin:12px auto;}.wysiwyg-editor pre{overflow:auto;padding:12px;border-radius:8px;background:#0f172a;color:#e2e8f0}

/* Produktkarten, Topseller und getrennte Header-Aktionen */
.product-card-link{display:block;color:inherit;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease;}
.product-card-link:hover,.product-card-link:focus-visible{transform:translateY(-3px);box-shadow:0 14px 38px rgba(15,23,42,.12);outline:none;}
.product-card{height:100%;}.product-card-media,.product-media{position:relative;}.bestseller-badge{position:absolute;top:12px;right:12px;z-index:2;background:#f59e0b;color:#111827;padding:6px 10px;border-radius:999px;font-size:.78rem;font-weight:800;box-shadow:0 4px 14px rgba(0,0,0,.14)}

.nav-account{margin-left:auto;justify-content:flex-end;padding-left:22px;border-left:1px solid color-mix(in srgb,var(--header-text) 24%,transparent);margin-left:0;}
@media(max-width:980px){.nav-cart{margin-left:auto}.nav-account{margin-left:0;padding-left:0;border-left:0;width:100%;justify-content:flex-end;width:auto;}}
@media(max-width:760px){.nav-cart,.nav-account{width:100%;justify-content:flex-start;margin-left:0;padding-left:0}.nav-cart{padding-top:12px;border-left:0;border-top:1px solid color-mix(in srgb,var(--header-text) 24%,transparent)}.nav-account{padding-top:12px;border-top:1px solid color-mix(in srgb,var(--header-text) 24%,transparent);border-top:0;padding-top:0;}}

/* Startseiten-Baukasten */
.builder-palette-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,23,42,.09)}.builder-block-card details{margin:14px 0}.builder-block-card summary{cursor:pointer;font-weight:700;padding:10px 0}.builder-order-actions{display:flex;gap:6px}.builder-order-actions form{margin:0}.builder-product-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px;max-height:260px;overflow:auto;border:1px solid #dfe3e8;border-radius:10px;padding:12px}.builder-product-picker label{display:block;padding:7px;background:#f8fafc;border-radius:7px}.builder-thumb{max-width:180px;max-height:100px;object-fit:cover;border-radius:10px}.home-hero-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(240px,.8fr);gap:35px;align-items:center}.home-hero-image{width:100%;max-height:420px;object-fit:cover;border-radius:18px}.home-block-text{font-size:1.08rem;margin:12px 0 20px}.home-image-block{display:grid;grid-template-columns:minmax(260px,1fr) minmax(0,1fr);gap:30px;align-items:center}.home-image-block>img{width:100%;max-height:480px;object-fit:cover;border-radius:18px}.home-products-grid{margin-top:22px}@media(max-width:760px){.home-hero-layout,.home-image-block{grid-template-columns:1fr}}
.page-management-overview{margin:1rem 0;grid-template-columns:repeat(3,minmax(0,1fr))}.page-management-overview .action-card{display:flex;gap:.45rem;text-decoration:none;transition:transform .16s ease,box-shadow .16s ease}.page-management-overview .action-card:hover{transform:translateY(-2px)}.page-management-overview .action-card strong{font-size:1.05rem}@media(max-width:850px){.page-management-overview{grid-template-columns:1fr}}


/* Product bulk stock action and highlighted bestseller option */
.bulk-stock-control{display:inline-flex;align-items:center;gap:.45rem;margin:0;font-size:.85rem;font-weight:700}
.bulk-stock-control input{width:92px;min-height:38px;padding:.45rem .55rem}

.featured-checkbox{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;margin:0}
.featured-checkbox small{flex-basis:100%;padding-left:1.75rem}
@media(max-width:720px){.bulk-stock-control{width:100%;justify-content:space-between}.bulk-stock-control input{flex:1;max-width:140px}}

/* Footer-Linkfarbe immer aus den öffentlichen Darstellungseinstellungen übernehmen. */
body.public-page .footer a,
body.public-page .footer a:link,
body.public-page .footer a:visited,
body.public-page .footer a:hover,
body.public-page .footer a:active,
body.public-page .footer .footer-column a,
body.public-page .footer .footer-bottom a,
body.public-page .footer [contenteditable] a {
    color: var(--footer-link) !important;
}
body.public-page .footer a:hover {
    opacity: .82;
}
/* Auch die Vorschau im Adminbereich muss die gewählte Footer-Linkfarbe zeigen. */


/* Warenkorb: Artikel einzeln entfernen */
.cart-remove-cell{width:3rem;text-align:right;vertical-align:middle}
.cart-remove-button{display:inline-grid;place-items:center;width:2rem;height:2rem;padding:0;border:1px solid var(--border,#d6dbe3);border-radius:999px;background:transparent;color:#b42318;font-size:1.45rem;line-height:1;cursor:pointer;transition:background-color .15s ease,color .15s ease,transform .15s ease}
.cart-remove-button:hover,.cart-remove-button:focus-visible{background:#fee4e2;color:#912018;transform:scale(1.06);outline:none}


/* Einzelartikelauswahl für Rücksendungen */
.return-item-selection{margin:1.25rem 0}.return-item-selection h4{margin:0 0 .75rem}.return-item-option{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.8rem;align-items:center;padding:.85rem;border:1px solid var(--border,#d7deea);border-radius:10px;margin:.55rem 0;background:var(--card-bg,#fff);cursor:pointer}.return-item-option:hover{border-color:var(--accent,#315efb)}.return-item-option.disabled{opacity:.65;cursor:not-allowed;background:#f6f7f9}.return-item-option>input{width:1.1rem;height:1.1rem}.return-item-info{display:flex;flex-direction:column;min-width:0}.return-item-info small:empty{display:none}.return-item-quantity{display:flex;align-items:center;gap:.45rem}.return-item-quantity select{width:auto;min-width:4.25rem;padding:.45rem}.return-history-items,.return-admin-items{margin:.65rem 0;padding-left:1.2rem}.return-history-items li,.return-admin-items li{margin:.25rem 0}@media(max-width:640px){.return-item-option{grid-template-columns:auto 1fr}.return-item-quantity{grid-column:2}}


/* Entfernte Warenkorbartikel erneut anbieten */
@keyframes cartUndoFadeIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}

.cart-undo-card>h2{font-size:1.05rem;margin:0 0 .75rem}
.cart-undo-list{display:grid;gap:.75rem}
.cart-undo-product{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:.75rem;border-top:1px solid var(--border,#d6dbe3)}
.cart-undo-product:first-child{padding-top:0;border-top:0}
.cart-undo-product-main{display:flex;align-items:center;gap:.85rem;min-width:0}
.cart-undo-product-main img{width:64px;height:64px;object-fit:cover;border-radius:10px;border:1px solid var(--border,#d6dbe3)}
.cart-undo-product-main div{display:flex;flex-direction:column;gap:.15rem;min-width:0}.cart-undo-product-main strong{overflow-wrap:anywhere}.cart-undo-product-main span{color:var(--muted,#667085);font-size:.92rem}
.cart-undo-product>.btn{flex:0 0 auto;white-space:nowrap}
@media(prefers-reduced-motion:reduce){.cart-undo-card{animation:none}}
@media(max-width:700px){.cart-undo-product{align-items:stretch;flex-direction:column}.cart-undo-product>.btn{width:100%;text-align:center}.cart-undo-product-main img{width:56px;height:56px}}

/* Logische Stornierungs- und Rücksendungssteuerung im Kundenkonto */
.return-action-column{display:grid;gap:1rem;align-content:start}.order-action-summary{margin-top:1rem;padding:1rem;border:1px solid var(--border,#dbe2ea);border-radius:var(--card-radius,14px);background:var(--card-bg,#fff)}.order-action-summary strong{display:block;margin-bottom:.35rem}.order-action-summary p{margin:0}.return-action-column form[hidden]{display:none!important}

/* Aktive Bestellpositionen nach Teilstornierung */
.admin-order-items{margin:0;padding:0;list-style:none;display:grid;gap:.45rem;min-width:190px}.admin-order-items li{padding:.45rem .6rem;border:1px solid var(--border,#ddd);border-radius:.55rem;background:rgba(127,127,127,.05)}.admin-order-items small,.cancelled-order-note{display:block;margin-top:.15rem}.cancelled-order-note{color:var(--muted,#666)}

/* Marketing: Auswahl vor dem Editor */
.marketing-choice-card{position:relative;display:flex;flex-direction:column;gap:12px;margin:0;min-height:250px}.marketing-choice-card h2{margin:0 0 5px;font-size:1.1rem}.marketing-choice-card p{margin:0}.marketing-choice-card .btn{margin-top:auto;align-self:flex-start}.marketing-choice-number{display:grid;place-items:center;width:34px;height:34px;border-radius:999px;background:#111827;color:#fff;font-weight:800}.marketing-choice-card select{width:100%}.marketing-editor-region{opacity:0;transform:translateY(14px);transition:opacity .28s ease,transform .28s ease}.marketing-editor-region.is-open{opacity:1;transform:none}.marketing-editor-region[hidden]{display:none}.marketing-compose-card{scroll-margin-top:20px}.marketing-placeholder-choice{border-color:#dbeafe}.marketing-placeholder-choice .marketing-choice-number{background:#2563eb}@media(max-width:980px){.marketing-choice-card{min-height:0}.marketing-choice-card .btn{margin-top:4px}}

/* Marketing: two start choices, permanent right-aligned placeholder sidebar */
.marketing-compose-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 22px;align-items:stretch;grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;}
.marketing-editor-shell{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,.75fr);gap:20px;align-items:start;grid-template-columns:minmax(0,2fr) minmax(300px,.8fr);}
.marketing-placeholder-sidebar{position:sticky;top:20px;max-height:calc(100vh - 40px);overflow:auto;justify-self:stretch;text-align:left;}
@media(max-width:980px){.marketing-compose-choice-grid{grid-template-columns:1fr;grid-template-columns:1fr;}.marketing-editor-shell{grid-template-columns:1fr;grid-template-columns:1fr;}}

/* Marketing: vier Statistik-Kacheln in einer gemeinsamen Reihe */
body.admin-page .marketing-metrics{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:18px;
 align-items:stretch;
}
body.admin-page .marketing-metrics .metric-card{min-width:0;height:100%}
@media(max-width:1000px){
 body.admin-page .marketing-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 body.admin-page .marketing-metrics{grid-template-columns:1fr}
}

/* Category search and action-price alignment */
.price-row{display:flex;align-items:baseline;gap:8px;flex-wrap:nowrap;white-space:nowrap}
.price-row .old{margin-right:0}
.price-row .sale-price{font:inherit;color:inherit}
.product-card .price-row{overflow-x:auto;scrollbar-width:none;}
.product-card .price-row::-webkit-scrollbar{display:none;}

/* Admin Einstellungen und Darstellungs-Vorschau */
.settings-section{margin:18px 0}.settings-section textarea{width:100%;resize:vertical}.settings-savebar{position:sticky;bottom:12px;z-index:20;display:flex;justify-content:flex-end;padding:12px;background:color-mix(in srgb,var(--card-bg) 92%,transparent);border:1px solid var(--card-border);border-radius:var(--card-radius);box-shadow:var(--surface-shadow)}


@media(max-width:700px){.settings-savebar .btn{width:100%}}

/* Rücksendungen: flexible Hinweis-Kachel ohne Überlagerung */


.return-history-card{position:sticky;top:20px;min-height:300px;flex:1 1 auto;position:static!important;top:auto!important;min-width:0;}
.return-processing-notice{flex:0 0 auto;border-left:4px solid #d97706;background:#fffbeb;position:static;z-index:auto;min-width:0;width:100%;box-sizing:border-box;}
.return-processing-notice-left{grid-column:1}
@media(max-width:760px){.return-action-column,.return-side-column{display:grid}.return-processing-notice-left{grid-column:auto}}

/* Rücksendungen: Hinweisbanner oberhalb der Hauptkacheln */
.return-processing-banner{
  width:100%;
  box-sizing:border-box;
  margin:0 0 1rem;
  display:grid;
  grid-template-columns:minmax(220px,.55fr) minmax(0,1.45fr);
  column-gap:1.5rem;
  align-items:start;
  border-left:4px solid #d97706;
  background:#fffbeb;
}
.return-processing-banner h3{margin:0;grid-row:1 / span 2}
.return-processing-banner p{margin:0}
.return-processing-banner .muted{margin-top:.45rem}
@media(max-width:760px){
  .return-processing-banner{grid-template-columns:1fr;gap:.55rem}
  .return-processing-banner h3{grid-row:auto}
}

/* Darstellung: gleich hohe Bedienelemente und fixierte Gesamtvorschau */




.appearance-template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px;align-items:stretch;}
.appearance-template-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;padding:14px;border:1px solid #dbe3ec;border-radius:12px;background:#f8fafc;height:100%;grid-template-rows:auto 1fr auto;}






/* Einstellungen: erläuternder Hinweis oberhalb der Gruppen */
.settings-info-note{display:flex;gap:.45rem;align-items:flex-start;margin-bottom:1rem;flex-wrap:wrap}
.settings-section h2{margin-top:0}

/* Startseiten-Baukasten erweitert */
.builder-page-head{align-items:flex-start}.builder-head-actions{display:flex;gap:8px;flex-wrap:wrap}.builder-editor-column{min-width:0}.builder-preview-column{position:sticky;top:18px}.builder-preview-card{overflow:hidden}.builder-preview-head{display:flex;justify-content:space-between;align-items:center;padding:13px 15px;border-bottom:1px solid #e2e8f0;background:#fff}.builder-preview-head div{display:flex;flex-direction:column}.builder-preview-head small{color:#64748b}.builder-preview-card iframe{display:block;width:100%;height:calc(100vh - 120px);min-height:620px;border:0;background:#fff}.builder-add-panel{margin:18px 0}.builder-list-heading{margin-top:26px}.builder-block-card.is-inactive{opacity:.68;border-style:dashed}.builder-visibility-status{font-size:.78rem;color:#64748b}.builder-block-actions form{margin:0}.icon-btn{min-width:40px;padding-inline:10px}.builder-details{margin-top:15px;border-top:1px solid #e2e8f0}.builder-details summary{padding:14px 0;cursor:pointer;font-weight:750}.builder-field-group h3{margin-top:0}.builder-form-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.builder-delete-form{margin-top:10px}.text-danger-button{border:0;background:transparent;color:#b42318;padding:5px 0;cursor:pointer;text-decoration:underline}.builder-edit-card{scroll-margin-top:15px}

.home-builder-block{background:var(--home-block-bg,#fff);color:var(--home-block-color,#17202a);padding-block:52px}.home-builder-block h1,.home-builder-block h2,.home-builder-block h3,.home-builder-block p,.home-builder-block .prose{color:inherit}.home-padding-compact{padding-block:26px}.home-padding-normal{padding-block:52px}.home-padding-large{padding-block:82px}.home-align-center{text-align:center}.home-align-right{text-align:right}.home-width-narrow>.container,.home-width-narrow>.home-block-container-full{max-width:760px;margin-inline:auto}.home-width-wide>.container{max-width:1380px}.home-block-container-full{width:100%;padding-inline:24px;box-sizing:border-box}.home-block-rounded{margin:18px auto;max-width:min(1440px,calc(100% - 32px));border-radius:22px;overflow:hidden}.home-block-bordered{border:1px solid color-mix(in srgb,var(--home-block-color,#17202a) 18%,transparent)}.home-image-left>img{order:0}.home-image-left>div{order:1}.home-image-right>img{order:2}.home-image-right>div{order:1}.home-hero-background{background-size:cover;background-position:center;color:#fff;min-height:470px;display:grid;align-items:center}.home-hero-background .home-hero-layout{grid-template-columns:minmax(0,720px)}.home-category-list{display:grid;gap:14px;margin-top:24px}.home-category-cards{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.home-category-cards a{display:grid;place-items:center;min-height:105px;padding:18px;border:1px solid currentColor;border-radius:16px;text-decoration:none;color:inherit;font-weight:800}.home-category-pills{display:flex;flex-wrap:wrap;justify-content:inherit}.home-category-pills a{padding:11px 18px;border:1px solid currentColor;border-radius:999px;text-decoration:none;color:inherit;font-weight:700}.home-feature-grid{display:grid;grid-template-columns:repeat(var(--feature-columns,3),minmax(0,1fr));gap:14px;margin-top:24px}.home-feature-item{display:flex;align-items:center;gap:10px;padding:18px;border:1px solid color-mix(in srgb,currentColor 18%,transparent);border-radius:14px;background:color-mix(in srgb,var(--home-block-bg,#fff) 92%,currentColor 8%)}.home-feature-item span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:currentColor;color:var(--home-block-bg,#fff)}.home-newsletter-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.55fr);gap:28px;align-items:center;}.home-newsletter-layout img{width:100%;max-height:300px;object-fit:cover;border-radius:16px;}.home-divider-section{padding-block:18px}.home-divider{border:0;border-top:1px solid color-mix(in srgb,var(--home-block-color,#17202a) 25%,transparent)}.home-spacer-small{height:28px}.home-spacer-medium{height:58px}.home-spacer-large{height:100px}
@media(max-width:1100px){.builder-workspace{grid-template-columns:1fr}.builder-preview-column{position:relative;top:auto}.builder-preview-card iframe{height:700px}}

@media(max-width:520px){.builder-palette{grid-template-columns:1fr}}
@media(max-width:760px){.builder-palette{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-columns:1fr;}.builder-block-summary{grid-template-columns:36px minmax(0,1fr)}.builder-block-actions{grid-column:1/-1;justify-content:flex-start}.home-feature-grid,.home-newsletter-layout{grid-template-columns:1fr;}.home-image-left>img,.home-image-right>img{order:0}.home-image-left>div,.home-image-right>div{order:1}}

/* Startseiten-Baukasten: Bausteinkarten immer einspaltig untereinander */
.builder-block-list{display:grid;gap:15px;
  grid-template-columns:minmax(0,1fr);
  gap:12px;
  align-items:start;}



.builder-block-main h3{margin:5px 0;
  margin:4px 0 2px;
  font-size:1rem;
  line-height:1.25;}
.builder-block-main small{
  display:block;
  line-height:1.35;
}
.builder-block-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;
  gap:6px;}
.builder-block-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;
  justify-content:flex-start;
  gap:5px;
  margin-top:3px;}
.builder-block-actions .btn{
  padding:7px 9px;
  min-height:34px;
  font-size:.8rem;
}
.builder-block-actions .icon-btn{
  min-width:34px;
  padding-inline:8px;
}
.builder-block-card .builder-details{
  margin-top:10px;
}
.builder-block-card .builder-details summary{
  padding:10px 0;
  font-size:.9rem;
}
.builder-block-card .builder-delete-form{
  margin-top:5px;
}
.builder-block-card .text-danger-button{
  font-size:.82rem;
}
@media(max-width:860px){
  .builder-block-list{grid-template-columns:1fr}
}

/* Zusätzliche Produktvorschauen ausschließlich auf Produkt- und Kategorieseiten */
.product-card-media{position:relative;overflow:hidden;}
.product-card-media [data-product-main-image]{transition:opacity .16s ease,transform .24s ease;}
.product-card-previews{position:absolute;left:50%;right:auto;bottom:10px;z-index:3;display:grid;grid-template-columns:repeat(3,48px);gap:7px;width:max-content;max-width:calc(100% - 20px);transform:translateX(-50%);justify-content:center;padding:5px 6px;border-radius:11px;background:rgba(255,255,255,.28);backdrop-filter:blur(5px);box-shadow:0 3px 12px rgba(0,0,0,.08);}
.product-card-preview{display:block;width:48px;aspect-ratio:1;border:2px solid rgba(255,255,255,.95);border-radius:9px;overflow:hidden;cursor:pointer;background:#fff;box-shadow:0 2px 7px rgba(0,0,0,.12);transition:transform .16s ease,border-color .16s ease;}
.product-card-preview:hover,.product-card-preview:focus-visible,.product-card-preview.is-active{transform:translateY(-2px);border-color:var(--accent,#111);outline:none;}
.product-card-preview img{display:block;width:100%;height:100%;object-fit:cover;}
.product-gallery-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:12px}
.product-gallery-admin-slot{display:flex;flex-direction:column;gap:10px;min-width:0}
.product-gallery-admin-slot img{width:100%;height:135px;object-fit:cover;border-radius:10px}
@media(max-width:760px){.product-card-previews{grid-template-columns:repeat(3,42px);}.product-card-preview{width:42px;}.product-gallery-admin-grid{grid-template-columns:1fr}}
/* Bestellabfertigung */
.fulfillment-search{display:grid;grid-template-columns:1fr auto;gap:8px;margin:16px 0}.fulfillment-order-link.active{border-color:var(--primary,#111827);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary,#111827) 14%,transparent)}.fulfillment-order-link span{display:grid;gap:3px}.fulfillment-order-link span:last-child{text-align:right}.fulfillment-order-link small{color:var(--muted,#667085)}.fulfillment-main{display:grid;gap:20px;min-width:0}.fulfillment-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.fulfillment-summary-grid h2{font-size:1.15rem;margin:.35rem 0}.fulfillment-work-grid,.fulfillment-documents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.fulfillment-checklist span{display:grid}.fulfillment-checklist small{color:var(--muted,#667085)}.fulfillment-note{margin-top:16px;padding:14px;border-radius:12px;background:var(--surface-soft,#f5f7fa)}.shipping-label-print{min-height:310px;border:2px solid #111;padding:22px;display:grid;grid-template-rows:auto 1fr auto;gap:24px;background:#fff;color:#111}.shipping-label-sender{font-size:.8rem;display:grid}.shipping-label-recipient{align-self:center;padding-left:12%}.shipping-label-recipient>span,.shipping-label-meta>span{display:block;font-size:.7rem;text-transform:uppercase;letter-spacing:.08em}.shipping-label-recipient strong{font-size:1.35rem}.shipping-label-recipient p{font-size:1.1rem;line-height:1.5}.shipping-label-meta{border-top:1px solid #111;padding-top:12px;display:grid}.delivery-note-print{background:#fff;color:#111;padding:18px;border:1px solid #bbb;min-height:310px}.delivery-note-print header{display:flex;justify-content:space-between;gap:20px;border-bottom:2px solid #111;padding-bottom:14px;margin-bottom:18px}.delivery-note-print header div{display:grid}.delivery-note-print section{margin-bottom:18px}.delivery-note-print table{width:100%;border-collapse:collapse}.delivery-note-print th,.delivery-note-print td{padding:8px;border-bottom:1px solid #ccc;text-align:left}.fulfillment-history{display:grid;gap:10px}.fulfillment-history>div{display:grid;grid-template-columns:12px 1fr;gap:10px}.fulfillment-history>div>span{width:10px;height:10px;border-radius:50%;background:var(--primary,#111827);margin-top:6px}.fulfillment-history p{display:grid;margin:0}.fulfillment-history small{color:var(--muted,#667085)}
@media(max-width:1100px){.fulfillment-summary-grid{grid-template-columns:1fr 1fr}.fulfillment-work-grid,.fulfillment-documents{grid-template-columns:1fr}}
@media(max-width:650px){.fulfillment-summary-grid{grid-template-columns:1fr}.fulfillment-heading{align-items:flex-start}.fulfillment-search{grid-template-columns:1fr}.fulfillment-order-link{font-size:.92rem}}
@media print{body.print-single-document *{visibility:hidden!important}body.print-single-document .print-target-active,body.print-single-document .print-target-active *{visibility:visible!important}.print-target-active{position:absolute!important;inset:0!important;width:100%!important;min-height:0!important;border:none!important;box-shadow:none!important}.admin-nav,.fulfillment-queue,.fulfillment-heading,.btn{display:none!important}}

/* Umsatzentwicklung: Netto-Umsatz und wirksame Stornierungen je Bestellmonat */
.chart-legend{display:flex;align-items:center;gap:14px;margin-top:6px;color:#64748b;font-size:.82rem}.chart-legend span{display:inline-flex;align-items:center;gap:6px}.chart-legend-swatch{display:inline-block;width:12px;height:12px;border-radius:0}.chart-legend-swatch.revenue{background:#16a34a}.chart-legend-swatch.cancellations{background:#dc2626}.grouped-bar-chart{gap:14px}.grouped-bar-column{min-width:72px}.bar-pair{height:100%;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:6px}.bar-series{height:100%;flex:1;min-width:24px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center}.grouped-bar-chart .bar{width:min(30px,100%);border-radius:0;min-height:0}.grouped-bar-chart .bar-revenue{background:#16a34a}.grouped-bar-chart .bar-cancellations{background:#dc2626}.grouped-bar-chart .bar-value{writing-mode:horizontal-tb;transform:none;max-height:none;overflow:visible;white-space:nowrap;font-size:.65rem;margin-bottom:5px}.grouped-bar-chart .bar[style*="height:0%"]{display:none}@media(max-width:700px){.grouped-bar-chart{overflow-x:auto;align-items:flex-end}.grouped-bar-column{flex:0 0 76px}.grouped-bar-chart .bar-value{display:none}}

.cart-reservation-notice{display:flex;align-items:center;gap:8px;min-width:0;padding:9px 12px;border:1px solid #dbe4ef;background:#f8fafc;font-size:.9rem}.cart-reservation-notice strong{white-space:nowrap}.cart-reservation-notice span{color:#64748b}@media(max-width:700px){.cart-update-row{align-items:stretch;flex-direction:column}.cart-reservation-notice{display:block;width:100%;text-align:center;line-height:1.45}.cart-reservation-notice span{display:block;text-align:center}.cart-update-row .btn{width:100%;text-align:center}}

/* Zentrale Designsteuerung */
body.public-page .card,body.public-page .product-card,body.public-page .recent-order,body.public-page .order-history{border-radius:var(--card-radius);border-width:var(--design-card-border-width,1px);box-shadow:var(--surface-shadow);}
body.public-page .card-body{padding:var(--design-card-padding,20px)}
body.public-page .account-grid{grid-template-columns:repeat(var(--account-overview-columns,3),minmax(0,1fr))}
body.public-page .grid:not(.home-products-grid){grid-template-columns:repeat(var(--product-grid-columns,3),minmax(0,1fr))}
.recent-orders-columns-2{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:stretch;gap:12px}.recent-orders-track{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.recent-orders-nav{align-self:stretch;border:1px solid var(--card-border,#e5e7eb);background:var(--card-bg,#fff);border-radius:var(--button-radius,8px);font-size:2rem;cursor:pointer}.recent-orders-nav:disabled{opacity:.3;cursor:not-allowed}.recent-orders-track .recent-order[hidden]{display:none}
.design-choice-grid{display:grid;gap:12px}.design-choice-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.design-choice-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.design-choice{position:relative;display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid #dbe2ea;border-radius:12px;cursor:pointer}.design-choice:has(input:checked){border-color:#111827;box-shadow:0 0 0 2px rgba(17,24,39,.08)}.design-choice input{position:absolute;top:10px;right:10px}.design-choice-preview{height:52px;background:#eef2f7;border:1px solid #cbd5e1}.shape-square{border-radius:0}.shape-soft{border-radius:8px}.shape-rounded{border-radius:20px}.layout-preview{height:58px;display:grid;gap:8px;align-items:stretch}.layout-preview.one{grid-template-columns:1fr}.layout-preview.two{grid-template-columns:repeat(2,1fr)}.layout-preview i{display:block;background:#eef2f7;border:1px solid #cbd5e1;border-radius:8px}.sticky-save{position:sticky;bottom:12px;display:flex;justify-content:flex-end;margin-top:18px;padding:12px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);border:1px solid #e5e7eb;border-radius:12px}
@media(max-width:900px){.design-admin-grid{grid-template-columns:1fr}.recent-orders-columns-2{grid-template-columns:36px minmax(0,1fr) 36px}.recent-orders-track{grid-template-columns:1fr}body.public-page .account-grid,body.public-page .grid:not(.home-products-grid){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.design-choice-grid-3,.design-choice-grid-2{grid-template-columns:1fr}.recent-orders-columns-2{grid-template-columns:1fr}.recent-orders-nav{display:none}.recent-orders-track{grid-template-columns:1fr}body.public-page .account-grid,body.public-page .grid:not(.home-products-grid){grid-template-columns:1fr}}


/* Erweiterte systemweite Designsteuerung */
body.public-page .container{width:min(var(--container-width),96%)}
body.public-page .section{padding-block:var(--section-space)}
body.public-page h1{font-size:calc(clamp(2rem,5vw,4.2rem) * var(--heading-scale))}
body.public-page h2{font-size:calc(clamp(1.45rem,3vw,2.25rem) * var(--heading-scale))}
body.public-page h3{font-size:calc(1.18rem * var(--heading-scale))}
body.public-page .grid,body.public-page .account-grid,body.public-page .recent-orders,body.public-page .dashboard-grid{gap:var(--design-card-gap)}
body.public-page .card,body.public-page .metric-card,body.public-page .table-wrap{border-width:var(--design-card-border-width);box-shadow:var(--surface-shadow)}
body.public-page .card-body,body.public-page .metric-card{padding:var(--design-card-padding)}
body.public-page .btn{border-radius:var(--design-button-radius);padding:var(--design-button-y) var(--design-button-x);transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,color .18s ease}
body.public-page.design-buttons-outline .btn:not(.secondary):not(.danger){background:transparent;color:var(--primary-bg);box-shadow:inset 0 0 0 2px var(--primary-bg)}
body.public-page.design-buttons-outline .btn:not(.secondary):not(.danger):hover{background:var(--primary-bg);color:var(--primary-text)}
body.public-page input,body.public-page select,body.public-page textarea{border-radius:var(--design-input-radius);padding-block:var(--design-input-y)}
body.public-page .product-image,body.public-page .product-card-image img,body.public-page .card img{border-radius:var(--design-image-radius);object-fit:var(--design-image-fit);}
body.public-page .product-image,body.public-page .product-card-image{aspect-ratio:var(--design-image-ratio);}
body.public-page .product-image{height:auto}
body.public-page.design-product-left .product-card .card-body,body.public-page.design-product-left .product-card-body{text-align:left;}
body.public-page.design-product-center .product-card .card-body,body.public-page.design-product-center .product-card-body{text-align:center;}
body.public-page.design-product-right .product-card .card-body,body.public-page.design-product-right .product-card-body{text-align:right;}
body.public-page.design-product-center .product-card .btn{margin-inline:auto;}
body.public-page .product-card .product-card-title.align-left,body.public-page .product-card .product-card-description.align-left{text-align:left!important;}
body.public-page .product-card .product-card-title.align-center,body.public-page .product-card .product-card-description.align-center{text-align:center!important;}
body.public-page .product-card .product-card-title.align-right,body.public-page .product-card .product-card-description.align-right{text-align:right!important;}
body.public-page.design-product-left .product-card .product-card-price.align-inherit{justify-content:flex-start;}
body.public-page.design-product-center .product-card .product-card-price.align-inherit{justify-content:center;}
body.public-page.design-product-right .product-card .product-card-price.align-inherit{justify-content:flex-end;}
body.public-page .product-card .product-card-price.align-left{justify-content:flex-start!important;text-align:left!important;}
body.public-page .product-card .product-card-price.align-center{justify-content:center!important;text-align:center!important;}
body.public-page .product-card .product-card-price.align-right{justify-content:flex-end!important;text-align:right!important;}
body.public-page .product-card .product-card-price.align-left.sale-position-above,body.public-page .product-card .product-card-price.align-left.sale-position-below{align-items:flex-start!important;}
body.public-page .product-card .product-card-price.align-center.sale-position-above,body.public-page .product-card .product-card-price.align-center.sale-position-below{align-items:center!important;}
body.public-page .product-card .product-card-price.align-right.sale-position-above,body.public-page .product-card .product-card-price.align-right.sale-position-below{align-items:flex-end!important;}
body.public-page.design-product-left .product-card .product-card-price.align-inherit.sale-position-above,body.public-page.design-product-left .product-card .product-card-price.align-inherit.sale-position-below{align-items:flex-start;}
body.public-page.design-product-center .product-card .product-card-price.align-inherit.sale-position-above,body.public-page.design-product-center .product-card .product-card-price.align-inherit.sale-position-below{align-items:center;}
body.public-page.design-product-right .product-card .product-card-price.align-inherit.sale-position-above,body.public-page.design-product-right .product-card .product-card-price.align-inherit.sale-position-below{align-items:flex-end;}
body.public-page .nav{min-height:var(--design-header-height)}
body.public-page.design-header-center .nav{justify-content:center;flex-direction:column;padding-block:12px}

body.public-page.design-header-center .nav-main,body.public-page.design-header-center .nav-account{justify-content:center;margin:0;padding:0;border:0}
body.public-page.design-footer-center .footer,body.public-page.design-footer-center .footer .split{text-align:center;justify-content:center}
body.public-page.design-dividers-subtle .home-builder-block+.home-builder-block,body.public-page.design-dividers-subtle main>.section+.section{border-top:1px solid var(--card-border);padding-top:var(--section-space,48px);}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-0 *,body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-0 *::before,body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-0 *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-none .card,body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-none .btn{transition-duration:.08s;transition-timing-function:linear}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-subtle .card,body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-subtle .btn{transition-duration:.2s;transition-timing-function:ease-out}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-lively .card,body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-lively .btn{transition-duration:.45s;transition-timing-function:cubic-bezier(.22,1,.36,1)}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-lift .card:hover{transform:translateY(-6px)}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-scale .card:hover{transform:scale(1.025)}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-tilt .card:hover{transform:translateY(-3px) rotate(-.6deg)}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-slide .card:hover{transform:translateX(6px)}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-glow .card:hover{box-shadow:0 18px 46px rgba(15,23,42,.2)}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-image_zoom .product-card:hover{transform:none;}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-image_zoom .product-card .product-card-image img{transition:transform .35s ease;}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-image_zoom .product-card:hover .product-card-image img{transform:scale(1.055);}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-lively .btn:hover{transform:translateY(-2px);box-shadow:0 9px 20px rgba(15,23,42,.18)}
.motion-preview-row{margin-top:16px}.motion-preview-card small{color:#64748b}.motion-design-settings[data-enabled="0"] .motion-preview-card{transition:none!important;transform:none!important;box-shadow:none!important}.motion-design-settings[data-enabled="1"][data-motion="none"] .motion-preview-card{transition-duration:.08s;transition-timing-function:linear}.motion-design-settings[data-enabled="1"][data-motion="subtle"] .motion-preview-card{transition-duration:.2s;transition-timing-function:ease-out}.motion-design-settings[data-enabled="1"][data-motion="lively"] .motion-preview-card{transition-duration:.45s;transition-timing-function:cubic-bezier(.22,1,.36,1)}.motion-design-settings[data-enabled="1"][data-effect="lift"] .motion-preview-card:hover{transform:translateY(-6px)}.motion-design-settings[data-enabled="1"][data-effect="scale"] .motion-preview-card:hover{transform:scale(1.025)}.motion-design-settings[data-enabled="1"][data-effect="tilt"] .motion-preview-card:hover{transform:translateY(-3px) rotate(-.6deg)}.motion-design-settings[data-enabled="1"][data-effect="slide"] .motion-preview-card:hover{transform:translateX(6px)}.motion-design-settings[data-enabled="1"][data-effect="glow"] .motion-preview-card:hover{box-shadow:0 18px 46px rgba(15,23,42,.2)}

/* Design live preview layout — restored after motion settings update */


.design-admin-grid>section{margin:0;min-width:0}
.design-subgrid{margin-top:16px}





























































@media(max-width:1180px){.design-workspace{grid-template-columns:1fr}.design-admin-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.design-admin-grid{grid-template-columns:1fr}}
/* Erweiterte Bewegungs- und Interaktionseffekte */
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-float .card:hover{transform:translateY(-8px);box-shadow:0 18px 38px rgba(15,23,42,.16)}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-tilt_3d .card{transform-style:preserve-3d;perspective:900px}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-tilt_3d .card:hover{transform:perspective(900px) rotateX(2deg) rotateY(-3deg) translateY(-3px)}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-border_focus .card:hover{transform:none;border-color:currentColor;box-shadow:0 0 0 2px color-mix(in srgb,currentColor 28%,transparent)}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-image_lift .product-card:hover{transform:none;}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-image_lift .product-card .product-card-image{transition:transform .35s ease,box-shadow .35s ease;}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-image_lift .product-card:hover .product-card-image{transform:translateY(-6px);box-shadow:0 16px 28px rgba(15,23,42,.16);}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-content_reveal .product-card:hover{transform:none;}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-content_reveal .product-card .product-card-body{transition:transform .35s ease,opacity .35s ease;}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-content_reveal .product-card:hover .product-card-body{transform:translateY(-5px);opacity:1;}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-soft_pulse .card:hover{animation:design-soft-pulse .8s ease-in-out both}
@keyframes design-soft-pulse{0%{transform:scale(1)}45%{transform:scale(1.018)}100%{transform:scale(1.008)}}
.motion-design-settings[data-enabled="1"][data-effect="float"] .motion-preview-card:hover{transform:translateY(-8px);box-shadow:0 18px 38px rgba(15,23,42,.16)}
.motion-design-settings[data-enabled="1"][data-effect="tilt_3d"] .motion-preview-card:hover{transform:perspective(900px) rotateX(2deg) rotateY(-3deg) translateY(-3px)}



.motion-design-settings[data-enabled="1"][data-effect="soft_pulse"] .motion-preview-card:hover{animation:design-soft-pulse .8s ease-in-out both}

/* Design-Audit 2026-07: eindeutige Layout-, Header-, Vorschau- und Motion-Regeln */
.design-admin-form{min-width:0}


.design-admin-grid>.sticky-save{grid-column:1/-1;position:sticky;bottom:12px;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;padding:12px 14px;background:rgba(255,255,255,.96);border:1px solid #dbe2ea;border-radius:12px;box-shadow:0 10px 30px rgba(15,23,42,.10);backdrop-filter:blur(10px)}


/* Öffentlicher Header: klare drei Spalten statt konkurrierender Flex-Regeln */

body.public-page.design-header-center .header-primary{flex-direction:column;gap:10px;flex:none;display:contents;}
body.public-page.design-header-center .brand{grid-column:1;justify-self:start;align-self:center;white-space:nowrap}


body.public-page.design-header-center .nav-cart,body.public-page.design-header-center .nav-account{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:3px;margin:0;padding:0;border:0}
body.public-page.design-header-center .nav-cart a,body.public-page.design-header-center .nav-account a{white-space:nowrap}

/* Live-Vorschau bildet alle angebotenen Optionen ab */





















/* Funktionsfähige Beispielkachel für sämtliche Effekttypen */
.motion-preview-card{display:grid;gap:4px;max-width:260px;padding:18px;border:1px solid #dbe2ea;background:#fff;transition:transform .3s ease,box-shadow .3s ease;max-width:280px;overflow:hidden;padding:0;transform-origin:center;will-change:transform;transition-property:transform,box-shadow,border-color,opacity;}
.motion-preview-image{height:105px;background:linear-gradient(135deg,#dbeafe,#f5d0fe);transition:transform inherit,box-shadow inherit}
.motion-preview-content{display:grid;gap:4px;padding:16px;transition:transform inherit,opacity inherit}
.motion-design-settings[data-enabled="1"][data-effect="image_zoom"] .motion-preview-card:hover{transform:none}.motion-design-settings[data-enabled="1"][data-effect="image_zoom"] .motion-preview-card:hover .motion-preview-image{transform:scale(1.08)}
.motion-design-settings[data-enabled="1"][data-effect="image_lift"] .motion-preview-card:hover{transform:translateY(-5px);box-shadow:0 16px 28px rgba(15,23,42,.16);transform:none;box-shadow:none;}.motion-design-settings[data-enabled="1"][data-effect="image_lift"] .motion-preview-card:hover .motion-preview-image{transform:translateY(-7px);box-shadow:0 14px 26px rgba(15,23,42,.18)}
.motion-design-settings[data-enabled="1"][data-effect="content_reveal"] .motion-preview-card:hover{transform:translateY(-5px);opacity:.86;transform:none;opacity:1;}.motion-design-settings[data-enabled="1"][data-effect="content_reveal"] .motion-preview-card:hover .motion-preview-content{transform:translateY(-6px);opacity:.78}
.motion-design-settings[data-enabled="1"][data-effect="border_focus"] .motion-preview-card:hover{border-color:#111827;box-shadow:0 0 0 2px rgba(17,24,39,.18);transform:none;border-color:#111827;box-shadow:0 0 0 2px rgba(17,24,39,.18);}


/* Live-Vorschau: Motion-Effekt auf Produktkarten */




@media(max-width:900px){body.public-page.design-header-center .top .nav{display:flex;flex-direction:column;align-items:stretch}.design-admin-grid>.sticky-save{position:static}}


/* Design-Korrektur: Header wird ausschließlich durch Header-Einstellungen gesteuert. */
body.public-page .top,
body.public-page .top *{animation:none!important;transform:none!important}
body.public-page .top .nav{min-height:var(--design-header-height);display:grid;align-items:center;gap:20px;padding-block:8px}
body.public-page.design-header-split .top .nav{grid-template-columns:minmax(0,1fr) auto}
body.public-page.design-header-split .header-primary{display:flex;align-items:center;gap:28px;min-width:0}
body.public-page.design-header-split .brand{flex:0 0 auto;white-space:nowrap}
body.public-page.design-header-split .nav-main{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:10px 18px;min-width:0;margin:0;padding:0;border:0}
body.public-page.design-header-split .header-actions{display:flex;align-items:center;justify-content:flex-end;gap:16px;min-width:max-content}
body.public-page.design-header-split .nav-cart,
body.public-page.design-header-split .nav-account{display:flex;align-items:center;gap:12px;margin:0;padding:0;border:0}
body.public-page.design-header-center .top .nav{display:grid;grid-template-columns:minmax(150px,1fr) minmax(0,2fr) minmax(150px,1fr);align-items:center;min-height:var(--design-header-height);padding-block:8px;gap:20px;grid-template-columns:minmax(150px,1fr) minmax(280px,2fr) minmax(150px,1fr);}


body.public-page.design-header-center .nav-main{grid-column:2;justify-self:center;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px 18px;margin:0;padding:0;border:0;grid-column:2;justify-self:center;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 18px;margin:0;padding:0;border:0;text-align:center;}
body.public-page.design-header-center .header-actions{grid-column:3;justify-self:end;align-self:center;display:flex;flex-direction:column;align-items:flex-end;gap:3px;min-width:max-content;grid-column:3;justify-self:end;align-self:center;display:flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:max-content;}
body.public-page.design-header-center .nav-cart,
body.public-page.design-header-center .nav-account{display:flex;flex-direction:column;align-items:flex-end;gap:3px;margin:0;padding:0;border:0}
body.public-page .top a{white-space:nowrap}

/* Animationen: einheitliche Ziele auf Start-, Produkt-, Kategorie- und Produktdetailseiten. */
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1 main :is(.product-card-link,.card){
 transition-property:transform,box-shadow,border-color,opacity;
 will-change:transform;
}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-none main :is(.product-card-link,.card){transition-duration:.08s;transition-timing-function:linear;}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-subtle main :is(.product-card-link,.card){transition-duration:.2s;transition-timing-function:ease-out;}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-lively main :is(.product-card-link,.card){transition-duration:.45s;transition-timing-function:cubic-bezier(.22,1,.36,1);}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-lift main :is(.product-card-link,.card):hover{transform:translateY(-6px);}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-scale main :is(.product-card-link,.card):hover{transform:scale(1.025);}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-tilt main :is(.product-card-link,.card):hover{transform:translateY(-3px) rotate(-.6deg);}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-slide main :is(.product-card-link,.card):hover{transform:translateX(6px);}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-glow main :is(.product-card-link,.card):hover{transform:none;box-shadow:0 18px 46px rgba(15,23,42,.2);}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-float main :is(.product-card-link,.card):hover{transform:translateY(-8px);box-shadow:0 18px 38px rgba(15,23,42,.16);}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-tilt_3d main :is(.product-card-link,.card){transform-style:preserve-3d;perspective:900px;}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-tilt_3d main :is(.product-card-link,.card):hover{transform:perspective(900px) rotateX(2deg) rotateY(-3deg) translateY(-3px);}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-border_focus main :is(.product-card-link,.card):hover{transform:none;border-color:currentColor;box-shadow:0 0 0 2px color-mix(in srgb,currentColor 28%,transparent);}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-soft_pulse main :is(.product-card-link,.card):hover{animation:design-soft-pulse .8s ease-in-out both;}

body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-image_zoom main .product-card-link .product-card-image img{transition:transform .35s ease;}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-image_zoom main .product-card-link:hover .product-card-image img{transform:scale(1.055);}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-image_lift main .product-card-link:hover{transform:none;box-shadow:inherit;}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-image_lift main .product-card-image{transition:transform .35s ease,box-shadow .35s ease;}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-image_lift main .product-card-link:hover .product-card-image{transform:translateY(-6px);box-shadow:0 16px 28px rgba(15,23,42,.16);}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-content_reveal main .product-card-link:hover{transform:none;}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-content_reveal main .product-card-link .card-body{transition:transform .35s ease,opacity .35s ease;}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-content_reveal main .product-card-link:hover .card-body{transform:translateY(-5px);opacity:.82;}

@media(max-width:900px){
 body.public-page.design-header-split .top .nav,
 body.public-page.design-header-center .top .nav{display:flex;flex-direction:column;align-items:stretch;gap:10px}
 body.public-page.design-header-split .header-primary,
 body.public-page.design-header-center .header-primary{display:flex;flex-direction:column;align-items:center;gap:10px}
 body.public-page.design-header-split .header-actions,
 body.public-page.design-header-center .header-actions{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px}
 body.public-page.design-header-split .nav-main,
 body.public-page.design-header-center .nav-main,
 body.public-page.design-header-split .nav-cart,
 body.public-page.design-header-center .nav-cart,
 body.public-page.design-header-split .nav-account,
 body.public-page.design-header-center .nav-account{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;text-align:center}
}


/* Typografie & Größen: zentral im Designbereich */
.design-typography-settings{grid-column:1/-1}


















/* Design-Formular: geordnete Checkboxen und zuverlässige Produktanimationen. */
.motion-master-toggle{display:flex;align-items:flex-start;gap:10px;width:100%;margin:14px 0 18px;padding:14px 16px;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc;cursor:pointer}
.motion-master-toggle>input[type="checkbox"]{flex:0 0 auto;width:18px;height:18px;margin:2px 0 0}
.motion-master-toggle>span{display:grid;gap:3px;min-width:0}.motion-master-toggle small{color:#64748b}
.product-visibility-table{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;background:#fff}
.product-visibility-option{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:10px;min-height:82px;padding:14px 16px;border-bottom:1px solid #e5e7eb;cursor:pointer}
.product-visibility-option:nth-child(odd){border-right:1px solid #e5e7eb}.product-visibility-option:nth-last-child(-n/**/+2){border-bottom:0}.product-visibility-option:last-child:nth-child(odd){border-bottom:0}
.product-visibility-control{display:flex;align-items:flex-start;justify-content:center}.product-visibility-control input[type="checkbox"]{width:18px;height:18px;margin:2px 0 0}
.product-visibility-option>span:last-child{display:grid;gap:4px;min-width:0}.product-visibility-option small{color:#64748b;line-height:1.35}
@media(max-width:720px){.product-visibility-table{grid-template-columns:1fr}.product-visibility-option:nth-child(odd){border-right:0}.product-visibility-option:nth-last-child(-n/**/+2){border-bottom:1px solid #e5e7eb}.product-visibility-option:last-child{border-bottom:0}}

/* Reale Produktkarten verwenden .product-card-media, nicht .product-card-image. */
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1 main .product-card-link,
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1 main .product-card-link .product-card-media,
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1 main .product-card-link .product-card-media img,
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1 main .product-card-link .card-body{transition-property:transform,box-shadow,border-color,opacity;transition-duration:.2s;transition-timing-function:ease-out;}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-none main .product-card-link :is(.product-card-media,.product-card-media img,.card-body){transition-duration:.08s;transition-timing-function:linear;}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-lively main .product-card-link :is(.product-card-media,.product-card-media img,.card-body){transition-duration:.45s;transition-timing-function:cubic-bezier(.22,1,.36,1);}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-image_zoom main .product-card-link:hover{transform:none;box-shadow:inherit;}
body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-image_zoom main .product-card-link:hover .product-card-media img{transform:scale(1.065);}

body.public-page:is(.page-home,.page-products,.page-category,.page-product,.page-shop-page).design-motion-enabled-1.design-motion-effect-image_lift main .product-card-link:hover .product-card-media{transform:translateY(-6px);box-shadow:0 16px 28px rgba(15,23,42,.16);}




/* Separate typography controls and product-card sale-price layout */
body.public-page .top .brand,body.public-page .top .nav-links a{font-size:var(--header-font-size)}
body.public-page .product-card-title{font-size:var(--product-title-font-size);}
body.public-page .product-card-category{font-size:var(--product-category-font-size);}
body.public-page .product-card-price{font-size:var(--product-price-font-size);}
body.public-page .product-card-price .sale-price{font-size:var(--product-sale-price-font-size);font-weight:700;}
.product-card-price.sale-position-before .sale-price{order:1;}.product-card-price.sale-position-before .old{order:2;}
.product-card-price.sale-position-after .old{order:1;}.product-card-price.sale-position-after .sale-price{order:2;}
.product-card-price.sale-position-above,.product-card-price.sale-position-below{flex-direction:column;align-items:inherit;gap:2px;white-space:normal;}
.product-card-price.sale-position-above .sale-price{order:1;}.product-card-price.sale-position-above .old{order:2;}
.product-card-price.sale-position-below .old{order:1;}.product-card-price.sale-position-below .sale-price{order:2;}
.product-card-price.align-center.sale-position-above,.product-card-price.align-center.sale-position-below{align-items:center;}
.product-card-price.align-right.sale-position-above,.product-card-price.align-right.sale-position-below{align-items:flex-end;}













































































































/* Topseller badge placement and product image fade synchronization */
.bestseller-badge.bestseller-position-top_left{left:12px;right:auto}
.bestseller-badge.bestseller-position-top_right{right:12px;left:auto}
.bestseller-text-badge{position:static;display:inline-flex;width:max-content;margin:0 0 8px;padding:6px 10px;background:#f59e0b;color:#111827;border-radius:999px;font-size:.78rem;font-weight:800;box-shadow:0 4px 14px rgba(0,0,0,.14)}
.bestseller-text-badge.bestseller-position-before_text{float:left;margin:1px 9px 5px 0}
.bestseller-text-badge.bestseller-position-above_text{display:flex;float:none;margin-bottom:8px}
.product-card-media.product-image-fade-tenth::after,.product-card-media.product-image-fade-fifth::after{content:"";position:absolute;z-index:1;left:0;right:0;bottom:0;pointer-events:none;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 92%);}
.product-card-media.product-image-fade-tenth::after{height:10%;}
.product-card-media.product-image-fade-fifth::after{height:20%;}
.product-card-media .bestseller-badge,.product-card-media .product-card-previews{z-index:3;}

/* Preview badge uses exactly the public product-card badge appearance */









/* Header logo, scoped body copy typography and corrected product price sizing */
.header-brand-logo{display:block;width:auto;height:auto;max-height:var(--design-header-logo-height);max-width:min(240px,26vw);object-fit:contain}
.brand:has(.header-brand-logo){display:flex;align-items:center;line-height:1}
.product-card-price{font-size:inherit;}
.product-card-price .old{font-size:var(--product-price-font-size);}
.product-card-price>span:not(.old):not(.sale-price){font-size:var(--product-price-font-size);}
.product-card-price .sale-price{font-size:var(--product-sale-price-font-size);}





.current-header-logo{display:flex;align-items:center;gap:14px;margin-top:10px}.current-header-logo img{max-width:180px;max-height:54px;object-fit:contain;border:1px solid #e5e7eb;padding:6px;background:#fff}


/* Eindeutige Preisrollen: Normalpreis, Aktionspreis und aktueller Preis ohne Aktion. */
body.public-page .product-card-price .product-price-original,
body.public-page .product-card-price .product-price-current{
  font-size:var(--product-price-font-size);
}

body.public-page .product-card-price .product-price-action{
  font-size:var(--product-sale-price-font-size);
  font-weight:700;
  color:inherit;
}





















/* Preiszuordnung nach Bedienbezeichnung: Normalpreis = aktueller Verkaufspreis, Aktionspreis = durchgestrichener Vergleichspreis. */
body.public-page .product-card-price .product-price-current,
body.public-page .product-card-price .product-price-action{font-size:var(--product-price-font-size);}
body.public-page .product-card-price .product-price-original{
  text-decoration:line-through;
  color:#6b7280;
  font-weight:400;font-size:var(--product-sale-price-font-size);}



/* Gemeinsame Badge-Platzierung. DOM-Reihenfolge legt Priorität fest: Topseller vor Reduziert. */



.product-card-badges .bestseller-badge{position:static;}
.reduced-badge{background:#dc2626;color:#fff}
.product-card-text-badges{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:8px;}
.product-card-text-badges.badge-position-before_text{float:left;margin:1px 9px 5px 0;}
.product-card-text-badges.badge-position-above_text{float:none;width:100%;margin:0 0 8px;}
.product-card-text-badges .bestseller-badge{position:static;display:inline-flex;width:max-content;}













/* Preisreihenfolge nach Shopdefinition: Aktionspreis = durchgestrichener Vergleichspreis. */
.product-card-price.sale-position-before .product-price-original{order:1;}
.product-card-price.sale-position-before .product-price-action{order:2;}
.product-card-price.sale-position-after .product-price-action{order:1;}
.product-card-price.sale-position-after .product-price-original{order:2;}
.product-card-price.sale-position-above .product-price-original{order:1;}
.product-card-price.sale-position-above .product-price-action{order:2;}
.product-card-price.sale-position-below .product-price-action{order:1;}
.product-card-price.sale-position-below .product-price-original{order:2;}









/* Badges ausschließlich an der oberen Bildkante: kantig und ohne Außenabstand. */
.product-card-badges{position:absolute;z-index:4;display:grid;grid-auto-rows:1fr;top:0;gap:0;align-items:stretch;width:max-content;min-width:92px;}
.product-card-badges.badge-position-top_left{left:0;right:auto;}
.product-card-badges.badge-position-top_right{align-items:flex-end;right:0;left:auto;}
.product-card-badges .bestseller-badge,
.product-card-badges .reduced-badge{border-radius:0;margin:0;box-shadow:none;display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:30px;box-sizing:border-box;text-align:center;white-space:nowrap;}





/* Design: separate Footer-Typografie */
body.public-page .footer{font-size:var(--footer-font-size,14px)}



/* Startseiten-Baukasten Pro */
.builder-strategy-card{margin:18px 0}.builder-strategy-flow{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.builder-strategy-flow span{padding:9px 12px;border-radius:999px;background:#f1f5f9;font-weight:700;font-size:.86rem}.builder-field-group{padding:18px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:18px;background:#fff;}.builder-field-groups{display:grid;gap:18px;margin:15px 0;display:grid;gap:16px;margin-top:18px;}.builder-image-placeholder{display:grid;place-items:center;min-height:100px;border:1px dashed #cbd5e1;border-radius:10px;color:#64748b;display:grid;place-items:center;min-height:100px;border:1px dashed #cbd5e1;border-radius:12px;color:#64748b;background:#f8fafc;}.builder-check-row{display:flex;gap:18px;flex-wrap:wrap;display:flex;flex-wrap:wrap;gap:18px;}.builder-check-row label{font-weight:600;display:inline-flex;align-items:center;gap:7px;}
.home-eyebrow{margin:0 0 8px!important;text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;font-weight:800;opacity:.72}.home-builder-block .btn{margin-top:18px}.home-cta-block .home-image-block{padding:clamp(22px,4vw,48px);border-radius:20px;background:color-mix(in srgb,var(--home-block-bg,#fff) 88%,var(--home-block-color,#17202a) 12%)}
.home-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-top:26px}.home-stat-item{padding:26px 18px;border:1px solid color-mix(in srgb,currentColor 18%,transparent);background:color-mix(in srgb,var(--home-block-bg,#fff) 94%,currentColor 6%);text-align:center}.home-stat-item strong{display:block;font-size:clamp(1.7rem,4vw,3rem);line-height:1;margin-bottom:9px}.home-stat-item span{font-weight:700;opacity:.78}
.home-stars{letter-spacing:.1em;font-size:.85rem}
.home-faq-item summary::after{content:"+";font-size:1.25rem;}.home-faq-item[open] summary::after{content:"−";}
.home-newsletter-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;}.home-newsletter-input-row .btn{margin:0;}
.home-reveal-fade,.home-reveal-rise{animation:homeBlockReveal .65s ease both}.home-reveal-rise{animation-name:homeBlockRise}@keyframes homeBlockReveal{from{opacity:0}to{opacity:1}}@keyframes homeBlockRise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@media(max-width:760px){.builder-strategy-flow{justify-content:flex-start}.home-newsletter-input-row{grid-template-columns:1fr;}.home-newsletter-input-row .btn{width:100%;}}
@media(prefers-reduced-motion:reduce){.home-reveal-fade,.home-reveal-rise{animation:none}}

/* Startseiten-Experience-System */
.home-faq-list{margin-top:24px;text-align:left;display:grid;gap:12px;max-width:900px;margin-inline:auto;}.home-faq-item{border:var(--design-card-border-width,1px) solid color-mix(in srgb,currentColor 18%,transparent);border-radius:var(--card-radius,var(--radius,12px));background:var(--card-bg,#fff);overflow:hidden;box-shadow:var(--surface-shadow);}.home-faq-item summary{display:flex;justify-content:space-between;gap:18px;position:relative;cursor:pointer;list-style:none;padding:19px 56px 19px 20px;font-weight:750;}.home-faq-item summary::-webkit-details-marker{display:none;}.home-faq-item summary:after{content:"+";position:absolute;right:20px;top:50%;translate:0 -50%;font-size:24px;font-weight:400;}.home-faq-item[open] summary:after{content:"−";}.home-faq-item[open] summary{border-bottom:1px solid rgba(15,23,42,.1);}.home-faq-item>div{opacity:.84;padding:18px 20px;line-height:1.7;background:rgba(248,250,252,.75);}
.home-testimonial figcaption{font-weight:800;display:grid;gap:2px;}.home-testimonial figcaption small{color:#64748b;}.home-stars,.review-stars{color:#d97706;letter-spacing:.08em;font-size:1.08rem}.verified-review:before{content:"Verifizierter Kauf";justify-self:start;padding:4px 8px;border-radius:999px;background:#ecfdf5;color:#047857;font-size:.72rem;font-weight:750}.home-empty-proof{text-align:center;padding:var(--design-card-padding,20px);border:var(--design-card-border-width,1px) dashed color-mix(in srgb,currentColor 20%,transparent);border-radius:var(--card-radius,var(--radius,12px));background:var(--card-bg,#fff);box-shadow:var(--surface-shadow)}
.home-newsletter-form{display:grid;gap:12px;margin-top:18px;}.home-newsletter-input-row input{min-height:48px;}.newsletter-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;}
.review-moderation-list{display:grid;gap:16px}.review-moderation-card h2{margin-bottom:3px}.admin-filter-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.admin-filter-tabs a{padding:9px 13px;border:1px solid rgba(15,23,42,.14);border-radius:999px;text-decoration:none}.admin-filter-tabs a.active{background:#111827;color:#fff}.card-table-wrap{overflow:auto;background:#fff;border:1px solid rgba(15,23,42,.12);border-radius:14px}.card-table-wrap table{width:100%;border-collapse:collapse}.card-table-wrap th,.card-table-wrap td{padding:14px;text-align:left;border-bottom:1px solid rgba(15,23,42,.09);vertical-align:middle}.card-table-wrap td small{display:block;color:#64748b}.inline-form{display:inline;display:flex;gap:8px;align-items:center;}.inline-form input[type=number]{width:80px}.account-review-card textarea{min-height:130px}
@media(max-width:680px){.home-newsletter-input-row{grid-template-columns:1fr;}.inline-form{align-items:stretch;flex-direction:column}.inline-form input[type=number]{width:100%}}
.builder-system-note{padding:16px;border:1px solid rgba(14,116,144,.25);border-radius:12px;background:#ecfeff}.builder-system-note p{margin:.4rem 0 0;color:#475569}.home-admin-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:18px 0}.home-admin-metrics article{display:grid;gap:4px}.home-admin-metrics strong{font-size:2rem}

/* Admin navigation: collapsible workspace */



.sidebar-head-copy{display:grid;gap:3px;min-width:0}.sidebar-head-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.sidebar-toggle:hover{background:#f1f5f9}.sidebar-toggle:focus-visible{outline:3px solid rgba(37,99,235,.25);outline-offset:2px}




body.admin-page.admin-sidebar-collapsed .sidebar nav{gap:6px}
body.admin-page.admin-sidebar-collapsed .sidebar-group{border-top:0;margin-top:0;padding-top:0}
body.admin-page.admin-sidebar-collapsed .sidebar a{justify-content:center;padding:10px 8px;min-height:40px}
body.admin-page.admin-sidebar-collapsed .sidebar a span{font-size:1.1rem}
body.admin-page.admin-sidebar-collapsed .sidebar-toggle{transform:rotate(180deg)}
@media(max-width:760px){body.admin-page .admin-layout,body.admin-page.admin-sidebar-collapsed .admin-layout{grid-template-columns:1fr}body.admin-page.admin-sidebar-collapsed .sidebar{padding:14px 18px}body.admin-page.admin-sidebar-collapsed .sidebar-head{justify-content:space-between;border-bottom:1px solid #e5e7eb}body.admin-page.admin-sidebar-collapsed .sidebar-head-copy{display:grid}body.admin-page.admin-sidebar-collapsed .sidebar nav{display:none}.sidebar-toggle{transform:none!important}}

/* Modern product detail page */
.product-detail-section{padding:clamp(28px,5vw,64px) 0;}
.product-detail-visual{}.product-detail-media{overflow:hidden;border:1px solid var(--card-border);border-radius:var(--design-image-radius);background:var(--product-detail-media-bg,color-mix(in srgb,var(--card-bg) 90%,#eef2f7));box-shadow:var(--surface-shadow);}
.product-detail-image{display:block;width:100%;aspect-ratio:1/1;object-fit:var(--product-detail-image-fit,contain);background:#f8fafc;}
.product-detail-sale-badge{position:absolute;top:0;left:0;z-index:3;display:inline-flex;align-items:center;justify-content:center;width:96px;height:30px;box-sizing:border-box;padding:0 10px;background:#dc2626;color:#fff;font-size:.76rem;font-weight:850;line-height:1;letter-spacing:.035em;text-transform:uppercase;white-space:nowrap;}.product-detail-media .bestseller-badge{top:0;right:0;display:inline-flex;align-items:center;justify-content:center;width:96px;height:30px;box-sizing:border-box;padding:0 10px;border-radius:0;box-shadow:none;line-height:1;white-space:nowrap;}
.product-detail-category{font-size:.78rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);}
body.public-page .product-detail-heading h1{margin:0;font-size:var(--product-detail-title-size,34px);line-height:1.08;letter-spacing:-.025em;}.product-detail-description{font-size:var(--product-detail-description-size,16px);line-height:1.65;color:color-mix(in srgb,var(--body-text) 82%,var(--muted));max-width:62ch;}.product-detail-description br+br{display:block;content:"";margin-top:.55rem;}
.product-detail-price{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:0;}.product-detail-current-price{font-size:var(--product-detail-price-size,30px);font-weight:850;letter-spacing:-.025em;}.product-detail-compare-price{font-size:1rem;color:var(--muted);text-decoration:line-through;}.product-detail-tax-note{font-size:.78rem;color:var(--muted);}
.product-detail-stock{display:flex;align-items:center;gap:9px;font-weight:750;font-size:.92rem;}.product-detail-stock>span{width:9px;height:9px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px color-mix(in srgb,currentColor 14%,transparent);}.product-detail-stock.is-unavailable{color:#b91c1c;}
.product-detail-buybox label{font-size:.82rem;margin-bottom:6px;}.product-detail-buybox .quantity-stepper{margin:0;}.product-detail-buybox .product-cart-button{min-height:48px;width:100%;font-size:1rem;}.product-detail-buybox .product-cart-button:disabled{opacity:.55;cursor:not-allowed;}

.product-detail-meta{margin:0;padding-top:4px;display:grid;gap:0;border-top:1px solid var(--card-border);}.product-detail-meta>div{display:grid;grid-template-columns:minmax(110px,.42fr) 1fr;gap:14px;padding:10px 0;border-bottom:1px solid var(--card-border);font-size:.84rem;}.product-detail-meta dt{color:var(--muted);}.product-detail-meta dd{margin:0;font-weight:650;overflow-wrap:anywhere;}
@media(max-width:900px){.product-detail-layout{grid-template-columns:1fr;gap:28px;}.product-detail-image{aspect-ratio:auto;}}
@media(max-width:560px){.product-detail-section{padding-top:20px;}body.public-page .product-detail-heading h1{font-size:var(--product-detail-title-size,34px);}.product-detail-description{font-size:var(--product-detail-description-size,16px);line-height:1.55;}.product-detail-buybox{grid-template-columns:1fr;}.product-detail-benefits{grid-template-columns:1fr;}.product-detail-meta>div{grid-template-columns:1fr;gap:2px;}.product-detail-price-block{padding:14px 0;}}

/* Product detail: use the configured action-price position.
   In this shop's terminology, the crossed-out comparison price is the action price. */
body.public-page.design-sale-position-before .product-detail-price .product-detail-compare-price{order:1;}
body.public-page.design-sale-position-before .product-detail-price .product-detail-current-price{order:2;}
body.public-page.design-sale-position-after .product-detail-price .product-detail-current-price{order:1;}
body.public-page.design-sale-position-after .product-detail-price .product-detail-compare-price{order:2;}
body.public-page.design-sale-position-above .product-detail-price,
body.public-page.design-sale-position-below .product-detail-price{flex-direction:column;align-items:flex-start;gap:2px;}
body.public-page.design-sale-position-above .product-detail-price .product-detail-compare-price{order:1;}
body.public-page.design-sale-position-above .product-detail-price .product-detail-current-price{order:2;}
body.public-page.design-sale-position-below .product-detail-price .product-detail-current-price{order:1;}
body.public-page.design-sale-position-below .product-detail-price .product-detail-compare-price{order:2;}

/* Collapsing the admin menu gives the gained width to the live preview, not to the settings cards. */

body.admin-page.admin-sidebar-collapsed .design-admin-grid{width:100%;max-width:760px}

@media(max-width:1320px){body.admin-page.admin-sidebar-collapsed .design-workspace{grid-template-columns:minmax(0,1fr) minmax(430px,.9fr)}}
@media(max-width:1180px){body.admin-page.admin-sidebar-collapsed .design-workspace{grid-template-columns:1fr}body.admin-page.admin-sidebar-collapsed .design-admin-grid{max-width:none}}

/* Product review summary */
.product-review-summary{display:grid;grid-template-columns:auto 1fr;column-gap:10px;row-gap:2px;align-items:center;padding:14px 16px;border:1px solid color-mix(in srgb,#d97706 24%,var(--card-border));border-radius:12px;background:color-mix(in srgb,#fffbeb 74%,var(--card-bg));color:var(--body-text)}

.product-review-summary strong{font-size:.9rem;line-height:1.35}
.product-review-summary small{font-size:.76rem;color:var(--muted)}

/* Product detail gallery base styles; layout dimensions are owned by the final gallery block below. */
.product-detail-placeholder{display:grid;place-items:center;color:var(--muted);padding:24px;text-align:center;aspect-ratio:auto;}
.product-detail-thumbnails{display:flex;align-items:stretch;gap:8px;margin-top:8px;width:100%;overflow-x:auto;scrollbar-width:thin;padding:0;}
.product-detail-thumbnail{flex:0 0 var(--product-detail-thumbnail-size,58px);width:var(--product-detail-thumbnail-size,58px);height:var(--product-detail-thumbnail-size,58px);padding:0;border:1px solid var(--card-border);border-radius:7px;overflow:hidden;background:var(--card-bg);cursor:pointer;box-shadow:none;transition:border-color .16s ease,transform .16s ease;}
.product-detail-thumbnail:hover,.product-detail-thumbnail:focus-visible,.product-detail-thumbnail.is-active{border-color:var(--accent);transform:translateY(-1px);}
.product-detail-thumbnail:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 24%,transparent);outline-offset:2px;}
.product-detail-thumbnail img{display:block;width:100%;height:100%;object-fit:cover;}
@media(max-width:900px){.product-detail-image,.product-detail-placeholder{aspect-ratio:auto;}}


/* Account typography controlled from Design */
body.public-page.page-account{font-size:var(--account-text-font-size,16px)}
body.public-page.page-account h1,body.public-page.page-account h2{font-size:var(--account-heading-font-size,30px);line-height:1.15}
body.public-page.page-account h3{font-size:calc(var(--account-heading-font-size,30px) * .68);line-height:1.2}
body.public-page.page-account .account-tabs{font-size:var(--account-navigation-font-size,14px)}
body.public-page.page-account .card,body.public-page.page-account p,body.public-page.page-account li,body.public-page.page-account label,body.public-page.page-account input,body.public-page.page-account select,body.public-page.page-account textarea,body.public-page.page-account button{font-size:inherit}




#design-preview[data-account-heading-font-size]{--preview-account-heading:attr(data-account-heading-font-size px)}

/* Clean sidebar collapse control */
.sidebar-head{padding:6px 10px 14px;border-bottom:1px solid #e5e7eb;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;position:relative;align-items:center;}
.sidebar-toggle{flex:0 0 34px;width:34px;height:34px;border:1px solid #dbe2ea;border-radius:9px;background:#fff;color:#17202a;display:grid;place-items:center;cursor:pointer;font-size:1.35rem;line-height:1;transition:transform .2s ease,background .2s ease;position:relative;overflow:hidden;transform:none!important;padding:0;}
.sidebar-toggle-icon{display:block;width:14px;height:14px;position:relative}
.sidebar-toggle-icon::before,.sidebar-toggle-icon::after{content:"";position:absolute;left:3px;width:8px;height:2px;border-radius:2px;background:currentColor;transform-origin:left center}
.sidebar-toggle-icon::before{top:4px;transform:rotate(-42deg)}
.sidebar-toggle-icon::after{bottom:4px;transform:rotate(42deg)}
body.admin-page.admin-sidebar-collapsed .sidebar-toggle-icon::before{transform:rotate(42deg)}
body.admin-page.admin-sidebar-collapsed .sidebar-toggle-icon::after{transform:rotate(-42deg)}
body.admin-page.admin-sidebar-collapsed .sidebar-head{padding-inline:7px;justify-content:center;border-bottom:0;padding-inline:0;}

/* Collapsed Design layout: preview deliberately about 20% smaller. */
body.admin-page.admin-sidebar-collapsed .design-workspace{grid-template-columns:minmax(0,760px) minmax(520px,1fr);grid-template-columns:minmax(0,760px) minmax(360px,.8fr);}
body.admin-page.admin-sidebar-collapsed .design-live-preview{min-width:0;width:80%;min-width:360px;justify-self:start;}
@media(max-width:1320px){body.admin-page.admin-sidebar-collapsed .design-live-preview{width:100%;min-width:0}}

/* Product card heading: Kategorie | Produkt */





/* Design navigation with true submenu */
.sidebar-submenu{display:grid;gap:2px}.sidebar-submenu-toggle{width:100%;display:grid;grid-template-columns:24px 1fr 14px;align-items:center;gap:8px;padding:10px 12px;border:0;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer;border-radius:9px}.sidebar-submenu-toggle:hover,.sidebar-submenu-toggle.active{background:color-mix(in srgb,var(--admin-sidebar-active-bg,#111827) 10%,transparent)}.sidebar-submenu-toggle b{font-weight:650}.sidebar-submenu-toggle i{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .18s ease}.sidebar-submenu.is-open .sidebar-submenu-toggle i{transform:rotate(225deg)}.sidebar-submenu-items{display:none;padding-left:22px}.sidebar-submenu.is-open .sidebar-submenu-items{display:grid}.sidebar-submenu-items a{font-size:.92rem;padding-block:8px}.admin-sidebar-collapsed .sidebar-submenu-toggle{grid-template-columns:1fr;padding-inline:8px;justify-items:center}.admin-sidebar-collapsed .sidebar-submenu-toggle b,.admin-sidebar-collapsed .sidebar-submenu-toggle i,.admin-sidebar-collapsed .sidebar-submenu-items{display:none!important}

/* Separate design workspaces */
.design-section-general [data-design-area]:not([data-design-area="general"]),.design-section-product [data-design-area]:not([data-design-area="product"]),.design-section-account [data-design-area]:not([data-design-area="account"]){display:none!important}.design-section-account .design-live-preview header,.design-section-account .design-live-preview footer{opacity:.45}

.product-detail-mini-preview{margin-top:18px;display:grid;grid-template-columns:minmax(150px,.9fr) minmax(180px,1.1fr);gap:18px;padding:18px;border:1px solid var(--card-border);border-radius:12px;background:color-mix(in srgb,var(--card-bg) 94%,#f8fafc);}.mini-product-image{min-height:180px;border-radius:10px;background:linear-gradient(135deg,#e2e8f0,#f8fafc);display:flex;align-items:flex-end;gap:6px;padding:8px}.mini-product-image i{width:34px;height:34px;border:1px solid #cbd5e1;background:#fff}.mini-product-copy{display:grid;align-content:center;gap:7px}.mini-product-copy strong{font-size:1.35rem}.mini-product-copy p{margin:0;color:var(--muted);line-height:1.45}.mini-product-copy b{font-size:1.5rem}.mini-product-copy button{justify-self:start}

/* Product detail controls */
body.product-detail-layout-balanced .product-detail-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);}body.product-detail-layout-info_large .product-detail-layout{grid-template-columns:minmax(320px,.8fr) minmax(0,1.2fr);}body.product-detail-buybox-minimal .product-detail-buybox{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;}
@media(max-width:900px){body.product-detail-layout-balanced .product-detail-layout,body.product-detail-layout-info_large .product-detail-layout{grid-template-columns:1fr;}.product-detail-mini-preview{grid-template-columns:1fr;}}


/* Startseiteneditor: kompakte Bausteine und breite Vorschau bei eingeklappter Navigation */
.builder-palette{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:18px 0 28px;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
.builder-palette-card{display:flex;flex-direction:column;gap:7px;padding:18px;border:1px solid #dfe3e8;border-radius:14px;background:#fff;text-decoration:none;color:#17202a;transition:.18s ease;min-height:118px;min-height:92px;padding:12px;gap:4px;}
.builder-palette-icon{font-size:1.35rem;font-weight:800;color:var(--primary,#111827);font-size:20px;}
.builder-palette-card small{color:#64748b;font-size:11px;line-height:1.3;}

.builder-block-summary{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:14px;align-items:center;
  grid-template-columns:minmax(0,1fr);
  gap:9px;
  align-items:start;
  padding:2px 0 0 32px;gap:10px;}
.builder-block-card h3{font-size:17px;margin:3px 0}

.builder-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,42%);gap:24px;align-items:start;grid-template-columns:minmax(420px,44%) minmax(0,56%);}
body.admin-sidebar-collapsed .builder-workspace{grid-template-columns:minmax(380px,36%) minmax(0,64%)}
body.admin-sidebar-collapsed .builder-preview-column{min-width:0}
.builder-remove-image{display:flex;align-items:center;gap:8px;margin-top:8px;padding:9px 10px;border:1px solid var(--border);border-radius:8px;background:#fff7f7}

/* Designbereiche immer 40/60; jede Unterseite besitzt ihre eigene Live View */
.design-workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr);gap:20px;align-items:start;position:relative;isolation:isolate;grid-template-columns:minmax(360px,40%) minmax(0,60%);}
body.admin-sidebar-collapsed .design-workspace{grid-template-columns:minmax(360px,40%) minmax(0,60%)}
.design-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;min-width:0;align-content:start;min-width:0;}
.design-live-preview{display:block;position:sticky;top:18px;align-self:start;max-height:calc(100vh - 36px);overflow:auto;min-width:0;z-index:2;z-index:3;min-width:0;}
.design-section-product [data-design-area]:not([data-design-area="product"]),
.design-section-palette [data-design-area]:not([data-design-area="palette"]),
.design-section-account [data-design-area]:not([data-design-area="account"]),
.design-section-general [data-design-area]:not([data-design-area="general"]){display:none!important}

.design-section-product #design-preview:after{content:"Produktseite · Galerie · Preis · Verfügbarkeit · Kaufbereich";display:block;padding:32px;border:1px solid var(--border);border-radius:14px;background:linear-gradient(135deg,#f6f7f9,#fff);font-weight:700;min-height:360px}



.product-stock-display{display:grid;gap:8px}
@media(max-width:1100px){.builder-palette{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr));}.builder-workspace,.design-workspace,body.admin-sidebar-collapsed .builder-workspace,body.admin-sidebar-collapsed .design-workspace{grid-template-columns:1fr}}

/* Fixiertes, intern scrollbareres Adminmenü mit Formularaktionen */
@media(min-width:761px){
  body.admin-page .admin-layout{align-items:start}
  body.admin-page .sidebar{
    position:sticky;
    top:0;
    height:100vh;
    max-height:100vh;
    overflow:hidden;
    padding:14px 14px 10px;
    gap:8px;
  }
  body.admin-page .sidebar-head{flex:0 0 auto;padding:4px 8px 10px}
  body.admin-page .sidebar nav{
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    overflow-x:hidden;
    padding:2px 4px 12px 0;
    scrollbar-width:thin;
    overscroll-behavior:contain;
  }
  body.admin-page .sidebar nav::-webkit-scrollbar{width:7px}
  body.admin-page .sidebar nav::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}
  body.admin-page .sidebar nav::-webkit-scrollbar-track{background:transparent}
  body.admin-page .sidebar-edit-actions{
    flex:0 0 auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:7px;
    padding:10px 2px 0;
    border-top:1px solid #e5e7eb;
    background:#fff;
  }
  body.admin-page .sidebar-edit-actions[hidden]{display:none}
  body.admin-page .sidebar-edit-actions .btn{display:flex;align-items:center;justify-content:center;gap:6px;padding:9px 8px;min-width:0;font-size:.82rem}
  body.admin-page .sidebar-edit-actions small{grid-column:1/-1;margin:0;text-align:center;font-size:.69rem;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.admin-page .sidebar-edit-actions.is-dirty small{color:#b45309;font-weight:700}
  body.admin-page .sidebar-edit-actions button:disabled{opacity:.45;cursor:not-allowed}
  body.admin-page.admin-sidebar-collapsed .sidebar-edit-actions{grid-template-columns:1fr;padding-inline:0}
  body.admin-page.admin-sidebar-collapsed .sidebar-edit-actions .btn{height:38px;padding:8px}
  body.admin-page.admin-sidebar-collapsed .sidebar-edit-actions .btn b,
  body.admin-page.admin-sidebar-collapsed .sidebar-edit-actions small{display:none}
}
@media(max-width:760px){
  
  
  body.admin-page .sidebar-edit-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:10px;border-top:1px solid #e5e7eb}
  body.admin-page .sidebar-edit-actions[hidden]{display:none}
  body.admin-page .sidebar-edit-actions small{grid-column:1/-1;text-align:center}
}


/* Admin notifications: centered, brief toast */
body.admin-page .admin-toast{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:10000;min-width:min(420px,calc(100vw - 32px));max-width:640px;padding:16px 20px;border-radius:12px;box-shadow:0 20px 55px rgba(15,23,42,.28);text-align:center;font-weight:750;animation:adminToastIn .18s ease-out both}
body.admin-page .admin-toast.is-hiding{opacity:0;transform:translate(-50%,-46%);transition:opacity .2s ease,transform .2s ease}
@keyframes adminToastIn{from{opacity:0;transform:translate(-50%,-54%) scale(.98)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}

/* Permanent fixed admin sidebar; collapse feature removed */
body.admin-page .admin-layout{grid-template-columns:220px minmax(0,1fr);transition:grid-template-columns .22s ease;grid-template-columns:280px minmax(0,1fr)!important;}
body.admin-page .sidebar{background:#fff;color:#17202a;border-color:#e5e7eb;min-width:0;overflow:hidden;transition:padding .22s ease,border-color .22s ease;position:sticky!important;top:0!important;align-self:start!important;height:100vh!important;max-height:100vh!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;padding:14px 16px 10px!important;}
body.admin-page .sidebar-head{flex:0 0 auto;padding:4px 4px 10px!important}
body.admin-page .sidebar nav{flex:1 1 auto;min-height:0;max-height:none!important;overflow-y:auto!important;overflow-x:hidden;padding-right:5px}
body.admin-page .sidebar-toggle{display:none!important}
body.admin-page .sidebar-edit-actions{flex:0 0 auto;margin-top:8px;padding:10px 0 0!important}
body.admin-page.admin-sidebar-collapsed .admin-layout{grid-template-columns:68px minmax(0,1fr);grid-template-columns:280px minmax(0,1fr)!important;}
body.admin-page.admin-sidebar-collapsed .sidebar{padding:20px 10px;padding:14px 16px 10px!important;}
body.admin-page.admin-sidebar-collapsed .sidebar-head-copy,.admin-sidebar-collapsed .sidebar-group-title,.admin-sidebar-collapsed .sidebar a:not(.sidebar-logout){font-size:0;font-size:inherit!important;}
body.admin-page.admin-sidebar-collapsed .sidebar-submenu-toggle{grid-template-columns:24px 1fr 14px!important;justify-items:stretch!important}
body.admin-page.admin-sidebar-collapsed .sidebar-submenu-toggle b,body.admin-page.admin-sidebar-collapsed .sidebar-submenu-toggle i{display:block!important}
body.admin-page.admin-sidebar-collapsed .sidebar-submenu.is-open .sidebar-submenu-items{display:grid!important}
@media(max-width:760px){body.admin-page .admin-layout{grid-template-columns:1fr!important}body.admin-page .sidebar{position:relative;height:auto;max-height:none;overflow:visible;position:relative!important;height:auto!important;max-height:none!important;}body.admin-page .sidebar nav{max-height:60vh;overflow-y:auto;max-height:55vh!important;}}

/* Product detail restock and modern full-width description */
.product-detail-stock.is-available{color:#166534;background:#ecfdf3;border-color:#bbf7d0;}
.product-detail-secondary-description{grid-column:1/-1;width:100%;margin-top:28px;padding:clamp(24px,4vw,52px);background:var(--surface);border:1px solid var(--card-border);border-radius:var(--card-radius);box-shadow:var(--surface-shadow);}
.product-detail-secondary-inner{max-width:var(--container-width);margin:0 auto;font-size:var(--product-detail-description-size);line-height:1.65;}
.product-detail-secondary-inner>*:first-child{margin-top:0;}.product-detail-secondary-inner>*:last-child{margin-bottom:0;}

/* Design account card typography and streamlined product template control */
body.public-page.page-account .account-grid>.card h2,body.public-page.page-account .account-grid>.card h3,body.public-page.page-account .recent-order summary strong,body.public-page.page-account .account-review-card h3{font-size:var(--account-card-heading-font-size,20px)}
body.public-page.page-account .account-grid>.card p,body.public-page.page-account .account-grid>.card a,body.public-page.page-account .recent-order,body.public-page.page-account .account-review-card p,body.public-page.page-account .account-review-card label{font-size:var(--account-card-text-font-size,15px)}
.product-template-row{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(260px,1fr) minmax(260px,1.4fr);gap:14px;align-items:center;padding:12px 14px;margin:0 0 16px;border:1px solid #dbe2ea;border-radius:10px;background:#f8fafc}.product-template-row label,.product-template-row small{margin:0}.product-template-row select{width:100%}

@media(max-width:900px){.product-template-row{grid-template-columns:1fr}}


/* Modern product story builder */
.modern-product-builder{margin-top:10px}.modern-product-builder.is-disabled{opacity:.62}.product-content-block-editor{margin:12px 0}.product-content-block-editor textarea{min-height:100px}
.modern-product-content{grid-column:1/-1;display:grid;gap:clamp(24px,5vw,64px);margin-top:clamp(30px,6vw,78px)}
.modern-product-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(24px,5vw,72px)}
.modern-product-split.image-right .modern-product-block-image{order:2}.modern-product-split.image-right .modern-product-block-copy{order:1}
.modern-product-block-image{overflow:hidden;border-radius:var(--card-radius);background:var(--surface)}
.modern-product-block-copy{padding:clamp(4px,2vw,24px)}.modern-product-block-copy h2,.modern-product-highlight h2,.modern-product-features h2{margin:0 0 14px;font-size:clamp(1.6rem,3vw,2.6rem);line-height:1.08}.modern-product-block-copy>div,.modern-product-highlight>div{line-height:1.7}.modern-product-block-copy .btn,.modern-product-highlight .btn{margin-top:20px}
.modern-product-highlight{padding:clamp(30px,6vw,76px);text-align:center;border-radius:var(--card-radius);background:linear-gradient(135deg,var(--surface),var(--surface-alt));border:1px solid var(--card-border)}.modern-product-highlight>div{max-width:780px;margin:0 auto}
.modern-product-features{padding:clamp(24px,4vw,48px);border-top:1px solid var(--card-border);border-bottom:1px solid var(--card-border)}.modern-product-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.modern-product-feature-grid article{display:flex;gap:10px;align-items:flex-start;padding:18px;border-radius:var(--card-radius);background:var(--surface)}.modern-product-feature-grid span{font-weight:900}
@media(max-width:760px){.modern-product-split{grid-template-columns:1fr}.modern-product-split.image-right .modern-product-block-image,.modern-product-split.image-right .modern-product-block-copy{order:initial}.modern-product-feature-grid{grid-template-columns:1fr}}

/* Account design preview mirrors the real account overview */




/* Unified admin editing: 40/60 design workspace and sidebar-only save actions */
body.admin-page .design-workspace{display:grid!important;grid-template-columns:minmax(0,40%) minmax(0,60%)!important;gap:16px!important;align-items:start!important;width:100%!important}
body.admin-page .design-admin-grid{width:100%!important;max-width:none!important;min-width:0!important;grid-template-columns:1fr!important;gap:14px!important}
body.admin-page .design-live-preview{width:100%!important;min-width:0!important;max-width:none!important;justify-self:stretch!important;margin:0!important}
body.admin-page .sidebar-edit-actions small{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-variant-numeric:tabular-nums}
body.admin-page button[aria-hidden="true"],body.admin-page input[type="submit"][aria-hidden="true"]{display:none!important}
@media(max-width:1180px){body.admin-page .design-workspace{grid-template-columns:1fr!important}.design-live-preview{position:static;max-height:none;overflow:visible;position:static!important;}}

/* Product block upload and realistic design previews */
.product-block-image-field{display:grid;gap:8px;align-content:start}.product-block-image-field>label:first-child{font-weight:700}.product-block-remove-image{display:flex;align-items:center;gap:8px;font-weight:600}.product-block-remove-image input{margin:0}





.status-tile-grid-compact{grid-template-columns:repeat(4,minmax(0,1fr))}
.review-admin-metrics{grid-template-columns:repeat(3,minmax(0,1fr));margin:16px 0}
.review-moderation-form .inline-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:900px){.status-tile-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.review-admin-metrics{grid-template-columns:1fr}}


/* Rücksendungen: breite 60/40-Hauptansicht und editierbare Hinweisoption */

.return-action-column,.return-side-column{display:grid;gap:1rem;align-content:start;min-width:0;width:100%;min-width:0;}
.settings-checkbox-row{display:inline-flex;align-items:center;gap:.65rem;min-height:42px;padding:.65rem .8rem;border:1px solid var(--card-border);border-radius:var(--input-radius);background:var(--input-bg)}
.settings-checkbox-row input{width:auto;height:auto;margin:0}
@media(max-width:900px){.return-customer-grid{grid-template-columns:1fr!important}}

/* Marketing-Hauptbereiche: vier gleich große Kacheln in einer Reihe */
.marketing-section-grid>.marketing-section-tile{height:100%;min-width:0}
@media(max-width:1180px){.marketing-section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.marketing-section-grid{grid-template-columns:1fr}}

/* Produktbilder einzeln entfernen */
.product-admin-image-preview{position:relative;display:block;width:100%;max-width:260px}
.product-admin-image-preview>img{display:block;width:100%;height:135px;object-fit:cover;border-radius:10px}
.product-image-remove-x{position:absolute;top:6px;right:6px;width:30px;height:30px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.75);border-radius:50%;background:rgba(17,24,39,.86);color:#fff;cursor:pointer;box-shadow:0 4px 12px rgba(0,0,0,.24);font-size:22px;line-height:1}
.product-image-remove-x:hover{background:#b91c1c}
.product-image-remove-x input{position:absolute;opacity:0;pointer-events:none}
.product-image-remove-x:has(input:checked){background:#b91c1c;outline:3px solid rgba(185,28,28,.22)}
.product-image-remove-x:has(input:checked)+*{opacity:.55}


.modern-product-review-wrap .product-review-summary{max-width:none}
.product-admin-image-preview:has(.product-image-remove-x input:checked)>img{opacity:.38;filter:grayscale(.45)}

/* Compact product image management */
.product-images-admin-section{display:grid;gap:10px}.product-images-admin-section>h3,.product-images-admin-section>p{margin:0}.product-images-admin-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:start}.product-image-admin-slot>strong{font-size:.82rem;color:#475569}.product-image-admin-slot.is-main{border-width:2px;border-color:#334155}.product-image-admin-slot.is-main>strong{font-size:.9rem;font-weight:800;color:#111827}.product-image-admin-slot .product-admin-image-preview{aspect-ratio:1/1;width:100%;margin:0}.product-image-admin-slot .product-admin-image-preview img{width:100%;height:100%;object-fit:cover}.product-review-summary.product-review-summary-inline{display:flex;align-items:center;gap:8px;margin-top:12px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--body-text)}.product-review-summary.product-review-summary-inline .product-review-summary-stars{font-size:1rem}.product-review-summary.product-review-summary-inline strong{font-size:.86rem;font-weight:650}.modern-product-review-wrap{margin-top:clamp(22px,4vw,48px);display:none!important;}@media(max-width:900px){.product-images-admin-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.product-images-admin-row{grid-template-columns:1fr}}

/* Bewertung vollständig löschen */
.review-delete-form{margin-top:12px;padding-top:12px;border-top:1px solid var(--border,#d9dee7);display:flex;justify-content:flex-end}
.review-delete-form .btn{min-width:170px}

/* Produktdetail: Reihenfolge Titel -> Preis -> Bewertung -> Beschreibung */

.product-detail-heading .product-detail-price-block{margin:0;}
.product-detail-heading .product-review-summary-inline{margin:0;padding:0;background:transparent;border:0;box-shadow:none;}
.product-detail-heading .product-detail-description{margin-top:2px;}

/* Product editor WYSIWYG */
.product-wysiwyg{border:1px solid #d9dee7;border-radius:10px;background:#fff;overflow:hidden}
.product-wysiwyg .wysiwyg-toolbar{display:flex;flex-wrap:wrap;gap:5px;padding:7px;border-bottom:1px solid #e5e7eb;background:#f7f8fa}
.product-wysiwyg .wysiwyg-toolbar button,.product-wysiwyg .wysiwyg-toolbar select{width:auto;min-height:32px;padding:5px 8px;margin:0}
.product-wysiwyg .wysiwyg-editor{min-height:120px;padding:12px;outline:none;line-height:1.55}
.product-wysiwyg .wysiwyg-editor:focus{box-shadow:inset 0 0 0 2px rgba(37,99,235,.18)}
.modern-product-block-title h1,.modern-product-block-title h2,.modern-product-block-title h3{margin-top:0}
.modern-product-features-rich ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;list-style:none;padding:0;margin:0}
.modern-product-features-rich li{padding:12px 14px;border:1px solid var(--border);border-radius:var(--card-radius);background:var(--surface)}
.modern-product-features-rich li::before{content:"✓";margin-right:8px;font-weight:800}

/* Produktverfügbarkeit und Lager-Erinnerung */
.product-meta-availability{display:inline-flex;align-items:center;gap:8px;font-weight:750}.product-meta-availability:before{content:"";width:9px;height:9px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px color-mix(in srgb,currentColor 14%,transparent)}.product-meta-availability.is-unavailable{color:#b91c1c}.product-meta-availability.is-available{color:#15803d}.product-detail-reminder-box>label:first-of-type{display:grid;gap:6px;}.admin-product-head-actions form{margin:0}.product-detail-stock.is-available,.product-detail-stock.is-unavailable{border-color:#fecaca;background:#fef2f2;}@media(max-width:700px){.product-detail-reminder-box{grid-template-columns:1fr;}.admin-product-head-actions{flex-wrap:wrap}}

/* Modernes Produkt-Template: Blockeditor und Bildverwaltung */
.product-block-image-label{display:block;font-weight:800;margin-bottom:2px}
.product-block-current-image{display:grid;gap:8px;padding:10px;border:1px solid #dbe2ea;border-radius:10px;background:#f8fafc;position:relative;display:grid;gap:8px;padding:10px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc;}
.product-block-current-image-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.product-block-current-image img{display:block;width:100%;max-width:220px;max-height:130px;object-fit:cover;border-radius:8px;display:block;width:100%;max-width:320px;max-height:190px;object-fit:contain;background:#fff;border:1px solid #e2e8f0;border-radius:8px;}
.product-block-image-remove-x{position:relative;display:grid;place-items:center;width:30px;height:30px;border-radius:7px;background:#b91c1c;color:#fff;cursor:pointer;font-size:1.25rem;font-weight:900;line-height:1}
.product-block-image-remove-x input{position:absolute;opacity:0;pointer-events:none}
.product-block-image-remove-x:has(input:checked){background:#334155;box-shadow:0 0 0 3px rgba(185,28,28,.2)}
.product-block-upload-control{display:grid;gap:2px;padding:11px 13px;border:1px dashed #94a3b8;border-radius:10px;background:#fff;cursor:pointer}
.product-block-upload-control:hover{border-color:#2563eb;background:#eff6ff}
.product-block-upload-control span{font-size:.82rem;color:#64748b}
.product-block-file-input{margin-top:7px;width:100%}
.product-wysiwyg .wysiwyg-toolbar-extended{gap:4px}
.product-wysiwyg .wysiwyg-toolbar-extended button{min-width:34px}
.product-wysiwyg .wysiwyg-editor blockquote{margin:10px 0;padding:8px 12px;border-left:4px solid #64748b;background:#f8fafc}
.product-wysiwyg .wysiwyg-editor h2,.product-wysiwyg .wysiwyg-editor h3,.product-wysiwyg .wysiwyg-editor h4{margin:.55em 0 .3em;line-height:1.2}
.modern-product-block-image img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;display:block;width:100%;height:auto;max-height:620px;object-fit:contain;}

/* Lager-Erinnerung: klare Checkbox-Zeile und dauerhafte Bestätigung */
.product-detail-reminder-box{padding:16px;border:1px solid var(--card-border,#e5e7eb);border-radius:var(--card-radius,16px);background:var(--card-bg,#fff);margin-top:12px;display:grid;grid-template-columns:1fr;gap:14px;align-items:stretch;}
.product-reminder-email{display:grid;gap:7px;font-weight:700}
.product-reminder-action-row{display:flex;align-items:center;justify-content:space-between;gap:16px}
.product-reminder-consent{display:flex!important;align-items:flex-start!important;gap:9px;grid-column:1/-1;display:flex!important;align-items:center!important;gap:10px;min-width:0;margin:0;font-weight:600;line-height:1.4;cursor:pointer;}
.product-reminder-consent input{margin-top:3px;flex:0 0 auto;width:18px;height:18px;margin:0;}
.product-reminder-consent span{display:block}
.product-reminder-action-row .btn{flex:0 0 auto;white-space:nowrap}
.product-detail-reminder-confirmation{display:flex;flex-direction:row;align-items:center;gap:10px;color:#166534;background:#f0fdf4;border-color:#bbf7d0;}
.product-reminder-confirmation-icon{display:inline-grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:#16a34a;color:#fff;font-weight:900}
@media(max-width:700px){.product-reminder-action-row{align-items:stretch;flex-direction:column}.product-reminder-action-row .btn{width:100%}}

/* Einstellungen: zentrale Systemmail-Vorlagen */
.system-mail-settings{overflow:visible}

.system-mail-toolbar button{width:auto;min-height:34px;padding:6px 10px;margin:0;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#17202a;cursor:pointer}
.system-mail-toolbar button:hover{border-color:#64748b;background:#f1f5f9}

.system-mail-editor:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.system-mail-editor h2{margin-top:0}
.system-mail-editor p{margin:.7em 0}

/* Produktseite: Bestandsstatus ohne genaue Stückzahl */
.product-meta-availability.is-low-stock{color:#c2410c}


/* Product availability purchase/reminder switch and payment marks */
.product-detail-info>.product-detail-reminder-box{margin-top:1rem;}

.payment-mark{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:.2rem .5rem;border:1px solid #d8dde5;border-radius:5px;background:#fff;font-size:.72rem;font-weight:800;line-height:1;letter-spacing:-.02em;box-shadow:0 1px 2px rgba(15,23,42,.06)}
.payment-visa{color:#1434cb;font-size:.82rem;letter-spacing:.04em}.payment-klarna{background:#ffb3c7;color:#111;border-color:#ffb3c7}.payment-mastercard{position:relative;gap:0;padding:.2rem .4rem;min-width:45px}.payment-mastercard i,.payment-mastercard b{display:block;width:17px;height:17px;border-radius:50%}.payment-mastercard i{background:#eb001b}.payment-mastercard b{background:#f79e1b;margin-left:-6px;opacity:.9}.payment-mastercard>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media(max-width:600px){.product-detail-reminder-box{padding:1rem;}.product-payment-methods{gap:.35rem}}


/* Kompakte Zahlungsmethoden in den Shop-Einstellungen */
.settings-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.settings-payment-methods{padding-block:16px}
.settings-payment-methods .settings-section-heading h2{margin-bottom:0}
.settings-payment-methods .payment-method-toggle-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}
.settings-payment-methods .payment-method-toggle{min-width:0}
.settings-payment-methods .payment-method-toggle-label{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:42px;margin:0;padding:9px 11px;border:1px solid var(--border,#d9dee7);border-radius:10px;background:var(--surface,#fff);font-weight:700;cursor:pointer}
.settings-payment-methods .payment-method-toggle-label input{width:17px;height:17px;margin:0;flex:0 0 auto}
.settings-payment-methods .payment-method-toggle-label span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1050px){.settings-payment-methods .payment-method-toggle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.settings-payment-methods .payment-method-toggle-grid{grid-template-columns:1fr}}


/* Visueller Produktseiten-Builder */
.visual-product-builder{border:1px solid var(--border,#dfe3ea);border-radius:16px;padding:18px;background:#f8fafc}.visual-product-builder.is-disabled{opacity:.65}.visual-builder-head,.visual-builder-toolbar,.builder-section-card>header,.builder-element-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.visual-builder-view-switch{display:flex;gap:6px}.visual-builder-view-switch .is-active{box-shadow:inset 0 0 0 2px currentColor}.visual-builder-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(300px,2fr);gap:18px;margin-top:16px}.visual-builder-controls,.visual-builder-preview-wrap{min-width:0}.visual-builder-preview-wrap{position:sticky;top:18px;align-self:start}.visual-builder-preview{background:#fff;border:1px solid #dfe3ea;border-radius:12px;padding:12px;margin-top:8px;min-height:240px;transition:max-width .2s;width:100%}.visual-builder-preview.is-mobile{max-width:390px;margin-left:auto;margin-right:auto}.builder-section-card{background:#fff;border:1px solid #dfe3ea;border-radius:12px;margin-top:12px;overflow:hidden}.builder-section-card>header{padding:10px 12px;background:#eef2f7}.builder-section-settings{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px 12px;border-bottom:1px solid #e5e7eb}.builder-section-settings label,.builder-column-width{font-size:12px}.builder-columns{display:flex;gap:10px;padding:10px;align-items:stretch}.builder-column{flex:1 1 var(--builder-width);min-width:0;border:1px dashed #bac3d0;border-radius:10px;padding:8px;background:#fbfcfe}.builder-element{border:1px solid #dfe3ea;border-radius:8px;background:#fff;margin-bottom:8px}.builder-element-head{padding:7px 8px;background:#f3f5f8}.builder-element-body{padding:8px;display:grid;gap:8px}.builder-drag{cursor:grab;color:#687386}.builder-icon-btn{border:0;background:transparent;padding:2px 6px;cursor:pointer;font-size:16px}.builder-icon-btn.danger{color:#b42318}.builder-inline-fields{display:flex;gap:8px;flex-wrap:wrap}.builder-inline-fields>*{flex:1;min-width:100px}.builder-add-element{display:flex;gap:6px}.builder-add-element select{min-width:0}.builder-rich-toolbar button{padding:4px 7px;border:1px solid #ccd3dd;background:#fff;border-radius:5px}.builder-rich-editor{min-height:100px;border:1px solid #ccd3dd;border-radius:7px;padding:9px;background:#fff}.builder-upload{display:grid;gap:5px;border:1px dashed #9aa6b5;padding:10px;border-radius:8px}.builder-current-image img{display:block;max-height:150px;max-width:100%;object-fit:contain}.builder-preview-section,.visual-product-section{display:flex;align-items:stretch;gap:var(--section-gap,24px);padding:var(--section-padding,32px);border-radius:12px;margin:0 0 18px}.builder-preview-section{gap:inherit}.builder-preview-section.bg-soft,.visual-product-section.bg-soft{background:#f4f6f8}.builder-preview-section.bg-accent,.visual-product-section.bg-accent{background:var(--accent-soft,#fff4d6)}.builder-preview-column,.visual-product-column{flex:var(--column-width,100) 1 0;min-width:0;max-width:100%}.builder-preview-image,.visual-product-image img{display:block;width:100%;max-height:520px;border-radius:10px}.builder-preview-image.fit-cover,.visual-product-image.fit-cover img{object-fit:cover}.builder-preview-image.fit-contain,.visual-product-image.fit-contain img{object-fit:contain}.builder-preview-image-empty{min-height:120px;display:grid;place-items:center;background:#eef2f6;border-radius:8px}.visual-product-richtext>*:first-child{margin-top:0}.visual-product-richtext>*:last-child{margin-bottom:0}.visual-product-benefits ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-left:20px}.visual-product-button.align-center{text-align:center}.visual-product-button.align-right{text-align:right}.visual-product-divider{border:0;border-top:var(--divider-size,1px) solid currentColor;margin:var(--divider-space,20px) 0;opacity:.2}
@media(max-width:980px){.visual-builder-layout{grid-template-columns:1fr}.visual-builder-preview-wrap{position:static}.builder-section-settings{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.builder-columns,.visual-product-section,.builder-preview-section{flex-direction:column}.builder-column,.visual-product-column{flex-basis:auto!important}.builder-section-settings{grid-template-columns:1fr}.visual-product-benefits ul{grid-template-columns:1fr}.visual-builder-head{align-items:flex-start;flex-direction:column}}
/* Visueller Produktseiten-Builder: Toolbar + direkt bearbeitbare Arbeitsfläche */
.visual-builder-palette,.visual-builder-inspector{position:sticky;top:18px;border:1px solid #dfe3ea;border-radius:12px;background:#fff;padding:12px;display:grid;gap:10px}.builder-tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.builder-tool-grid button{min-height:68px;border:1px solid #d7dde6;border-radius:9px;background:#f8fafc;padding:8px 5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:12px;cursor:grab}.builder-tool-grid button:hover{border-color:var(--accent,#111827);background:#fff}.builder-tool-grid button span{font-size:22px;line-height:1}.builder-layout-tools button{min-height:58px}.visual-builder-canvas-wrap{min-width:0}.visual-builder-canvas-label{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}.visual-builder-canvas{background:#fff;border:1px solid #dfe3ea;border-radius:12px;min-height:520px;padding:18px;transition:max-width .2s,box-shadow .2s;margin-inline:auto}.visual-builder-canvas.is-mobile{max-width:390px;box-shadow:0 10px 35px rgba(15,23,42,.12)}.builder-empty-canvas{min-height:480px;border:2px dashed #cbd5e1;border-radius:12px;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;text-align:center;color:#64748b}.builder-canvas-section{position:relative;border:1px dashed transparent;min-height:90px}.builder-canvas-section:hover,.builder-canvas-section.is-selected{border-color:#64748b}.builder-section-actions,.builder-canvas-element-actions{position:absolute;z-index:6;display:none;gap:3px}.builder-section-actions{right:5px;top:5px}.builder-canvas-section:hover>.builder-section-actions,.builder-canvas-section.is-selected>.builder-section-actions,.builder-canvas-element:hover>.builder-canvas-element-actions,.builder-canvas-element.is-selected>.builder-canvas-element-actions{display:flex}.builder-section-actions button,.builder-canvas-element-actions button{border:1px solid #cbd5e1;background:#fff;border-radius:5px;line-height:1;padding:4px 6px;cursor:pointer}.builder-canvas-column{position:relative;min-height:70px}.builder-canvas-column.is-dragover{outline:2px solid var(--accent,#111827);outline-offset:4px}.builder-canvas-element{position:relative;border:1px solid transparent;border-radius:8px;min-height:24px;cursor:move}.builder-canvas-element:hover,.builder-canvas-element.is-selected{border-color:#94a3b8;box-shadow:0 0 0 2px rgba(148,163,184,.16)}.builder-canvas-element [contenteditable]{cursor:text;outline:none;min-height:1em}.builder-canvas-element-actions{right:4px;top:4px}.builder-drop-zone{height:8px;overflow:hidden;border-radius:5px;text-align:center;font-size:11px;color:transparent;transition:.15s;margin:2px 0}.builder-canvas-column.is-dragover .builder-drop-zone,.builder-drop-zone:hover{height:30px;color:#64748b;border:1px dashed #94a3b8;display:grid;place-items:center;background:#f8fafc}.builder-canvas-image-empty{min-height:160px;border:2px dashed #cbd5e1;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#64748b}.visual-builder-inspector .builder-rich-toolbar{gap:4px}.visual-builder-inspector .btn.danger{margin-top:5px}.visual-builder-canvas .visual-product-section{margin-bottom:18px}.visual-builder-canvas .visual-product-column{min-width:0}.visual-builder-canvas .visual-product-image{margin:0}.visual-builder-canvas .visual-product-image img{max-height:520px}.visual-builder-canvas .visual-product-richtext>*:first-child{margin-top:0}.visual-builder-canvas .visual-product-richtext>*:last-child{margin-bottom:0}
@media(max-width:1180px){.visual-builder-studio{grid-template-columns:170px minmax(0,1fr)}.visual-builder-inspector{position:static;grid-column:1/-1}}
@media(max-width:780px){.visual-builder-studio{grid-template-columns:1fr}.visual-builder-palette{position:static}.builder-tool-grid{grid-template-columns:repeat(3,1fr)}.visual-builder-canvas-label{align-items:flex-start;flex-direction:column}.visual-builder-canvas{padding:10px}.visual-builder-canvas .visual-product-section{flex-direction:column}.visual-builder-canvas .visual-product-column{flex-basis:auto!important}}

/* Visueller Builder: Ausgabe im Bereich der zweiten Produktbeschreibung */
.modern-product-secondary-description{grid-column:1/-1;width:100%;margin-top:clamp(30px,6vw,78px)}
.modern-product-secondary-description .modern-product-content{margin-top:0}


/* Livebuilder: feste Inhaltsbreite wie auf der Produktseite */
.visual-builder-canvas,.visual-product-output{width:100%;max-width:100%;min-width:0;overflow:hidden}
.visual-builder-canvas .visual-product-section,.visual-product-output .visual-product-section{width:100%;max-width:100%;box-sizing:border-box}
.visual-builder-canvas .visual-product-column,.visual-product-output .visual-product-column{box-sizing:border-box;overflow-wrap:anywhere}
.modern-product-secondary-description,.modern-product-secondary-description .modern-product-content{max-width:100%;min-width:0}

/* Produktbearbeitung: Felder links, sechs Bildkacheln rechts */
.product-images-six-grid .product-image-admin-slot.is-main{border-width:2px;border-color:#475569}.product-images-six-grid .product-image-admin-slot strong{display:block;margin-bottom:7px;font-size:.82rem}.product-images-six-grid .product-admin-image-preview img{width:100%;height:100%;object-fit:contain}
@media(max-width:1050px){.product-edit-main-grid{grid-template-columns:1fr}.product-images-six-panel{position:static}.product-images-six-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Builder-Vorlagen */


/* Skalierbare Builder-Elemente */
.builder-canvas-column,.visual-product-column{display:flex;flex-direction:column;align-items:stretch;overflow:visible}.builder-canvas-element.element-align-left,.visual-product-element.element-align-left{align-self:flex-start}.builder-canvas-element.element-align-center,.visual-product-element.element-align-center{align-self:center}.builder-canvas-element.element-align-right,.visual-product-element.element-align-right{align-self:flex-end}.builder-element-resize-handle{position:absolute;right:-6px;top:50%;transform:translateY(-50%);z-index:8;width:12px;height:48px;border:1px solid #94a3b8;border-radius:8px;background:#fff;cursor:ew-resize;display:none}.builder-element-resize-handle:before{content:"⋮";display:grid;place-items:center;height:100%;color:#64748b}.builder-canvas-element:hover>.builder-element-resize-handle,.builder-canvas-element.is-selected>.builder-element-resize-handle{display:block}
.visual-product-callout{padding:18px 20px;border-left:4px solid var(--accent,#111827);border-radius:8px;background:#f1f5f9}.visual-product-quote{margin:0;padding:22px 26px;border-left:4px solid var(--accent,#111827);font-size:clamp(1.1rem,2vw,1.45rem);font-style:italic;background:#fff;border-radius:8px;box-shadow:0 8px 24px rgba(15,23,42,.08)}.visual-product-faq{border:1px solid #dbe2ea;border-radius:9px;padding:0 16px;background:#fff}.visual-product-faq summary{padding:15px 0;font-weight:800;cursor:pointer}.visual-product-faq .visual-product-richtext{padding:0 0 16px}.visual-product-spacer{position:relative;min-height:8px;border:1px dashed #cbd5e1;background:repeating-linear-gradient(135deg,#f8fafc,#f8fafc 8px,#eef2f7 8px,#eef2f7 16px);display:grid;place-items:center;color:#64748b;font-size:.75rem}.visual-product-spacer.public{border:0;background:none}.visual-product-spacer.public span{display:none}
@media(max-width:720px){.builder-canvas-element,.visual-product-element{width:100%!important}.builder-element-resize-handle{display:none!important}}

/* Erweiterte Designsteuerung für den visuellen Produktseiten-Builder */
.builder-canvas-element,.visual-product-element{width:min(var(--element-width,100%),100vw);max-width:none;box-sizing:border-box;background:var(--el-bg,transparent);color:var(--el-color,inherit);border:var(--el-border,0) solid var(--el-border-color,transparent);border-radius:var(--el-radius,0);padding:var(--el-padding,0);overflow:hidden;}
.builder-canvas-element[data-shadow="soft"],.visual-product-element[data-shadow="soft"]{box-shadow:0 10px 28px rgba(15,23,42,.12)}
.builder-canvas-element[data-shadow="strong"],.visual-product-element[data-shadow="strong"]{box-shadow:0 18px 46px rgba(15,23,42,.22)}
.builder-canvas-element[style*="--el-bg:#"] .visual-product-callout,.visual-product-element[style*="--el-bg:#"] .visual-product-callout,.builder-canvas-element[style*="--el-bg:#"] .visual-product-quote,.visual-product-element[style*="--el-bg:#"] .visual-product-quote{background:transparent;box-shadow:none;border-radius:0}

@media(max-width:900px){.builder-color-grid{grid-template-columns:1fr}}

/* 2026-07 multi admin/product refinements */
.home-newsletter-block .home-newsletter-layout{max-width:760px;margin-inline:auto;text-align:center;justify-items:center;}.home-newsletter-block .home-newsletter-form{margin-inline:auto;}.home-newsletter-block .home-newsletter-input-row{justify-content:center;}
.return-admin-list{display:grid;gap:18px;gap:12px;}.return-admin-card h2,.return-admin-card h3{margin-block:0 7px}.return-admin-grid{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(320px,1.2fr);gap:18px;gap:14px;}.return-archive-week{margin:20px 0 4px;font-size:17px}.page-order-form{margin-bottom:10px}.page-order-table [data-layout-row]{transition:opacity .15s,background .15s}.page-order-table [data-layout-row].is-dragging{opacity:.45}.page-drag-handle:active{cursor:grabbing}@media(max-width:800px){.return-customer-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Premium Livebuilder: klarere Eigenschaften und großzügige Designsteuerung */
.visual-builder-studio{display:grid;grid-template-columns:190px minmax(0,1fr) 250px;gap:16px;margin-top:16px;align-items:start;grid-template-columns:200px minmax(0,1fr) 320px;}
.visual-builder-inspector{padding:18px;gap:14px;border-radius:16px;box-shadow:0 12px 34px rgba(15,23,42,.08);max-height:calc(100vh - 36px);overflow:auto}
.visual-builder-inspector>strong{font-size:1.05rem}
.visual-builder-inspector label{display:grid;gap:5px;font-size:13px;gap:7px;font-size:.86rem;font-weight:650;color:#263244;}
.visual-builder-inspector select,.visual-builder-inspector input[type="text"],.visual-builder-inspector input[type="url"],.visual-builder-inspector input[type="number"]{min-height:42px;border-radius:10px}
.visual-builder-inspector input[type="range"]{width:100%;min-height:28px}
.visual-builder-inspector output{font-size:12px;color:#64748b;font-size:.78rem;font-weight:750;color:#334155;}
.builder-design-controls{margin:14px 0;padding:12px;border:1px solid #dbe2ea;border-radius:10px;margin:8px 0 14px;padding:16px;border:1px solid #d8e0ea;border-radius:14px;background:#f8fafc;display:grid;gap:14px;}
.builder-design-controls legend{font-weight:800;padding:0 6px;font-size:.95rem;font-weight:850;padding:0 8px;color:#172033;}
.builder-color-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid;grid-template-columns:1fr;gap:12px;}
.builder-color-grid label{display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px;font-size:.78rem;display:grid;grid-template-columns:minmax(0,1fr) 64px 82px;align-items:center;gap:10px;padding:10px 12px;border:1px solid #dbe3ec;border-radius:12px;background:#fff;font-size:.84rem;font-weight:750;}
.builder-color-grid input[type="color"]{width:100%;height:34px;padding:2px;width:64px;height:44px;padding:3px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;cursor:pointer;}
.builder-color-grid button{grid-column:1/-1;border:0;background:none;color:#64748b;text-align:left;padding:0;font-size:.72rem;cursor:pointer;grid-column:auto;min-height:38px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#334155;text-align:center;padding:7px 9px;font-size:.76rem;font-weight:750;cursor:pointer;}
.builder-color-grid button:hover{border-color:#64748b;background:#f1f5f9}
.builder-design-controls>label{padding:10px 12px;border:1px solid #dbe3ec;border-radius:12px;background:#fff}
.builder-design-controls select{background:#fff}
.builder-rich-toolbar{display:flex;flex-wrap:wrap;gap:3px;padding:8px;border:1px solid #dbe3ec;border-radius:12px;background:#f8fafc;}
.visual-builder-inspector .builder-rich-toolbar button{font-size:12px;min-width:36px;min-height:34px;font-size:13px;border-radius:7px;}
.builder-template-bar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-top:14px;padding:12px;border:1px solid #dfe3ea;border-radius:11px;background:#fff;padding:16px;border-radius:14px;background:linear-gradient(135deg,#fff 0%,#f8fafc 100%);box-shadow:0 8px 24px rgba(15,23,42,.05);}
.builder-template-bar label{display:grid;gap:5px;min-width:260px;min-width:330px;flex:1;}
.builder-template-bar select{min-width:250px;min-width:220px;min-width:320px;min-height:44px;border-radius:10px;font-weight:700;}
.builder-template-bar .btn{min-height:44px;padding-inline:18px}
.builder-canvas-element[data-shadow="strong"]{box-shadow:0 22px 50px rgba(15,23,42,.20)}
.builder-canvas-element[data-shadow="soft"]{box-shadow:0 12px 28px rgba(15,23,42,.12)}
@media(max-width:1280px){.visual-builder-studio{grid-template-columns:180px minmax(0,1fr) 290px}}
@media(max-width:1050px){.visual-builder-studio{grid-template-columns:170px minmax(0,1fr)}.visual-builder-inspector{grid-column:1/-1;max-height:none}}
@media(max-width:720px){.builder-template-bar label,.builder-template-bar select{min-width:100%;width:100%}.builder-color-grid label{grid-template-columns:1fr 58px}.builder-color-grid button{grid-column:1/-1}.visual-builder-inspector{padding:14px}}

/* Rücksendungen: Status direkt neben Bestellnummer, Formular etwas breiter */
.return-admin-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.return-order-status{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.return-order-status h2{margin:0}.return-order-status .badge{margin-left:2px}@media(max-width:900px){.return-admin-card .return-admin-grid{grid-template-columns:1fr}}

/* Isolierter Darstellungsrahmen für veröffentlichte Livebuilder-Kampagnen */
.builder-content-frame .visual-product-section,.visual-builder-canvas[class*="builder-theme-"] .visual-product-section{box-sizing:border-box;width:100%;max-width:100%}.builder-content-frame .visual-product-element,.visual-builder-canvas[class*="builder-theme-"] .visual-product-element{box-sizing:border-box}.builder-content-frame .visual-product-richtext,.builder-content-frame h2,.builder-content-frame h3,.builder-content-frame h4,.builder-content-frame p,.builder-content-frame li{overflow-wrap:anywhere}.visual-builder-canvas[class*="builder-theme-"]{padding:0;border-radius:14px;overflow:hidden;box-shadow:0 24px 60px rgba(15,23,42,.14)}.visual-builder-canvas[class*="builder-theme-"] .builder-canvas-section{outline:1px dashed rgba(100,116,139,.3);outline-offset:-1px}.visual-builder-canvas[class*="builder-theme-"] .builder-drop-zone{position:relative;z-index:20;background:rgba(255,255,255,.88);color:#334155;border-color:#64748b}.visual-builder-canvas[class*="builder-theme-"] .builder-section-actions{z-index:30}.visual-builder-canvas[class*="builder-theme-"] .builder-element-actions{z-index:30}@media(max-width:720px){.builder-content-frame{margin-top:28px}.builder-content-frame .visual-product-section{border-radius:0!important;margin-left:0!important;margin-right:0!important}}

/* Produkt-Template-Auswahl und Builder-Breitensteuerung */

.product-top-options>label{margin:0}
.product-long-description{margin-top:clamp(30px,5vw,64px);padding-top:clamp(22px,3vw,38px);border-top:1px solid var(--border,#e5e7eb);overflow-wrap:anywhere}

/* Der Builder-Rahmen darf Full-Bleed enthalten; Standardsektionen bleiben exakt in der globalen Inhaltsbreite. */
.builder-content-frame{width:100%;max-width:100%;margin:42px 0 0;overflow:hidden;isolation:isolate;container-type:inline-size;width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);overflow:hidden;}
.builder-content-frame .modern-product-content{width:100%;max-width:none;margin:0;padding:0;border:0;background:transparent;width:100%;max-width:none;}
.builder-content-frame .visual-product-section.width-content{width:min(100% - 32px,var(--container-width));max-width:var(--container-width);margin-left:auto!important;margin-right:auto!important}
.builder-content-frame .visual-product-section.width-full{width:100%;max-width:none;margin-left:0!important;margin-right:0!important}
.visual-builder-canvas .visual-product-section.width-content{width:calc(100% - 28px);margin-left:auto!important;margin-right:auto!important}
.visual-builder-canvas .visual-product-section.width-full{width:100%;margin-left:0!important;margin-right:0!important;box-shadow:inset 0 0 0 2px rgba(37,99,235,.18)}
.visual-builder-canvas .visual-product-section.width-full:before{content:"Bildschirmbreite";position:absolute;left:12px;bottom:8px;z-index:4;padding:3px 7px;border-radius:999px;background:rgba(15,23,42,.78);color:#fff;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;pointer-events:none}
.visual-product-section{position:relative}
.visual-product-builder.is-disabled .visual-builder-studio,.visual-product-builder.is-disabled .builder-template-bar,.visual-product-builder.is-disabled .visual-builder-view-switch{opacity:.42;filter:grayscale(.35);pointer-events:none}
.builder-template-hint{display:block;margin-top:10px;font-weight:700}
.builder-template-hint[hidden]{display:none}
@media(max-width:760px){.product-top-options{grid-template-columns:1fr}.builder-content-frame .visual-product-section.width-content{width:calc(100% - 20px)}.builder-content-frame .visual-product-section.width-full{width:100%}.product-long-description{margin-top:28px}}

/* Product benefit settings and adaptive storefront tiles */
.product-benefit-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.product-benefit-setting{display:grid;gap:9px;padding:14px;border:1px solid var(--card-border);border-radius:12px;background:var(--card-bg)}.product-benefit-setting-head{display:flex;align-items:center;gap:9px}.product-benefit-setting-head input{width:auto}.product-benefit-setting>input{width:100%}.product-detail-benefits-count-1{grid-template-columns:1fr;}.product-detail-benefits-count-2{grid-template-columns:repeat(2,minmax(0,1fr));}.product-detail-benefits-count-3{grid-template-columns:repeat(3,minmax(0,1fr));}.modern-secondary-toggle[hidden]{display:none!important}@media(max-width:820px){.product-benefit-settings-grid{grid-template-columns:1fr}}


/* Livebuilder-Breite: 100 % = globale Inhaltsbreite, bis 200 % = Bildschirmbreite */
.builder-content-frame,.builder-content-frame .modern-product-content{overflow-x:clip}
.builder-content-frame .visual-product-section.width-content,.visual-builder-canvas .visual-product-section.width-content{overflow:visible}
.builder-content-frame .visual-product-column,.visual-builder-canvas .builder-canvas-column{overflow:visible}

.builder-content-frame .visual-product-element.element-align-center,.visual-builder-canvas .builder-canvas-element.element-align-center{align-self:center}
.builder-content-frame .visual-product-element.element-align-left,.visual-builder-canvas .builder-canvas-element.element-align-left{align-self:flex-start}
.builder-content-frame .visual-product-element.element-align-right,.visual-builder-canvas .builder-canvas-element.element-align-right{align-self:flex-end}
@media(max-width:760px){.builder-content-frame .visual-product-element,.visual-builder-canvas .builder-canvas-element{width:100%!important;max-width:100%!important}}

/* Exakte Interpolation: 100 = Inhaltsbreite, 200 = gesamte Viewportbreite */
.builder-content-frame .visual-product-element,.visual-builder-canvas .builder-canvas-element{width:min(var(--element-width,100%),100vw);max-width:none;width:min(calc(var(--element-content-share,var(--element-width,100%)) + var(--element-viewport-share,0vw)),100vw);}


/* Rücksendungen und Stornierungen: lokale, kompakte Bearbeitung */
.return-admin-card{padding:16px;overflow:hidden;}
.return-admin-card .return-admin-grid{grid-template-columns:minmax(220px,.72fr) minmax(360px,1.28fr);grid-template-columns:minmax(0,.88fr) minmax(430px,1.12fr);align-items:stretch;gap:16px;}
.return-request-summary{display:grid;align-content:start;gap:12px;min-width:0}
.return-request-block,.return-customer-overview{padding:12px 14px;border:1px solid var(--card-border);border-radius:10px;background:color-mix(in srgb,var(--card-bg) 96%,var(--body-bg))}
.return-request-block h3,.return-customer-overview h3{margin:0 0 8px;font-size:14px}
.return-request-block p:last-child{margin-bottom:0}
.return-admin-items{margin:0;padding-left:18px}
.return-customer-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:12px;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0;}
.return-customer-metrics span{display:flex;flex-direction:column;padding:7px 8px;border:1px solid var(--card-border);border-radius:8px;background:color-mix(in srgb,var(--card-bg) 92%,var(--body-bg));font-size:11px;color:var(--muted);min-height:58px;justify-content:center;text-align:center;padding:8px 5px;background:var(--card-bg);}
.return-customer-metrics b{font-size:13px;color:var(--body-text);white-space:nowrap;font-size:14px;margin-bottom:2px;}
.return-response-form{display:grid;gap:10px;padding:14px;height:100%;min-height:100%;grid-template-columns:1fr;align-content:start;padding:18px;border-radius:12px;}
.return-response-form select{min-height:46px}
.return-response-form textarea{min-height:150px;resize:vertical}
.return-response-form .template-action-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;border-radius:8px;background:color-mix(in srgb,var(--card-bg) 88%,var(--body-bg))}
.return-form-actions{margin-top:auto;padding-top:8px}
.return-form-actions .btn{width:100%;min-height:46px}
.cancellation-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
.cancellation-admin-card{display:flex;flex-direction:column;min-width:0;padding:18px}
.cancellation-admin-card .return-order-status{margin-bottom:4px}
.cancellation-admin-card h2{font-size:18px}
.cancellation-customer{margin:6px 0 14px;padding-bottom:12px;border-bottom:1px solid var(--card-border)}
.cancellation-response-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;flex:1;align-content:start}
.cancellation-response-form textarea{min-height:120px;resize:vertical}
.cancellation-form-actions{margin-top:auto}
.cancellation-form-actions .btn{width:100%;min-height:44px}
.cancellation-week-heading{grid-column:1/-1;margin:18px 0 0}
@media(max-width:1050px){.return-admin-card .return-admin-grid{grid-template-columns:1fr}.return-response-form{min-height:0}.cancellation-admin-grid{grid-template-columns:1fr}}
@media(max-width:700px){.return-customer-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.cancellation-response-form{grid-template-columns:1fr}.cancellation-response-form .full{grid-column:auto}}

/* Produktbearbeitung: kompakte Stammdaten, Bilder links, Fashion-Varianten */
.product-edit-main-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,430px);gap:22px;align-items:start;grid-template-columns:minmax(320px,.82fr) minmax(0,1.55fr);align-items:start;}

.product-edit-fields{min-width:0;grid-column:2;grid-row:1;min-width:0;}

.product-master-data-grid>div{min-width:0}
.product-master-data-grid>div.full{grid-column:1/-1}


.product-image-admin-slot{min-width:0;padding:10px;border:1px solid #dbe3ec;border-radius:10px;background:#fff;display:grid;gap:8px;padding:10px;min-height:150px;}
.product-image-admin-slot input[type=file]{font-size:.74rem;padding:7px;font-size:.78rem;max-width:100%;}
.product-variants-editor{margin-top:18px;border:1px solid var(--border,#dbe2ea);background:linear-gradient(180deg,#fff,#f8fafc)}
.product-variants-head{align-items:center;margin-bottom:16px}
.product-variants-head h3{margin:0 0 4px}
.switch-row{display:flex;align-items:center;gap:8px;font-weight:700;white-space:nowrap}
.product-variant-setup{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}
.product-variant-summary{margin:14px 0 8px;padding:10px 12px;border-radius:10px;background:#eef2ff;color:#3730a3}
.product-variant-table-wrap{overflow:auto;max-height:430px;scrollbar-gutter:stable;border-bottom:1px solid #e2e8f0}.product-variant-table-wrap .product-variant-table thead{position:sticky;top:0;z-index:3;background:var(--card,#fff)}.product-variant-table-wrap .product-variant-table thead th{padding-top:9px;padding-bottom:9px;background:var(--card,#fff);box-shadow:0 1px 0 #e2e8f0}
.product-variant-table{width:100%;border-collapse:separate;border-spacing:0 7px}
.product-variant-table th{text-align:left;font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;color:#64748b;padding:0 8px}
.product-variant-table td{background:#fff;padding:8px;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}

.product-variant-table td:last-child{border-right:1px solid #e2e8f0;border-radius:0 9px 9px 0;width:44px}
.product-variant-table input{min-width:90px;width:100%}
.product-variants-editor.is-disabled .product-variant-setup,.product-variants-editor.is-disabled .product-variant-table-wrap{opacity:.45;pointer-events:none}
.product-variant-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;border:1px solid var(--border,#dbe2ea);border-radius:14px;background:#fff;margin:14px 0}
.product-variant-picker label{font-weight:700}
.product-variant-picker select{width:100%;margin-top:6px}
.product-variant-stock{grid-column:1/-1;margin:0;font-weight:700}
.product-variant-stock.is-available{color:#15803d}.product-variant-stock.is-low-stock{color:#d97706}.product-variant-stock.is-unavailable{color:#b91c1c}
@media(max-width:1180px){.product-master-data-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-edit-main-grid{grid-template-columns:minmax(280px,.85fr) minmax(0,1.4fr)}}
@media(max-width:820px){.product-edit-main-grid{grid-template-columns:1fr}.product-images-six-panel,.product-edit-fields{grid-column:1;grid-row:auto;position:static}.product-images-six-panel{order:1}.product-edit-fields{order:2}.product-variant-setup{grid-template-columns:1fr}.product-variant-picker{grid-template-columns:1fr}}

.return-customer-grid{grid-template-columns:minmax(300px,1fr) minmax(300px,1fr);align-items:start;align-items:stretch;align-items:start!important;
  display:grid!important;
  grid-template-columns:minmax(0,3fr) minmax(300px,2fr)!important;
  gap:1rem!important;
  width:100%;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;}
.cancellation-reason{padding:.75rem;border:1px solid var(--border);border-radius:10px;background:var(--surface-alt,#f7f7f7);margin:.75rem 0}.cancellation-reason small{display:block;font-weight:700;margin-bottom:.25rem}.cancellation-reason p{margin:0}
.customer-file-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem;margin:1rem 0}.customer-file-metrics article{padding:1rem;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.customer-file-metrics small,.customer-file-metrics strong{display:block}.customer-file-metrics strong{font-size:1.25rem;margin-top:.25rem}.customer-file-grid{display:grid;grid-template-columns:1fr 2fr;gap:1rem;margin-bottom:1rem}.customer-history-list{display:grid;gap:.5rem}.customer-history-list>div{display:grid;grid-template-columns:1fr 1.5fr auto;gap:.75rem;align-items:center;padding:.7rem;border-bottom:1px solid var(--border)}
@media(max-width:900px){.customer-file-metrics{grid-template-columns:repeat(2,1fr)}.customer-file-grid{grid-template-columns:1fr}.customer-history-list>div{grid-template-columns:1fr}}

.return-customer-grid .return-side-column{order:1}.return-customer-grid .return-action-column{order:2}
@media(max-width:900px){.return-customer-grid .return-side-column,.return-customer-grid .return-action-column{order:initial}}

/* Varianten: Dropdown oder kompakte Farbpunkte/Größen */
.product-detail-design-settings .product-template-row{grid-template-columns:minmax(210px,.75fr) minmax(420px,1.8fr) minmax(260px,1fr);}
.product-detail-design-settings .product-template-row select{width:100%;font-size:1rem;}
.product-variant-picker-swatches{padding:12px 14px}

.variant-swatch-group{min-width:0;margin:0;padding:0;border:0}.variant-swatch-group legend{font-size:.78rem;font-weight:800;color:#475569;margin-bottom:7px}

.variant-color-swatch{width:30px;height:30px;border:2px solid #fff;border-radius:50%;padding:0;background:var(--variant-color);box-shadow:0 0 0 1px #cbd5e1;cursor:pointer}.variant-color-swatch span{display:block;width:100%;height:100%;border-radius:inherit;background:var(--variant-color)}
.variant-color-swatch:hover,.variant-color-swatch.is-selected{box-shadow:0 0 0 3px var(--accent,#111827);transform:scale(1.04)}
.variant-size-option{min-width:42px;height:30px;padding:0 9px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;font-weight:800;cursor:pointer}.variant-size-option:hover,.variant-size-option.is-selected{border-color:var(--accent,#111827);background:var(--accent,#111827);color:#fff}
.product-variant-picker-swatches .product-variant-stock{margin-top:9px}.product-variant-table input[type=color]{min-width:42px;width:42px;padding:2px}.product-variant-table select{min-width:110px}
@media(max-width:900px){.product-detail-design-settings .product-template-row{grid-template-columns:1fr;}.product-variant-compact{gap:16px;flex-wrap:wrap}}


/* Produkteditor 50/50: kompakte Stammdaten oberhalb, Bilder und Varianten nebeneinander */
.product-edit-main-grid.product-master-compact{display:block!important}
.product-edit-main-grid.product-master-compact .product-edit-fields{display:block!important;position:static!important;width:100%!important}
.product-media-variants-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start;margin-top:18px}
.product-media-variants-grid>.product-images-six-panel,.product-media-variants-grid>.product-variants-editor{grid-column:auto!important;grid-row:auto!important;position:static!important;margin:0!important;min-width:0}

.product-master-data-grid label{font-size:.82rem}.product-master-data-grid input,.product-master-data-grid select{width:100%;min-height:38px;padding:.55rem .65rem;}.product-master-data-grid textarea{min-height:72px}
.product-images-six-panel{position:sticky;top:18px;border:1px solid var(--border,#dfe3ea);border-radius:14px;padding:14px;background:#f8fafc;grid-column:1;grid-row:1;position:sticky;top:92px;padding:12px!important;}.product-images-six-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;}
.product-images-six-grid .product-image-admin-slot{min-width:0;padding:10px;border:1px solid #d9e0e8;border-radius:10px;background:#fff;min-height:0!important;padding:8px!important;}.product-images-six-grid .product-admin-image-preview{aspect-ratio:1;min-height:0;aspect-ratio:4/3!important;}.product-images-six-grid input[type=file]{width:100%;font-size:.72rem;margin-top:7px;font-size:.68rem!important;}
.product-bulk-upload{margin:10px 0;padding:10px;border:1px dashed #94a3b8;border-radius:12px;background:#fff}.product-bulk-upload-drop{display:block;padding:14px;text-align:center;font-weight:700;cursor:pointer;border-radius:9px;background:#f1f5f9}.product-bulk-upload-drop.is-dragover{outline:2px solid currentColor}.product-bulk-upload-drop input{display:none}.product-bulk-upload-preview{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-top:8px}.bulk-upload-thumb{position:relative}.bulk-upload-thumb img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:7px}.bulk-upload-thumb span{display:block;font-size:.65rem;text-align:center;margin-top:3px}
.product-media-variants-grid .product-variant-setup{grid-template-columns:1fr 1fr!important}.product-media-variants-grid [data-build-variants]{grid-column:1/-1}.product-media-variants-grid .product-variant-table{font-size:.78rem}.product-media-variants-grid .product-variant-table th,.product-media-variants-grid .product-variant-table td{padding:6px 5px}.product-media-variants-grid .product-variant-table input,.product-media-variants-grid .product-variant-table select{min-width:72px}
@media(max-width:1100px){.product-media-variants-grid{grid-template-columns:1fr}.product-images-six-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:650px){.product-master-data-grid{grid-template-columns:1fr!important}.product-images-six-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr))!important;}.product-bulk-upload-preview{grid-template-columns:repeat(3,1fr)}}

/* Erweiterte Variantenkombinationen */
.product-variant-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.variant-size-option:disabled,.variant-size-option.is-unavailable{cursor:not-allowed;opacity:.38;background:#eef2f7;color:#64748b;border-color:#dbe2ea;text-decoration:line-through}
.variant-size-option:disabled:hover,.variant-size-option.is-unavailable:hover{background:#eef2f7;color:#64748b;border-color:#dbe2ea}
.variant-color-swatch:disabled,.variant-color-swatch.is-unavailable{cursor:not-allowed;opacity:.35;filter:grayscale(.7)}
.product-variant-picker select option:disabled{color:#94a3b8}
@media(max-width:700px){.product-variant-actions{display:grid;grid-template-columns:1fr}.product-variant-actions .btn{width:100%}}

/* Produktbearbeitung: Beschreibungen und ausführlicher Produktseiten-Texteditor */
.product-master-data-grid>.product-description-field{grid-column:span 2;display:flex;flex-direction:column;min-width:0}
.product-master-data-grid>.product-description-field textarea{min-height:112px;resize:vertical}
.product-description-editor-card{display:grid;gap:14px;margin-top:2px}

.product-description-editor-heading h2{margin:0;font-size:clamp(1.2rem,2vw,1.55rem)}
.product-description-editor-card>.product-wysiwyg{width:100%}
.product-description-editor-card>.product-wysiwyg .wysiwyg-editor{min-height:300px;padding:18px}
.product-description-editor-card>textarea[data-product-long-description]{min-height:300px}
.product-description-visibility-toggle{display:inline-flex;align-items:center;gap:9px;width:max-content;max-width:100%;margin:0;font-weight:600;line-height:1.35;cursor:pointer}
.product-description-visibility-toggle input[type="checkbox"]{flex:0 0 auto;width:18px;height:18px;margin:0}
.product-description-visibility-toggle input[type="hidden"]{display:none}
@media(max-width:760px){.product-master-data-grid>.product-description-field{grid-column:1/-1}.product-description-editor-card>.product-wysiwyg .wysiwyg-editor{min-height:240px}}

/* Unbegrenzte Produkt-Medienverwaltung */
.product-media-manager{position:sticky;top:18px;display:grid;gap:12px;border:1px solid var(--border,#dfe3ea);border-radius:14px;padding:14px;background:#f8fafc;max-height:calc(100vh - 36px);overflow:auto}.product-media-manager-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.product-media-manager-head h3,.product-media-manager-head p{margin:0}.product-media-count{white-space:nowrap;padding:5px 9px;border-radius:999px;background:#e2e8f0;font-size:.76rem;font-weight:750}.product-media-dropzone{display:grid;place-items:center;text-align:center;gap:3px;min-height:105px;padding:16px;border:2px dashed #94a3b8;border-radius:12px;background:#fff;cursor:pointer;transition:.18s ease}.product-media-dropzone:hover,.product-media-dropzone.is-over{border-color:#1f2937;background:#f1f5f9;transform:translateY(-1px)}.product-media-dropzone span,.product-media-dropzone small{color:#64748b}.product-media-toolbar{display:flex;flex-wrap:wrap;gap:7px}.product-media-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-media-item{position:relative;display:grid;gap:7px;min-width:0;padding:8px;border:1px solid #d9e0e8;border-radius:11px;background:#fff;cursor:grab}.product-media-item.is-main{border:2px solid #334155;box-shadow:0 0 0 2px rgba(51,65,85,.08)}.product-media-item.is-dragging{opacity:.45}.product-media-item.is-drag-over{outline:3px solid rgba(51,65,85,.25);outline-offset:2px}.product-media-position{display:flex;align-items:center;justify-content:space-between;gap:6px}.product-media-position strong{font-size:.78rem}.product-media-position span{font-size:.68rem;color:#64748b}.product-media-thumb{aspect-ratio:4/3;overflow:hidden;border-radius:8px;background:#eef2f7;display:grid;place-items:center}.product-media-thumb img{width:100%;height:100%;object-fit:contain}.product-media-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;color:#475569}.product-media-actions{display:grid;grid-template-columns:auto auto 1fr;gap:4px}.product-media-actions button{min-height:28px;padding:3px 6px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:.67rem;cursor:pointer}.product-media-actions button[data-main]{grid-column:1/-1}.product-media-actions .is-danger{grid-column:1/-1;color:#b91c1c}.product-media-actions button:disabled{opacity:.35;cursor:not-allowed}.product-media-help{margin:0;font-size:.76rem}@media(max-width:1100px){.product-media-manager{position:static;max-height:none}.product-media-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.product-media-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:460px){.product-media-list{grid-template-columns:1fr}}

/* Variantenverwaltung neben der unbegrenzten Produktgalerie */
.product-media-variants-grid>.product-media-manager{grid-column:auto!important;grid-row:auto!important;position:static!important;margin:0!important;min-width:0}
.product-variant-bulkbar{display:grid;grid-template-columns:minmax(120px,1fr) 120px auto minmax(160px,1fr) auto;gap:8px;align-items:end;margin:12px 0;padding:10px;border:1px solid #dbe2ea;border-radius:12px;background:#f8fafc}
.product-variant-bulkbar label{font-size:.78rem;font-weight:700}.product-variant-bulkbar input,.product-variant-bulkbar select{width:100%;margin-top:4px}
.variant-image-preview{display:grid;place-items:center;width:34px;height:34px;border:1px solid #dbe2ea;border-radius:8px;background:#f8fafc}
.product-variant-help{margin:10px 0 0}.product-variant-table td:first-child{border-left:1px solid #e2e8f0;border-radius:9px 0 0 9px;width:48px;}
@media(max-width:1350px){.product-variant-bulkbar{grid-template-columns:1fr 1fr}.product-variant-bulkbar .btn{width:100%}}
.product-overview-material,.variant-count-label{display:block;margin-top:4px;color:#667085;font-size:.78rem}.product-overview-actions{white-space:nowrap}.product-variant-overview-row>td{padding:0!important;background:#f8fafc}.admin-variant-stock-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px}.admin-variant-stock-card{display:grid;grid-template-columns:minmax(0,1fr) 90px auto;align-items:end;gap:10px;padding:12px;border:1px solid #d8dee8;border-radius:12px;background:#fff}.admin-variant-stock-identity{display:flex;align-items:center;gap:10px;min-width:0}.admin-variant-stock-identity i{width:24px;height:24px;flex:0 0 24px;border-radius:50%;background:var(--variant-color);border:1px solid rgba(0,0,0,.16)}.admin-variant-stock-identity small{display:block;overflow:hidden;text-overflow:ellipsis;color:#667085}.admin-variant-stock-card label{margin:0;font-size:.78rem}.admin-variant-stock-card input{min-height:36px;padding:.45rem}.variant-save-status{grid-column:1/-1;min-height:1em;color:#027a48;font-size:.78rem}.product-admin-variant-overview .badge{min-width:42px;text-align:center}@media(max-width:760px){.admin-variant-stock-card{grid-template-columns:1fr 80px}.admin-variant-stock-card .btn{grid-column:1/-1}.product-overview-actions{white-space:normal}}

/* Kompakter Kaufbereich: Varianten und Warenkorb links, Kerndaten rechts */



.product-purchase-layout .product-variant-picker-swatches{padding:8px 10px}

.product-purchase-layout .variant-swatch-group{gap:5px}
.product-purchase-layout .variant-swatch-group legend{font-size:.75rem;margin-bottom:4px}

.product-purchase-layout .variant-color-swatch{width:29px;height:29px}
.product-purchase-layout .variant-size-option{min-width:34px;min-height:29px;padding:4px 7px;font-size:.76rem}
.product-purchase-layout .product-variant-picker label{font-size:.76rem}
.product-purchase-layout .product-variant-picker select{margin-top:3px;min-height:34px;padding:6px 8px;font-size:.82rem}
.product-purchase-layout .product-detail-buybox{grid-template-columns:auto minmax(130px,1fr);gap:8px;padding:9px 10px;border-radius:10px;box-shadow:none;}
.product-purchase-layout .product-detail-buybox label{font-size:.74rem;margin-bottom:3px;}
.product-purchase-layout .quantity-stepper{min-height:34px}
.product-purchase-layout .quantity-stepper__button{width:32px;height:32px}
.product-purchase-layout .quantity-stepper__value{min-width:32px;font-size:.88rem}
.product-purchase-layout .product-detail-buybox .product-cart-button{min-height:36px;font-size:.84rem;padding:7px 12px;}



.product-purchase-facts dl>div:last-child{border-bottom:0}
.product-purchase-facts dt{font-size:.72rem;color:var(--muted);margin-bottom:3px}
.product-purchase-facts dd{margin:0;font-size:.84rem;font-weight:700;overflow-wrap:anywhere}



@media(max-width:760px){.product-purchase-layout .product-detail-buybox{grid-template-columns:auto minmax(130px,1fr);}}
@media(max-width:460px){.product-purchase-layout .product-detail-buybox{grid-template-columns:1fr;}.product-purchase-layout .product-variant-picker{grid-template-columns:1fr}}

/* Warenkorb: ausgewählte Produktvariante direkt am Artikelnamen */
.cart-item-variant{display:block;margin-top:.28rem;color:var(--muted,#667085);font-size:.9rem;line-height:1.35}

/* Produktübersicht: Varianten per Produktname aufklappen */
.product-overview-name:hover strong{text-decoration:underline}.product-overview-chevron{display:inline-block;color:#667085;transition:transform .18s ease}.product-overview-name.is-open .product-overview-chevron{transform:rotate(180deg)}
/* Warenkorb: passendes Produkt- oder Variantenbild */
.cart-item-product{display:flex;align-items:center;gap:12px;min-width:220px}.cart-item-thumbnail{width:58px;height:58px;flex:0 0 58px;display:block;object-fit:cover;border:1px solid var(--border,#d8dee8);border-radius:10px;background:#f4f6f8}.cart-item-thumbnail-placeholder{background:linear-gradient(135deg,#f2f4f7,#e4e7ec)}.cart-item-copy{min-width:0}.cart-item-copy strong{display:block}.cart-item-copy .cart-item-variant{margin-top:.2rem}@media(max-width:700px){.cart-item-product{min-width:180px}.cart-item-thumbnail{width:48px;height:48px;flex-basis:48px}}


/* Produktstammdaten: fünf Spalten und separater Verfügbarkeitsbereich */

.product-master-left{min-width:0}
.product-master-fields-five{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:start}
.product-master-fields-five>div,.product-price-fields>div,.product-availability-settings>div{min-width:0;text-align:left}
.product-master-fields-five label,.product-price-fields label,.product-availability-settings label{display:block;text-align:left;margin-bottom:5px}
.product-master-fields-five input,.product-master-fields-five select,.product-price-fields input,.product-availability-settings input,.product-availability-settings select{width:100%;min-width:0}
.product-price-fields{display:grid;grid-template-columns:repeat(2,minmax(0,220px));gap:10px;margin-top:12px;justify-content:start}

.product-availability-settings small{display:block;margin-top:5px}
.product-master-divider{height:1px;background:var(--border,#d8dee8);margin:8px 0 4px;grid-column:1/-1;height:1px;background:var(--border,#dfe3ea);margin:2px 0 0;}
.product-description-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.product-description-grid .product-description-field{display:flex;flex-direction:column;min-width:0;text-align:left}
.product-description-grid textarea{min-height:112px;resize:vertical}
@media(max-width:1350px){.product-master-fields-five{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.product-master-data-grid{grid-template-columns:1fr!important}.product-availability-settings{border-left:0;border-top:1px solid var(--border,#dfe3ea);padding:16px 0 0;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.product-master-fields-five{grid-template-columns:repeat(2,minmax(0,1fr))}.product-description-grid,.product-price-fields,.product-availability-settings{grid-template-columns:1fr}}
@media(max-width:520px){.product-master-fields-five{grid-template-columns:1fr}}
/* Produktübersicht: direkte Bestandsbearbeitung über den Artikelnamen */
.product-overview-name{display:inline-flex;align-items:center;gap:.45rem;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;appearance:none;border:0;background:transparent;padding:0;margin:0;color:inherit;font:inherit;text-align:left;cursor:pointer;text-decoration:none!important;display:inline-block;}
.product-overview-name:hover,.product-overview-name:focus,.product-overview-name:active{text-decoration:none!important;color:inherit}
.product-overview-name:focus-visible{outline:2px solid var(--accent,#2563eb);outline-offset:3px;border-radius:3px}
.product-overview-name strong{text-decoration:none!important}
.admin-product-stock-card{max-width:560px}

/* Produktstammdaten: Preisblock und Verfügbarkeit gemeinsam rechts */

.product-availability-settings{display:grid;gap:14px;padding-left:18px;border-left:1px solid var(--border,#dfe3ea);text-align:left;align-content:start;}
.product-purchase-notice-setting{margin:18px 0 24px;padding:16px;border:1px solid var(--border);border-radius:var(--card-radius,14px);background:var(--surface,#fff)}
.product-purchase-history-notice{margin:0 0 12px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--accent,#111) 25%,var(--border));border-radius:10px;background:color-mix(in srgb,var(--accent,#111) 6%,#fff);font-weight:700;line-height:1.4}
/* Kompakte direkte Bestandsbearbeitung in der Produktübersicht */
.product-variant-overview-panel{padding:20px;border-top:1px solid #d8dee8;border-bottom:1px solid #d8dee8;padding:10px 14px 12px;}.compact-stock-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:.84rem}.compact-stock-head span{color:#667085;font-size:.75rem}.compact-stock-list .admin-variant-stock-identity{gap:8px}.compact-stock-list .admin-variant-stock-identity i{width:16px;height:16px;flex-basis:16px}.compact-stock-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;padding-top:9px}.compact-stock-actions .variant-save-status{margin-right:auto;min-height:0;font-size:.72rem}.compact-stock-actions .btn.small{min-height:30px;padding:.35rem .7rem;font-size:.74rem}@media(max-width:760px){.compact-stock-list .admin-variant-stock-card{grid-template-columns:minmax(0,1fr) 82px}.compact-stock-list .admin-variant-stock-card label{grid-template-columns:1fr}.compact-stock-actions{flex-wrap:wrap}}

/* Kaufhistorie-Hinweis und Varianten-Livevorschau */
.product-purchase-notice-heading{margin-top:28px;padding-top:24px;border-top:1px solid var(--border,#dfe3ea)}
.product-purchase-notice-setting textarea{width:100%;resize:vertical;min-height:82px}















/* Kompakte Bestandskarten: drei feste Karten pro Zeile statt breitgezogener Zeilen */
.compact-stock-list{display:block;max-height:246px;overflow:auto;border:1px solid #e3e7ee;border-radius:9px;background:#fff;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,230px));
  justify-content:start;
  align-items:start;
  gap:10px;
  max-height:310px;
  padding:10px;
  overflow:auto;
  border:1px solid #e3e7ee;
  border-radius:9px;
  background:#f8fafc;}
.compact-stock-list .admin-variant-stock-card{display:grid;grid-template-columns:minmax(0,1fr) 88px;align-items:center;gap:10px;padding:7px 9px;border:0;border-bottom:1px solid #edf0f4;border-radius:0;background:#fff;
  display:grid;
  grid-template-columns:minmax(0,1fr) 62px;
  align-items:center;
  gap:8px;
  min-width:0;
  padding:9px 10px;
  border:1px solid #e3e7ee;
  border-radius:9px;
  background:#fff;}
.compact-stock-list .admin-variant-stock-card:last-child{border-bottom:0;border-bottom:1px solid #e3e7ee;}
.compact-stock-list .admin-variant-stock-card label{display:grid;grid-template-columns:auto 58px;align-items:center;gap:6px;font-size:.68rem;display:block;min-width:0;}
.compact-stock-list .admin-variant-stock-card label span{display:block;margin-bottom:3px;font-size:.65rem;color:#667085}
.compact-stock-list .admin-variant-stock-card input{width:58px;min-height:28px;padding:.25rem .35rem;font-size:.78rem;width:100%;min-height:30px;padding:.3rem .4rem;text-align:center;font-size:.8rem;}
.compact-stock-list .admin-variant-stock-identity strong{display:block;font-size:.8rem;line-height:1.2;font-size:.78rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.compact-stock-list .admin-variant-stock-identity small{font-size:.69rem;line-height:1.15;font-size:.66rem;}
@media(max-width:1050px){.compact-stock-list{grid-template-columns:repeat(2,minmax(0,230px))}}
@media(max-width:650px){.compact-stock-list{grid-template-columns:minmax(0,1fr)}.compact-stock-list .admin-variant-stock-card{max-width:260px}}

/* Produktstammdaten: Preisblock vor Verfügbarkeit, jeweils untereinander */
.product-master-data-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;gap:10px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 250px!important;gap:18px!important;align-items:start;text-align:left;grid-template-columns:minmax(0,1fr) minmax(440px,560px)!important;}

.product-commercial-column{display:grid;gap:14px;align-content:start;min-width:0}
.product-commercial-column:first-child{padding-right:18px}
.product-commercial-column+.product-commercial-column{padding-left:18px;border-left:1px solid var(--border,#dfe3ea)}
.product-commercial-settings label{display:block;text-align:left;margin-bottom:5px;font-size:.82rem}
.product-commercial-settings input,.product-commercial-settings select{width:100%;min-width:0}
.product-commercial-settings small{display:block;margin-top:5px}
.product-price-fields-aside{display:grid;grid-template-columns:1fr;gap:12px;padding-bottom:14px;margin-bottom:4px;border-bottom:1px solid var(--border);padding-bottom:0;margin-bottom:0;border-bottom:0;}
@media(max-width:1150px){.product-master-data-grid{grid-template-columns:1fr!important}}
@media(max-width:700px){.product-commercial-column:first-child{padding:0 0 16px}.product-commercial-column+.product-commercial-column{padding:16px 0 0;border-left:0;border-top:1px solid var(--border,#dfe3ea)}}

.product-purchase-placeholder-help{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-top:10px}.product-purchase-placeholder-help strong{width:100%;font-size:.86rem}.product-purchase-placeholder-help code{padding:5px 7px;border:1px solid var(--border,#dfe3ea);border-radius:6px;background:var(--surface-soft,#f8fafc);font-size:.78rem}

/* Live-Vorschau entspricht dem realen oberen Produktaufbau */



/* Produktstatus und dynamische Informationskachel */



.product-detail-stock-status strong{font-size:1rem;}

.product-detail-stock-status.is-available strong{color:#15803d;}.product-detail-stock-status.is-low-stock strong{color:#b45309;}.product-detail-stock-status.is-unavailable strong{color:#b91c1c;}



.product-purchase-facts dl>div{padding:10px 0;border-bottom:1px solid var(--card-border);padding:8px 0;}
.product-fact-order-list{display:grid;gap:7px;margin:10px 0 22px;max-width:620px}.product-fact-order-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border:1px solid var(--border);border-radius:9px;background:var(--surface)}



@media(max-width:760px){.product-detail-price-block:after{width:100%;}}

/* Kompakte Informationskachel-Konfiguration und stabiler Kaufbereich */
.product-fact-compact-list{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none;gap:6px;margin:8px 0 18px}
.product-fact-compact-list .product-fact-order-item{padding:6px 7px;gap:6px;min-width:0}
.product-fact-compact-list label{display:flex;align-items:center;gap:6px;min-width:0;font-size:.78rem;font-weight:700}
.product-fact-compact-list label input{width:auto;margin:0}
.product-fact-compact-list .inline-actions{display:flex;gap:3px}
.product-fact-compact-list .btn.compact{min-width:26px;padding:3px 5px;font-size:.72rem}
.product-detail-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);gap:clamp(30px,5vw,72px);align-items:start!important;}




.product-detail-meta-secondary{margin-top:12px;display:none!important;}
@media(max-width:980px){.product-fact-compact-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.product-fact-compact-list{grid-template-columns:1fr}}

/* Vertrauenskacheln: auswählbare Textsymbole */

.product-benefit-setting-fields select{width:100%}
.product-detail-benefits span{padding:9px 10px;border:1px solid var(--card-border);border-radius:9px;background:color-mix(in srgb,var(--card-bg) 92%,#f8fafc);display:flex;align-items:center;gap:7px;}
.product-benefit-icon{display:inline-grid;place-items:center;flex:0 0 1.25em;width:1.25em;height:1.25em;font-size:1.05em;line-height:1;color:currentColor}


/* Produktseite: Infokachel oben rechts, kein leerer Bildstretch und keine zweite volle Trennlinie */







@media(max-width:900px){.product-detail-heading,.product-purchase-actions,.product-purchase-facts,.product-detail-benefits{grid-column:1;}.product-detail-heading{grid-row:auto;}}


/* Vertrauenskacheln: Symbol 30 %, Text 70 %; Informationskachel bündig zur Warenkorb-Kachel */
.product-benefit-setting-fields{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:8px;display:grid!important;grid-template-columns:minmax(110px,30%) minmax(0,70%)!important;gap:8px;align-items:center;}
.product-benefit-setting-fields select,.product-benefit-setting-fields input{width:100%;min-width:0}








@media(max-width:760px){.product-purchase-layout{grid-template-columns:1fr;grid-template-columns:1fr!important;}.product-purchase-facts{order:2;max-height:none;overflow:visible;align-self:stretch!important;}}
@media(max-width:520px){.product-benefit-setting-fields{grid-template-columns:1fr;grid-template-columns:minmax(92px,30%) minmax(0,70%)!important;}}

/* Zahlungsmethoden unter Design – Allgemein */
.design-payment-methods{padding:18px}
.design-payment-methods h2{margin-bottom:4px}
.design-payment-method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}
.design-payment-method-option{display:flex;align-items:center;gap:9px;min-height:46px;margin:0;padding:8px 10px;border:1px solid var(--border,#d9dee7);border-radius:10px;background:var(--surface,#fff);cursor:pointer}
.design-payment-method-option>input{width:17px;height:17px;margin:0;flex:0 0 auto}
.design-payment-method-logo{display:flex;align-items:center;min-width:58px}
.payment-applepay{font-weight:700;color:#111}.payment-googlepay{font-weight:700;color:#202124}.payment-sepa{color:#0050a4;letter-spacing:.05em}.payment-invoice,.payment-prepayment{font-size:.68rem}
@media(max-width:960px){.design-payment-method-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.design-payment-method-grid{grid-template-columns:1fr}}


/* Produktdetail: Referenzlayout ohne leere Grid-Zeile */


.product-detail-heading{gap:12px;display:block!important;grid-column:1 / -1!important;grid-row:1!important;margin:0!important;padding-bottom:10px!important;border-bottom:1px solid var(--card-border,#dfe3ea)!important;}


.product-detail-main .product-detail-price-block:before{display:none!important;}




.product-purchase-facts{border:1px solid var(--card-border);border-radius:10px;background:var(--card-bg);padding:4px 12px;min-width:0;align-self:end;height:auto;max-height:calc(100% - 10px);overflow:auto;padding:4px 12px;align-self:end!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:4px 12px;grid-column:2;grid-row:1 / span 2;align-self:start!important;margin-top:0!important;height:auto!important;max-height:none!important;overflow:visible!important;grid-column:auto!important;grid-row:auto!important;align-self:end!important;margin:0!important;height:auto!important;max-height:none!important;overflow:visible!important;grid-column:2!important;grid-row:2!important;align-self:stretch!important;margin:0!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:4px 12px!important;}

.product-detail-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;font-size:.78rem;color:var(--muted);grid-column:1 / -1!important;grid-row:3!important;margin-top:4px!important;}
.product-detail-info:before,.product-detail-info:after{display:none!important;}
.product-detail-heading + hr,.product-detail-main > hr{display:none!important;}
@media(max-width:900px){
 
 .product-detail-heading,.product-detail-main,.product-purchase-facts,.product-detail-benefits{grid-column:1!important;grid-row:auto!important;}
 .product-purchase-facts{grid-row:auto;align-self:auto!important;}
}

/* Variantenwahl: zuerst Größe, danach verfügbare Varianten */
.product-variant-compact{display:flex;align-items:flex-start;gap:22px;display:flex;align-items:flex-start;gap:22px;flex-wrap:wrap;}
.product-variant-compact .variant-size-group{flex:0 0 auto}
.product-variant-compact .variant-color-group{flex:0 0 auto}
.variant-color-options,.variant-size-options{display:grid;grid-template-columns:repeat(3,max-content);gap:7px;display:grid!important;grid-template-columns:repeat(var(--variant-grid-columns,3),max-content)!important;grid-auto-flow:row;gap:7px;}
.variant-size-options{max-width:max-content}
.product-purchase-layout .variant-color-options,.product-purchase-layout .variant-size-options{gap:5px;grid-template-columns:repeat(var(--variant-grid-columns,3),max-content)!important;}
@media(max-width:520px){.product-variant-compact{display:grid;grid-template-columns:1fr}.variant-color-options,.variant-size-options{max-width:100%}}

/* Variantenwahl: Größen links, verfügbare Varianten dauerhaft rechts */
.product-purchase-layout .product-variant-picker{margin:0;padding:8px 10px;gap:7px;border-radius:10px;box-shadow:none;overflow-x:auto;}
.product-purchase-layout .product-variant-compact{gap:8px;
 display:grid!important;
 grid-template-columns:max-content max-content!important;
 align-items:start!important;
 justify-content:start!important;
 column-gap:18px!important;
 row-gap:0!important;
 flex-wrap:nowrap!important;
 min-width:max-content;}
.product-purchase-layout .product-variant-compact .variant-size-group,
.product-purchase-layout .product-variant-compact .variant-color-group{
 margin:0!important;
 min-width:0;
}
.product-purchase-layout .product-variant-picker:not(.product-variant-picker-swatches){
 grid-template-columns:minmax(120px,.8fr) minmax(150px,1.2fr)!important;
 align-items:end!important;
 column-gap:14px!important;
}
@media(max-width:820px){
 .product-purchase-layout .product-variant-picker:not(.product-variant-picker-swatches){
  grid-template-columns:minmax(120px,.8fr) minmax(150px,1.2fr)!important;
 }
}
@media(max-width:520px){
 .product-purchase-layout .product-variant-compact{
  display:grid!important;
  grid-template-columns:max-content max-content!important;
  column-gap:14px!important;
 }
}


/* Startseitenblock: automatisch ein-/ausblendende Produktkarten */
.home-product-slideshow{position:relative;overflow:hidden;margin-top:1.1rem}
.home-product-slideshow-track{display:grid;grid-template-columns:repeat(var(--slideshow-visible,3),minmax(0,1fr));gap:var(--card-gap,18px);min-height:280px}
.home-product-slide{grid-row:1;grid-column:1;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px);transition:opacity .65s ease,transform .65s ease,visibility .65s;min-width:0}
.home-product-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;transform:none;grid-column:calc(var(--slide-order,0) + 1)}
.home-product-slide .product-card{height:100%;}
.home-product-slideshow-dots{display:flex;justify-content:center;gap:7px;margin-top:14px}
.home-product-slideshow-dots button{width:9px;height:9px;min-width:9px;padding:0;border:0;border-radius:999px;background:color-mix(in srgb,var(--text-color,#17202a) 22%,transparent);cursor:pointer}
.home-product-slideshow-dots button.is-active{background:var(--text-color,#17202a);transform:scale(1.2)}
@media(max-width:900px){.home-product-slideshow{--slideshow-visible:2!important}}
@media(max-width:580px){.home-product-slideshow{--slideshow-visible:1!important}.home-product-slideshow-track{min-height:340px}}

/* Informationskachel: Zahlungsmethoden folgen der serverseitigen Reihenfolge und stehen zuerst. */
.product-purchase-facts dl>.product-payment-methods-row{display:block;min-height:0;margin:0 0 12px;padding:0 0 14px;border-bottom:1px solid var(--card-border)}
.product-payment-methods-row dd{display:block;min-height:0}
.product-purchase-facts .product-payment-methods{gap:.3rem;display:grid;width:100%;height:auto;align-content:start;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:32px;gap:7px;}
.product-purchase-facts .product-payment-methods-count-5,
.product-purchase-facts .product-payment-methods-count-6,
.product-purchase-facts .product-payment-methods-count-7,
.product-purchase-facts .product-payment-methods-count-8,
.product-purchase-facts .product-payment-methods-count-9{grid-template-columns:repeat(3,minmax(0,1fr))}
.product-purchase-facts .payment-mark{transform:scale(.88);transform-origin:left center;transform:none;transform-origin:center;width:100%;height:100%;min-height:28px;display:flex;align-items:center;justify-content:center;padding:4px 6px;box-sizing:border-box;white-space:nowrap;}
/* Sicherer Logout bei unverändertem Shopdesign */
.logout-inline-form{display:inline;margin:0}.logout-inline-form .logout-link{font:inherit;color:inherit;border:0;background:none;padding:0;cursor:pointer;text-decoration:inherit}

/* Adminmenü: Untermenüs verwenden exakt dieselbe Linkfarbe wie normale Menüeinträge. */
body.admin-page .sidebar .sidebar-submenu-toggle,
body.admin-page .sidebar .sidebar-submenu-toggle span,
body.admin-page .sidebar .sidebar-submenu-toggle b,
body.admin-page .sidebar .sidebar-submenu-toggle i {
  color: var(--admin-sidebar-text, #17202a);
}
body.admin-page .sidebar .sidebar-submenu-toggle:hover,
body.admin-page .sidebar .sidebar-submenu-toggle.active,
body.admin-page .sidebar .sidebar-submenu.is-open .sidebar-submenu-toggle {
  color: var(--admin-sidebar-text, #17202a);
}


/* Admin-Kopf: kompakter Abmelden-Symbolbutton rechts */
.admin-head-logout-form{margin:0 0 0 auto;flex:0 0 auto}
.admin-head-logout{width:40px;height:40px;display:inline-grid;place-items:center;padding:0;border:1px solid color-mix(in srgb,var(--admin-sidebar-text,#17202a) 22%,transparent);border-radius:9px;background:transparent;color:var(--admin-sidebar-text,#17202a);font:inherit;font-size:1.15rem;line-height:1;cursor:pointer}
.admin-head-logout:hover,.admin-head-logout:focus-visible{background:var(--admin-sidebar-active-bg,#111827);color:var(--admin-sidebar-active-text,#fff);border-color:var(--admin-sidebar-active-bg,#111827);outline:none}
.admin-head-logout:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--admin-sidebar-active-bg,#111827) 24%,transparent)}

/* Header search, compact cart and checkout cleanup */
.header-actions{display:flex;align-items:center;gap:14px}.header-search{margin:0;position:relative;width:40px;min-width:40px;flex:0 0 40px;z-index:12}.header-search-field{position:relative;width:40px;height:40px}.header-search-field input{position:absolute;right:0;top:0;height:40px;width:40px;opacity:0;padding:8px 44px 8px 12px;border-color:transparent;transition:width .18s ease,opacity .12s ease,border-color .12s ease,background-color .12s ease;pointer-events:none;z-index:1}.header-search.is-search-open .header-search-field input{width:var(--header-search-open-width,220px);opacity:1;border-color:var(--input-border,#d6dae1);background:var(--input-bg,#fff);pointer-events:auto;box-shadow:0 8px 24px rgba(15,23,42,.12);outline:0}.header-search:not(.is-search-open) .header-search-field input{width:40px;opacity:0;border-color:transparent!important;background:transparent;box-shadow:none!important;outline:0!important;pointer-events:none}.header-search-button{position:absolute;right:0;top:0;z-index:2;width:40px;height:40px;display:grid;place-items:center;border:0;background:transparent;color:inherit;cursor:pointer;padding:7px;border-radius:999px}.header-search-button:hover,.header-search-button:focus-visible{background:color-mix(in srgb,currentColor 8%,transparent)}.header-search-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.nav-cart{margin-left:auto;padding-left:22px;border-left:1px solid color-mix(in srgb,var(--header-text) 24%,transparent);margin-left:2px;}.cart-container{width:65%;max-width:calc(var(--container-width,1180px)*.65);margin-inline:auto}@media(max-width:980px){.cart-container{width:82%;max-width:none}}@media(max-width:760px){.cart-container{width:100%}.header-actions{gap:8px}.header-search.is-search-open .header-search-field input{width:var(--header-search-open-width,min(220px,62vw));max-width:calc(100vw - 28px)}}

/* Feste Produktfilter, Rabattcode und zweispaltiger Checkout */
.product-filter-bar,
.product-filter-bar:hover,
.product-filter-bar:focus-within{transform:none!important;animation:none!important;transition:none!important;box-shadow:var(--card-shadow,0 8px 28px rgba(15,23,42,.08))!important}
.discount-code-inline{display:inline-block;margin-left:0;font-size:.72em;font-weight:400;font-style:italic;letter-spacing:.01em;opacity:.72;vertical-align:.08em}
.checkout-container{max-width:1180px}


.checkout-meta-link{display:flex;justify-content:flex-end;margin-bottom:14px}
.checkout-progress .is-current{font-weight:700}
.checkout-progress a{color:inherit;text-decoration:none}
.checkout-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch}
.checkout-data-card,.checkout-payment-card{height:100%;box-sizing:border-box}.checkout-data-card h2,.checkout-payment-card h2{margin-top:0}
.checkout-payment-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.checkout-payment-option{display:grid;grid-template-columns:auto minmax(54px,72px) 1fr;align-items:center;gap:10px;border:1px solid var(--input-border,#d6dae1);border-radius:var(--radius,12px);padding:12px;cursor:pointer;min-height:64px;box-sizing:border-box}
.checkout-payment-option:has(input:checked){border-color:currentColor;box-shadow:0 0 0 1px currentColor inset}
.checkout-payment-option input{width:auto;margin:0}
.checkout-payment-option span{display:grid;gap:2px}
.checkout-payment-option small{opacity:.7}
.checkout-discount{display:grid;grid-template-columns:auto 1fr auto;align-items:baseline;gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid var(--input-border,#d6dae1)}
.checkout-discount em{font-size:.78rem;opacity:.72}
.checkout-total{margin:18px 0 0;padding-top:16px;border-top:1px solid var(--input-border,#d6dae1)}
.checkout-total div{display:flex;justify-content:space-between;gap:20px;font-size:1.08rem}
.checkout-total dd{margin:0;font-weight:800}

.checkout-completion .checkbox-label{margin:0}
.checkout-completion .btn{flex:0 0 auto}
@media(max-width:900px){.checkout-progress{margin-top:14px}.checkout-cards{grid-template-columns:1fr}.checkout-payment-options{grid-template-columns:repeat(2,minmax(0,1fr))}.checkout-completion{align-items:stretch;flex-direction:column}.checkout-completion .btn{width:100%}}

/* Checkout review and aligned progress */
.checkout-container .cart-heading-row{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:24px}.checkout-container .cart-heading-row h1{margin:0}.checkout-container .cart-progress{margin-left:auto}.review-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.72fr);gap:20px;margin-bottom:20px}.review-items{margin-bottom:20px}.review-items td small{display:block;margin-top:4px}.review-costs .cart-totals{margin:0}.review-confirm .checkbox-label{flex:1;display:flex;align-items:center;justify-content:flex-start;gap:9px;margin:0;text-align:left;line-height:1.45}.review-confirm .checkbox-label input{flex:0 0 auto;margin:0}.review-confirm .terms-copy{display:inline;white-space:normal}.review-confirm .btn{white-space:nowrap}@media(max-width:800px){.checkout-container .cart-heading-row{display:block}.checkout-container .cart-progress{margin-top:16px}.review-grid{grid-template-columns:1fr}.review-confirm{display:block}.review-confirm .btn{width:100%;margin-top:18px}}

@media(max-width:560px){.checkout-payment-options{grid-template-columns:1fr}}
/* Zahlungsarten auf „Deine Daten & Zahlung“ */
.checkout-payment-option>.checkout-payment-logo{display:flex;align-items:center;justify-content:center;gap:0}
.checkout-payment-logo.payment-applepay{font-weight:800;color:#111}
.checkout-payment-logo.payment-googlepay{font-weight:700;color:#3c4043}
.checkout-payment-logo.payment-sepa{font-weight:800;color:#005ea8}
.checkout-payment-logo.payment-invoice,.checkout-payment-logo.payment-prepayment{font-weight:700;color:#263238}

/* Checkout address layout and conditional newsletter offer */
.checkout-data-card .form-grid{grid-template-columns:repeat(12,minmax(0,1fr))}
.checkout-data-card .form-grid>div{grid-column:span 6}
.checkout-data-card .form-grid>.full{grid-column:1/-1}
.checkout-street-field{grid-column:span 6!important}.checkout-address-addition-field{grid-column:span 6!important}
.checkout-postal-field{grid-column:span 2!important}.checkout-city-field{grid-column:span 6!important}.checkout-country-field{grid-column:span 4!important}
.checkout-newsletter-offer{margin-top:18px;padding-top:16px;border-top:1px solid var(--card-border,#e2e5ea);display:grid;gap:12px}
.checkout-newsletter-offer strong{display:block}.checkout-newsletter-offer small{display:block;margin-top:4px;color:var(--muted,#667085)}
.checkout-newsletter-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}
.checkout-newsletter-consent{grid-column:1/-1;display:flex;gap:8px;align-items:flex-start;font-size:.82rem}.checkout-newsletter-consent input{width:auto;margin-top:2px}
.checkout-newsletter-form .btn{margin:0;white-space:nowrap}
@media(max-width:760px){.checkout-data-card .form-grid>div,.checkout-street-field,.checkout-address-addition-field,.checkout-postal-field,.checkout-city-field,.checkout-country-field{grid-column:1/-1!important}.checkout-newsletter-form{grid-template-columns:1fr}.checkout-newsletter-form .btn{width:100%}}

/* Checkout step alignment and clearer newsletter settings */
.checkout-completion{margin-top:22px;display:flex;align-items:center;justify-content:space-between;gap:20px;justify-content:flex-end;}
.checkout-newsletter-design-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.55fr);gap:24px;align-items:start;margin-bottom:20px}
.checkout-newsletter-design-head h2{margin:0 0 6px}
.checkout-newsletter-toggle{margin:0}
.checkout-newsletter-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding-top:20px;border-top:1px solid var(--admin-border,#dfe3e8)}
.checkout-newsletter-settings>.full{grid-column:1/-1}
.input-with-unit{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch}
.input-with-unit input{border-top-right-radius:0;border-bottom-right-radius:0}
.input-with-unit span{display:flex;align-items:center;padding:0 12px;border:1px solid var(--admin-border,#d6dae1);border-left:0;border-radius:0 var(--admin-radius,8px) var(--admin-radius,8px) 0;background:var(--admin-surface-soft,#f5f6f8);font-size:.82rem;font-weight:700}
.checkout-newsletter-consent-info{display:grid;gap:4px;padding:14px 16px;border-radius:10px;background:var(--admin-surface-soft,#f5f6f8)}
.checkout-newsletter-consent-info span{font-size:.84rem;color:var(--admin-muted,#667085)}
@media(max-width:800px){.checkout-newsletter-design-head,.checkout-newsletter-settings{grid-template-columns:1fr}.checkout-newsletter-settings>.full{grid-column:auto}.checkout-order-mode{margin-top:-8px}}

.checkout-newsletter-form .form-message{grid-column:1/-1;margin:0;color:var(--danger,#b42318);font-size:.85rem}.checkout-newsletter-success{margin:0;font-size:.9rem}


/* Monitoring unter Hilfe */

.monitoring-system-row{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:18px;align-items:stretch}.monitoring-system-row>section{margin:0;min-width:0}.monitoring-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.monitoring-check{display:flex;align-items:center;gap:12px;border:1px solid var(--border);border-radius:14px;padding:14px;background:var(--surface-soft,#f8fafc)}
.monitoring-check div{display:grid;gap:3px}.monitoring-check small{color:var(--muted)}
.monitoring-state{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;font-weight:800;flex:0 0 auto}
.monitoring-endpoint{display:grid;grid-template-columns:1fr 1fr;gap:14px}.monitoring-endpoint>div{display:grid;gap:7px}.monitoring-endpoint code{overflow-wrap:anywhere}
.monitoring-filter{display:grid;grid-template-columns:180px minmax(240px,1fr) auto;gap:12px;align-items:end;margin:16px 0}.monitoring-filter-action{padding-bottom:1px}
.monitoring-context{margin-top:7px}.monitoring-context summary{cursor:pointer;color:var(--muted);font-size:.9rem}.monitoring-context pre,.monitoring-log pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#111827;color:#e5e7eb;border-radius:12px;padding:12px;max-height:280px;overflow:auto;font-size:.78rem;line-height:1.5}
.monitoring-log-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.monitoring-log{min-width:0;border:1px solid var(--border);border-radius:14px;padding:14px}.monitoring-log h3{margin:0}
@media(max-width:900px){.monitoring-system-row{grid-template-columns:1fr}}@media(max-width:760px){.monitoring-check-grid,.monitoring-endpoint,.monitoring-log-grid{grid-template-columns:1fr}.monitoring-filter{grid-template-columns:1fr}.monitoring-filter-action .btn{width:100%}}

/* Newslettervorteil im Warenkorb */
.cart-newsletter-offer{flex:1 1 320px;max-width:430px;margin:0;padding:0 20px;border-top:0;border-left:1px solid var(--card-border,#e2e5ea);align-self:stretch;display:flex;flex-direction:column;justify-content:center}
.cart-newsletter-offer .checkout-newsletter-form{grid-template-columns:minmax(0,1fr) auto}
@media(max-width:980px){.cart-summary{flex-wrap:wrap}.cart-newsletter-offer{order:3;flex-basis:100%;max-width:none;padding:18px 0 0;border-left:0;border-top:1px solid var(--card-border,#e2e5ea)}}

/* Absatz vor dem Newsletter-Vorteilstext im Warenkorb */
.cart-newsletter-offer-title{margin:0 0 .55rem;line-height:1.45}

/* AGB- und Datenschutztext ohne künstliche Flex-Abstände */


/* Erweiterte Bewertungsverwaltung */
.admin-review-create{margin:18px 0 22px}
.admin-review-create h2{margin-bottom:4px}
.admin-review-edit{margin-top:16px;border-top:1px solid var(--border);padding-top:14px}
.admin-review-edit summary{cursor:pointer;font-weight:700;margin-bottom:14px}
.admin-review-edit[open] summary{margin-bottom:18px}
.review-moderation-card .badge+.badge{margin-left:6px}

/* Bewertungsverwaltung als Kacheln und kompakte Rabattaktionen */
.review-status-tiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:18px 0 22px}
.review-status-tiles .status-tile{min-height:96px}
.review-discount-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.product-review-summary-stars{grid-row:1/3;font-size:1.35rem;line-height:1;color:#d97706;color:#15803d!important;}
@media(max-width:900px){.review-status-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.review-status-tiles{grid-template-columns:1fr}}
/* Kompakter Installationsverlauf mit breiter Änderungsspalte */
.addon-history-table{table-layout:fixed;min-width:1120px}
.addon-history-table .addon-history-date{width:14%}
.addon-history-table .addon-history-package{width:16%}
.addon-history-table .addon-history-name{width:12%}
.addon-history-table .addon-history-files{width:8%}
.addon-history-table .addon-history-changes{width:50%}
.addon-history-table th,.addon-history-table td{padding:13px 15px;vertical-align:top}
.addon-history-table th:nth-child(-n/**/+4),.addon-history-table td:nth-child(-n/**/+4){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.addon-history-table th:last-child,.addon-history-table td:last-child{white-space:normal;overflow-wrap:anywhere;line-height:1.45}


/* Shop-/Funnel-System und Funnel-Live-Builder */
.homepage-system-card{margin-bottom:22px}.homepage-system-switch{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.homepage-system-switch label{display:flex;align-items:center;gap:7px;font-weight:700}.homepage-system-switch input{width:auto}.funnel-editor-card{margin-top:18px}.funnel-toolbox .builder-palette-card{appearance:none;text-align:left;cursor:pointer}.funnel-live-preview{padding:18px;max-height:75vh;overflow:auto;background:#f8fafc}.funnel-preview-section h3{margin:6px 0}.funnel-preview-section p{white-space:pre-wrap}.funnel-preview-section.theme-dark{background:#111827;color:#fff}.funnel-preview-section.theme-dark h3{color:#fff}.funnel-preview-section.theme-accent{background:var(--accent);color:#fff}.funnel-preview-section.theme-accent h3{color:#fff}.funnel-preview-section.theme-soft{background:#eef2ff}.funnel-flow{grid-template-columns:repeat(4,1fr)}
body.page-home .funnel-section{padding:clamp(54px,8vw,110px) 0;text-align:center}.funnel-section .container{max-width:980px}.funnel-section h1{font-size:clamp(2.4rem,6vw,5.5rem);line-height:1.02;margin:.25em 0}.funnel-section h2{font-size:clamp(2rem,4vw,3.7rem);line-height:1.08}.funnel-theme-soft{background:#f1f5f9}.funnel-theme-dark{background:#111827;color:#fff}.funnel-theme-dark h1,.funnel-theme-dark h2,.funnel-theme-dark h3{color:#fff}.funnel-theme-accent h1,.funnel-theme-accent h2,.funnel-theme-accent h3{color:#fff}.funnel-copy{max-width:760px;margin:20px auto;font-size:1.12em}.funnel-item-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin-top:28px}.funnel-item{background:rgba(255,255,255,.8);color:#17202a;padding:24px;border-radius:18px;box-shadow:0 10px 30px rgba(15,23,42,.08)}.funnel-item span{font-size:1.8rem;font-weight:900}.funnel-product-offer{display:grid;grid-template-columns:minmax(220px,420px) minmax(260px,1fr);align-items:center;gap:40px;text-align:left;margin:35px auto 0;padding:30px;background:#fff;color:#17202a;border-radius:24px;box-shadow:0 24px 70px rgba(15,23,42,.18)}.funnel-product-offer img{width:100%;max-height:430px;object-fit:contain;border-radius:18px}.funnel-price{display:block;font-size:2rem;margin:18px 0}.funnel-cta{margin-top:24px}@media(max-width:780px){.funnel-builder-workspace{grid-template-columns:1fr}.funnel-product-offer{grid-template-columns:1fr}.funnel-flow{grid-template-columns:1fr 1fr}}
.funnel-template-option:hover{transform:translateY(-2px);box-shadow:var(--surface-shadow)}.funnel-template-option.is-selected,.funnel-template-option:has(input:checked){border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 16%,transparent)}.funnel-template-option input{position:absolute;opacity:0;pointer-events:none}.funnel-template-option strong{font-size:.98rem}.funnel-template-option small{color:var(--muted);line-height:1.35}.funnel-template-swatch.template-conversion{background:#fff7ed}.funnel-template-swatch.template-conversion i{background:#f97316}.funnel-template-swatch.template-conversion i:nth-child(2){background:#111827}.funnel-template-swatch.template-conversion i:nth-child(3){background:#fff}.funnel-template-swatch.template-story{background:#f7f1e8}.funnel-template-swatch.template-story i{background:#9f3d2f}.funnel-template-swatch.template-story i:nth-child(2),.funnel-template-swatch.template-story i:nth-child(3){background:#d7b9a7}.funnel-template-swatch.template-premium{background:#0c0c0e}.funnel-template-swatch.template-premium i{background:#c7a45d}.funnel-template-swatch.template-premium i:nth-child(2),.funnel-template-swatch.template-premium i:nth-child(3){background:#28282d}.funnel-template-swatch.template-bold{background:#ffe600}.funnel-template-swatch.template-bold i{background:#09090b}.funnel-template-swatch.template-bold i:nth-child(2){background:#1d4ed8}.funnel-template-swatch.template-bold i:nth-child(3){background:#fff}.funnel-template-swatch.template-minimal{background:#fff}.funnel-template-swatch.template-minimal i{background:#171717}.funnel-template-swatch.template-minimal i:nth-child(2){background:#2563eb}.funnel-template-swatch.template-minimal i:nth-child(3){background:#dedede}@media(max-width:1100px){.funnel-template-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.funnel-template-grid{grid-template-columns:1fr}}
.funnel-design-groups>section{padding:20px;border:1px solid var(--card-border);border-radius:14px;background:color-mix(in srgb,var(--card-bg) 96%,#f8fafc)}.funnel-design-groups h3{margin:0 0 14px}.funnel-template-option input:focus-visible+.funnel-template-swatch{outline:3px solid color-mix(in srgb,var(--appearance-accent,#4f46e5) 32%,transparent);outline-offset:3px}

/* Funnel checkout: isolated alternative for homepage_system=funnel */
body[class*="funnel-template-"] .funnel-checkout{background:linear-gradient(180deg,var(--funnel-surface),color-mix(in srgb,var(--funnel-surface) 82%,#fff));color:var(--funnel-text);font-family:var(--funnel-body-font);min-height:100vh;padding:clamp(32px,6vw,84px) 0}
.funnel-checkout-shell{max-width:var(--funnel-container);margin:auto}.funnel-checkout-intro{max-width:760px;margin:0 0 32px}.funnel-checkout-intro h1{font-family:var(--funnel-heading-font);font-size:clamp(2rem,5vw,4.2rem);line-height:1.02;margin:.35rem 0 1rem}.funnel-checkout-intro p{font-size:1.08rem;max-width:650px}.funnel-checkout-kicker{text-transform:uppercase;letter-spacing:.13em;font-weight:900;font-size:.75rem;color:var(--funnel-primary)}
.funnel-checkout-form{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);gap:28px;align-items:start}.funnel-checkout-main{display:grid;gap:18px}.funnel-checkout-panel,.funnel-checkout-summary{background:var(--funnel-card);border-radius:var(--funnel-card-radius);box-shadow:var(--funnel-shadow);border:1px solid color-mix(in srgb,var(--funnel-secondary) 13%,transparent)}.funnel-checkout-panel{padding:clamp(20px,4vw,34px)}.funnel-step{display:flex;gap:14px;align-items:flex-start;margin-bottom:22px}.funnel-step>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--funnel-primary);color:var(--funnel-button-text);font-weight:900;flex:0 0 auto}.funnel-step h2{margin:0;font-family:var(--funnel-heading-font)}.funnel-step p{margin:.25rem 0 0;opacity:.72}
.funnel-payment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.funnel-payment-option{display:flex;align-items:center;gap:10px;padding:15px;border:1px solid color-mix(in srgb,var(--funnel-secondary) 20%,transparent);border-radius:var(--funnel-button-radius);cursor:pointer;font-weight:800}.funnel-payment-option:has(input:checked){border-color:var(--funnel-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--funnel-primary) 18%,transparent);background:color-mix(in srgb,var(--funnel-primary) 7%,var(--funnel-card))}.funnel-payment-option input{width:auto}.funnel-checkout-consent .checkbox-label{align-items:flex-start;margin-top:14px}.funnel-checkout-consent .checkbox-label input{width:auto;margin-top:.25em}
.funnel-checkout-summary{position:sticky;top:24px;padding:28px}.funnel-checkout-summary h2{font-family:var(--funnel-heading-font);font-size:1.7rem}.funnel-checkout-item{display:flex;justify-content:space-between;gap:18px;padding:15px 0;border-bottom:1px solid color-mix(in srgb,var(--funnel-secondary) 12%,transparent)}.funnel-checkout-item div{display:grid}.funnel-checkout-item small{opacity:.65}.funnel-choice-proof{margin:22px 0;padding:18px;border-radius:calc(var(--funnel-card-radius) * .7);background:color-mix(in srgb,var(--funnel-accent) 24%,var(--funnel-card))}.funnel-choice-proof p{margin:.4rem 0 0}.funnel-buy-button{width:100%;min-height:56px;border-radius:var(--funnel-button-radius);background:var(--funnel-primary);color:var(--funnel-button-text);font-size:1.02rem}.funnel-checkout-security{display:block;text-align:center;margin-top:12px;opacity:.65}
@media(max-width:900px){.funnel-checkout-form{grid-template-columns:1fr}.funnel-checkout-summary{position:static}.funnel-payment-grid{grid-template-columns:1fr}}

/* Funnel checkout administration and success */
.funnel-checkout-newsletter{background:color-mix(in srgb,var(--funnel-accent) 18%,var(--funnel-card))}.funnel-success{min-height:70vh;display:grid;align-items:center}.funnel-success-card{max-width:760px;padding:clamp(32px,6vw,72px);text-align:center;background:var(--funnel-card);border:1px solid color-mix(in srgb,var(--funnel-secondary) 14%,transparent);border-radius:var(--funnel-card-radius);box-shadow:var(--funnel-shadow)}.funnel-success-card h1{font-family:var(--funnel-heading-font);font-size:clamp(2.2rem,6vw,4.6rem);line-height:1.02;margin:.4rem 0 1rem}.funnel-success-card p{font-size:1.08rem;line-height:1.7;margin:0 auto 24px;max-width:620px}
/* Funnel builder: detail layouts and automatic preview */
.funnel-layout-split_reverse .funnel-section-content{order:2}.funnel-layout-split_reverse .funnel-section-media{order:1}.funnel-layout-centered .funnel-section-content{max-width:860px;margin:auto;text-align:center}.funnel-align-center .funnel-section-content{text-align:center}.funnel-align-right .funnel-section-content{text-align:right}.funnel-section-media img{display:block;width:100%;max-height:620px;object-fit:cover;border-radius:var(--funnel-card-radius);box-shadow:var(--funnel-shadow);border:var(--funnel-border-width,1px) solid var(--funnel-border)}.funnel-image-top .funnel-section-media{order:-1}.funnel-image-bottom .funnel-section-media{order:5}.funnel-kicker{display:block;margin:10px 0 12px;color:var(--funnel-primary);font-weight:850;text-transform:uppercase;letter-spacing:.1em;font-size:.78rem}.funnel-subheading{max-width:760px;font-size:1.18rem;line-height:1.6;color:var(--funnel-muted);margin:.65rem 0 1rem}.funnel-align-center .funnel-subheading{margin-left:auto;margin-right:auto}.funnel-section h1,.funnel-section h2{font-size:calc(clamp(2rem,5vw,4.8rem) * var(--funnel-heading-scale,100) / 100)}.funnel-theme-soft,.funnel-theme-dark,.funnel-theme-accent{border-radius:var(--funnel-section-radius,0)}.funnel-theme-accent{background:var(--accent);color:#fff;background:linear-gradient(135deg,var(--funnel-hero-from),var(--funnel-hero-to));}.funnel-preview-section.align-center{text-align:center}.funnel-preview-section.align-right{text-align:right}.funnel-preview-image{padding:18px;margin-bottom:12px;border:1px dashed currentColor;border-radius:12px;opacity:.6}.funnel-preview-section em{display:block;margin:10px 0;color:var(--funnel-success)}@media(max-width:800px){.funnel-layout-split .funnel-section-layout,.funnel-layout-split_reverse .funnel-section-layout{grid-template-columns:1fr}.funnel-layout-split_reverse .funnel-section-content,.funnel-layout-split_reverse .funnel-section-media{order:initial}}

/* Funnel-Warenkorb: kompakte Summen- und Aktionskachel unabhängig von der Infospalte */






@media(max-width:860px){body[class*="funnel-template-"].page-cart .cart-summary{grid-template-columns:1fr!important}body[class*="funnel-template-"].page-cart .cart-summary-main,body[class*="funnel-template-"].page-cart .cart-summary-action,body[class*="funnel-template-"].page-cart .funnel-cart-purchase-details{grid-column:1;grid-row:auto}body[class*="funnel-template-"].page-cart .funnel-cart-purchase-details{margin:0 24px 24px!important}}

/* Funnel-Checkout: aktivierte Zahlungsmöglichkeiten mit den vorhandenen Markenlogos */
body[class*="funnel-template-"] .funnel-payment-option{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px;min-height:62px}
body[class*="funnel-template-"] .funnel-payment-option>input{position:absolute;opacity:0;pointer-events:none}
body[class*="funnel-template-"] .funnel-payment-option__mark{display:flex;align-items:center;min-width:84px}
body[class*="funnel-template-"] .funnel-payment-option__mark .payment-mark{min-width:72px}
body[class*="funnel-template-"] .funnel-payment-option__label{font-weight:750}


/* Funnel Checkout: klare Auswahl und Checkbox-Zuordnung */
.funnel-checkout-consent>.checkbox-label,.funnel-checkout-newsletter>.checkbox-label{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:12px;margin-top:14px;padding:15px 16px;border:1px solid var(--funnel-border,#d8dee8);border-radius:var(--funnel-card-radius,14px);background:var(--funnel-card,#fff)}.funnel-checkout-consent>.checkbox-label input,.funnel-checkout-newsletter>.checkbox-label input{margin:3px 0 0}.funnel-cart-item-content{display:block;max-width:620px;white-space:normal;line-height:1.45}


/* Funnel checkout layout and configuration refinements */





.funnel-layout-split .funnel-section-layout,.funnel-layout-split_reverse .funnel-section-layout{grid-template-columns:minmax(0,1.08fr) minmax(280px,.92fr);align-items:center;}


.funnel-payment-settings{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;}
.funnel-payment-setting{margin:0;padding:14px 16px;border:1px solid var(--border,#d8dee8);border-radius:12px;background:#fff;align-items:center;position:relative;display:grid;place-items:center;gap:8px;min-height:96px;margin:0;padding:14px;border:2px solid #dbe2ea;border-radius:14px;background:#fff;cursor:pointer;text-align:center;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;}
.funnel-payment-setting:hover{transform:translateY(-1px);border-color:#aab7c7}
.funnel-payment-setting:has(input:checked){border-color:var(--accent,#111827);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent,#111827) 14%,transparent)}
.funnel-payment-setting:has(input:checked)::after{content:"✓";position:absolute;top:8px;right:9px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--accent,#111827);color:#fff;font-size:.75rem;font-weight:900}
.funnel-payment-setting__logo{display:flex;justify-content:center;align-items:center;min-height:32px}.funnel-payment-setting__name{font-size:.84rem;font-weight:800;color:#344054}
.funnel-option-list{display:grid;gap:12px}.funnel-option-toggle{display:grid;grid-template-columns:22px minmax(0,1fr);gap:12px;align-items:start;margin:0;padding:15px;border:1px solid #dbe2ea;border-radius:13px;background:#f8fafc}.funnel-option-toggle input{width:auto;margin:3px 0 0}.funnel-option-toggle span,.funnel-option-toggle strong,.funnel-option-toggle small{display:block}.funnel-option-toggle small{margin-top:4px;color:#64748b;line-height:1.45}
.funnel-payment-empty{grid-column:1/-1;margin:0;padding:16px;border:1px solid #f1c7c7;border-radius:12px;background:#fff5f5;color:#8f1d1d}
@media(max-width:900px){.funnel-checkout-config-row{grid-template-columns:1fr}}

/* Funnel checkout configuration: fixed 3-column payment grid and editable purchase details */

.funnel-detail-editor{display:grid;gap:12px}
.funnel-detail-editor__row{display:grid;grid-template-columns:minmax(150px,.32fr) minmax(0,1fr);gap:14px;align-items:end;padding:14px;border:1px solid #dbe2ea;border-radius:13px;background:#f8fafc}
.funnel-detail-editor__row label{margin:0}.funnel-detail-editor__row label>span{display:block;margin-bottom:6px;font-weight:700}
@media(max-width:980px){.funnel-checkout-payment-config .funnel-payment-settings{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.funnel-checkout-payment-config .funnel-payment-settings,.funnel-detail-editor__row{grid-template-columns:1fr}}

.funnel-confidence-editor__row{grid-template-columns:minmax(130px,.65fr) minmax(220px,1fr) minmax(280px,1.4fr)!important}@media(max-width:900px){.funnel-confidence-editor__row{grid-template-columns:1fr!important}}

/* Abhängige Funnel-Checkout-Bereiche */
.funnel-dependent-section{margin:0;padding:20px;border:1px solid #dbe2ea;border-radius:14px;background:#fff;min-width:0}
.funnel-dependent-section>legend{padding:0 8px;font-size:1.2rem;font-weight:800}
.funnel-dependent-section.is-disabled{opacity:.48;background:#f1f5f9}
.funnel-dependent-section.is-disabled *{cursor:not-allowed}

/* Funnel-Warenkorb: stabile Zweispalten-Anordnung mit Kaufdetails rechts */


body[class*="funnel-template-"].page-cart .cart-newsletter-offer{grid-area:newsletter!important;min-width:0}

body[class*="funnel-template-"].page-cart .funnel-cart-purchase-details{grid-column:2;grid-row:1 / span 2;align-self:start;margin:24px 24px 24px 0!important;height:auto;
  grid-area:details!important;
  width:auto!important;
  min-width:0!important;
  margin:24px 24px 24px 0!important;
  align-self:start!important;}
@media(max-width:900px){
  body[class*="funnel-template-"].page-cart .cart-summary{
    grid-template-columns:1fr!important;
    grid-template-areas:"main" "newsletter" "details" "action"!important;
  }
  body[class*="funnel-template-"].page-cart .funnel-cart-purchase-details{margin:0 24px 20px!important}
}

/* Konfiguration → Checkout: zwei Hauptkarten nebeneinander, drei Zahlungsarten je Zeile */



@media(max-width:720px){.funnel-checkout-payment-config .funnel-payment-settings{grid-template-columns:1fr!important}}

/* Funnel-Warenkorb: zweispaltige Adminbearbeitung und flexible leere Bereiche */
.funnel-cart-admin-editor{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(420px,1.45fr);gap:22px;align-items:start}
.funnel-cart-admin-editor__primary,.funnel-cart-admin-editor__items{display:grid;gap:14px}
.funnel-cart-admin-editor__primary>div{display:grid;gap:6px}
.funnel-cart-admin-editor__primary label{font-weight:700}
.funnel-cart-admin-editor__items .funnel-detail-editor__row{margin:0}
@media(max-width:980px){.funnel-cart-admin-editor{grid-template-columns:1fr}}

/* Funnel-Warenkorb 2026-07: konsistente Seitenleiste und saubere Summen */






body[class*="funnel-template-"].page-cart .funnel-cart-summary-side .cart-newsletter-offer{
  border-top:1px solid color-mix(in srgb,var(--funnel-text,#17202a) 12%,transparent)!important;
  border-radius:var(--funnel-card-radius,14px);
  background:color-mix(in srgb,var(--funnel-accent,#eef2ff) 18%,var(--funnel-card,#fff));
}
body[class*="funnel-template-"].page-cart .cart-totals{align-content:start;
  display:grid;
  gap:0;
  margin:18px 0 0;}
body[class*="funnel-template-"].page-cart .cart-totals>div{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:20px;
  align-items:baseline;
  padding:8px 0;
}
body[class*="funnel-template-"].page-cart .cart-totals dt,
body[class*="funnel-template-"].page-cart .cart-totals dd{margin:0}
body[class*="funnel-template-"].page-cart .cart-totals dd{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
body[class*="funnel-template-"].page-cart .cart-total-row{margin-top:6px;padding-top:14px!important;border-top:1px solid color-mix(in srgb,var(--funnel-text,#17202a) 16%,transparent)}
body[class*="funnel-template-"].page-cart .discount-box .inline-form{display:grid;grid-template-columns:auto minmax(120px,1fr) auto;gap:10px;align-items:center}
body[class*="funnel-template-"].page-cart .cart-summary-action .btn{max-width:360px;display:block;margin-inline:auto;width:min(100%,360px);text-align:center;width:min(100%,380px)!important;margin:0 auto!important;}
body[class*="funnel-template-"].page-cart .cart-summary-action small{display:block;width:100%;text-align:center;width:100%;margin-top:8px;text-align:center;}
@media(max-width:900px){
  body[class*="funnel-template-"].page-cart .cart-summary,
  body[class*="funnel-template-"].page-cart .cart-summary--with-side{
    grid-template-columns:1fr!important;
    grid-template-areas:"main" "side" "action"!important;
    gap:20px!important;
  }
  body[class*="funnel-template-"].page-cart .funnel-cart-summary-side{padding:20px 0 0;border-left:0;border-top:1px solid color-mix(in srgb,var(--funnel-text,#17202a) 14%,transparent)}
}
@media(max-width:620px){
  body[class*="funnel-template-"].page-cart .cart-summary{padding:18px!important}
  body[class*="funnel-template-"].page-cart .discount-box .inline-form{grid-template-columns:1fr}
  body[class*="funnel-template-"].page-cart .discount-box .inline-form .btn{width:100%}
}

/* Konfiguration → Checkout: 50/50 und klickbare Optionskacheln */


.funnel-checkout-payment-config .funnel-payment-settings{grid-template-columns:repeat(3,minmax(0,1fr));display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;}





.funnel-option-card span,.funnel-option-card strong,.funnel-option-card small{display:block}
.funnel-option-card strong{margin-bottom:5px;font-size:.96rem}

@media(max-width:1080px){.funnel-checkout-config-row{grid-template-columns:1fr!important;grid-template-columns:1fr!important;}}
@media(max-width:720px){
  .funnel-checkout-payment-config .funnel-payment-settings,
  .funnel-option-grid{grid-template-columns:1fr!important}
}
.funnel-design-studio{overflow:hidden}.funnel-style-picker{padding:4px 0 24px}.section-heading,.funnel-design-toolbar,.funnel-preset-card{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}.section-heading>p{max-width:520px;color:var(--muted)}.eyebrow{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--muted,#667085);display:block;margin-bottom:6px;font-size:.72rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase;color:var(--accent);}.funnel-template-grid{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:14px;margin-top:18px;grid-template-columns:repeat(5,minmax(170px,1fr));}.funnel-template-option em{font-size:.78rem;line-height:1.45;color:var(--muted);font-style:normal}.funnel-design-toolbar{margin:8px -24px 0;padding:24px;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 8%,var(--card-bg)),var(--card-bg));border-block:1px solid var(--card-border)}.funnel-design-groups{display:grid;gap:18px;margin-top:22px;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;}.funnel-design-panel{padding:24px!important}.funnel-design-panel--wide{grid-column:1/-1}.panel-title{display:flex;gap:14px;margin-bottom:20px}.panel-title>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--accent);color:#fff;font-weight:900}.panel-title h3,.panel-title p{margin:0}.panel-title p{margin-top:4px;color:var(--muted)}.funnel-color-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;margin-bottom:20px}.funnel-color-control{padding:12px;border:1px solid var(--card-border);border-radius:12px;background:var(--card-bg)}.funnel-color-control>span{display:block;min-height:34px;font-size:.82rem;font-weight:750}.funnel-color-control input{width:50px;height:38px;padding:2px}.funnel-color-control code{font-size:.72rem}.toggle-row{display:flex!important;align-items:center;gap:10px}.toggle-row input{width:auto}.funnel-preset-card{margin-top:18px}@media(max-width:1180px){.funnel-template-grid{grid-template-columns:repeat(3,1fr)}.funnel-color-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:820px){.funnel-design-groups{grid-template-columns:1fr}.funnel-color-grid{grid-template-columns:repeat(2,1fr)}.section-heading,.funnel-design-toolbar,.funnel-preset-card{flex-direction:column}.funnel-template-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.funnel-template-grid,.funnel-color-grid{grid-template-columns:1fr}}

/* Funnel-Ausrichtung, Checkout-Alternativen und Warenkorb-Feinschliff */
body[class*="funnel-template-"] .funnel-section-heading,
body[class*="funnel-template-"] .funnel-section-content{width:min(100%,var(--funnel-text-width));text-align:left!important}
body[class*="funnel-template-"] .funnel-align-left .funnel-section-heading,
body[class*="funnel-template-"] .funnel-align-left .funnel-section-content{margin-left:0;margin-right:auto}
body[class*="funnel-template-"] .funnel-align-center .funnel-section-heading,
body[class*="funnel-template-"] .funnel-align-center .funnel-section-content{margin-left:auto;margin-right:auto;text-align:left!important}
body[class*="funnel-template-"] .funnel-align-right .funnel-section-heading,
body[class*="funnel-template-"] .funnel-align-right .funnel-section-content{margin-left:auto;margin-right:0;text-align:left!important}
body[class*="funnel-template-"] .funnel-align-center .funnel-subheading{margin-left:0;margin-right:0}
body[class*="funnel-template-"] .funnel-section>.container{width:min(calc(100% - 40px),var(--funnel-container));max-width:var(--funnel-container);margin-inline:auto}

.funnel-checkout-config-row{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:18px;align-items:start;display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr)!important;gap:18px!important;align-items:start!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;}
.funnel-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch;}
.funnel-option-card{
  position:relative;
  display:grid;
  grid-template-columns:22px minmax(0,1fr);
  gap:12px;
  align-items:start;
  min-height:106px;
  margin:0;
  padding:16px;
  border:2px solid #dbe2ea;
  border-radius:14px;
  background:#fff;
  cursor:pointer;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background .18s ease;position:relative;display:grid;grid-template-columns:24px minmax(0,1fr);gap:11px;align-items:start;margin:0;padding:15px;border:2px solid #dbe2ea;border-radius:14px;background:#fff;cursor:pointer;transition:.18s ease;}
.funnel-option-card:hover{transform:translateY(-1px);border-color:#aab7c7;border-color:#aab7c7;transform:translateY(-1px);}
.funnel-option-card:has(input:checked){border-color:var(--accent,#111827);background:color-mix(in srgb,var(--accent,#111827) 5%,#fff);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent,#111827) 14%,transparent);border-color:var(--accent,#111827);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent,#111827) 12%,transparent);}
.funnel-option-card input{width:18px;height:18px;margin:2px 0 0;accent-color:var(--accent,#111827);width:18px;height:18px;margin:2px 0 0;}
.funnel-option-card small{color:#64748b;line-height:1.45;margin-top:4px;color:#64748b;line-height:1.4;}
.funnel-option-or{display:grid;place-items:center;min-height:54px;font-size:.72rem;font-weight:900;letter-spacing:.16em;color:#64748b}
@media(max-width:760px){.funnel-option-grid{grid-template-columns:1fr}.funnel-option-or{min-height:auto;padding:2px}}


body[class*="funnel-template-"].page-cart .funnel-cart-summary-side .funnel-cart-purchase-details,
body[class*="funnel-template-"].page-cart .funnel-cart-summary-side .cart-newsletter-offer{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:20px 22px!important;
  border-left:0!important;
  align-self:start!important;
  box-sizing:border-box;align-self:center!important;margin-block:auto!important;}
body[class*="funnel-template-"].page-cart .cart-heading-row{display:flex;align-items:baseline;justify-content:flex-start;gap:24px;flex-wrap:wrap}
body[class*="funnel-template-"].page-cart .cart-heading-row h1{margin:0}
body[class*="funnel-template-"].page-cart .cart-progress{margin:0;display:flex;align-items:center;gap:8px;white-space:nowrap}
body[class*="funnel-template-"].page-cart .funnel-cart-confidence{border-radius:var(--funnel-section-radius,var(--funnel-card-radius));background:linear-gradient(var(--funnel-gradient-angle),color-mix(in srgb,var(--funnel-card) 92%,var(--funnel-primary)),var(--funnel-card));border:var(--funnel-border-width) solid var(--funnel-border);box-shadow:var(--funnel-shadow)}

/* Funnel Builder: Eyecatcher, getrennte Ausrichtungen und Bildmanager */

.funnel-header-align-center .funnel-section-heading{align-items:center;text-align:center}
.funnel-header-align-right .funnel-section-heading{align-items:flex-end;text-align:right}

.funnel-header-align-center .funnel-section-heading .funnel-subheading{margin-left:auto;margin-right:auto}
.funnel-header-align-right .funnel-section-heading .funnel-subheading{margin-left:auto}
.funnel-align-left .funnel-section-content{text-align:left}


.funnel-media-manager{margin-bottom:20px}.funnel-media-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;margin-top:16px}.funnel-media-strip figure{margin:0}.funnel-media-strip img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}.funnel-media-strip figcaption{font-size:.75rem;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.funnel-selected-image img{display:block;max-width:220px;max-height:140px;object-fit:cover;border-radius:12px;margin-top:10px}.funnel-preview-image-real{display:block;width:100%;max-height:180px;object-fit:cover;border-radius:12px;margin-bottom:12px}

/* Funnelblock-Bilder: feste unsichtbare Zweispaltenstruktur und blockgebundene Effekte */


body[class*="funnel-template-"] .funnel-layout-split_reverse .funnel-section-layout{grid-template-areas:"media content"}
body[class*="funnel-template-"] .funnel-section-content{grid-area:content;min-width:0;align-self:center}

body[class*="funnel-template-"] .funnel-section-media-frame{
  position:relative;
  display:block;
  width:100%;
  min-height:clamp(260px,36vw,560px);
  overflow:hidden;
  border-radius:var(--funnel-image-radius,var(--funnel-card-radius));
  border:var(--funnel-border-width,1px) solid var(--funnel-border);
  box-shadow:var(--funnel-shadow);
  background:color-mix(in srgb,var(--funnel-card) 88%,transparent);
  transform:translateZ(0);
}
body[class*="funnel-template-"] .funnel-section-media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-height:none;
  object-fit:cover;
  border:0;
  border-radius:inherit;
  box-shadow:none;
}
body[class*="funnel-template-"] .funnel-image-effect-float .funnel-section-media-frame{animation:funnelImageFloat 5.5s ease-in-out infinite}
body[class*="funnel-template-"] .funnel-image-effect-pulse .funnel-section-media-frame{animation:funnelImagePulse 4.2s ease-in-out infinite}
body[class*="funnel-template-"] .funnel-image-effect-zoom .funnel-section-media img{animation:funnelImageZoom 12s ease-in-out infinite alternate}
body[class*="funnel-template-"] .funnel-image-effect-reveal_left .funnel-section-media-frame{animation:funnelImageRevealLeft .9s cubic-bezier(.2,.75,.25,1) both}
body[class*="funnel-template-"] .funnel-image-effect-reveal_right .funnel-section-media-frame{animation:funnelImageRevealRight .9s cubic-bezier(.2,.75,.25,1) both}
body[class*="funnel-template-"] .funnel-image-effect-rise .funnel-section-media-frame{animation:funnelImageRise .9s cubic-bezier(.2,.75,.25,1) both}
body[class*="funnel-template-"] .funnel-image-effect-tilt .funnel-section-media-frame{animation:funnelImageTilt 6s ease-in-out infinite;transform-origin:center}
body[class*="funnel-template-"] .funnel-image-effect-glow .funnel-section-media-frame{animation:funnelImageGlow 4.8s ease-in-out infinite}
body[class*="funnel-template-"] .funnel-image-effect-depth .funnel-section-media-frame{animation:funnelImageDepth 7s ease-in-out infinite;perspective:900px}
body[class*="funnel-template-"] .funnel-image-effect-background_fade .funnel-section-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"content";min-height:clamp(420px,58vw,760px);align-items:center}
body[class*="funnel-template-"] .funnel-image-effect-background_fade .funnel-section-content{position:relative;z-index:2;width:min(100%,var(--funnel-text-width,760px))}
body[class*="funnel-template-"] .funnel-image-effect-background_fade .funnel-section-heading{position:relative;z-index:2}
body[class*="funnel-template-"] .funnel-image-effect-background_fade .funnel-section-media{position:absolute;inset:0;z-index:-1;display:block}
body[class*="funnel-template-"] .funnel-image-effect-background_fade .funnel-section-media-frame{min-height:100%;height:100%;border:0;border-radius:0;box-shadow:none;background:transparent}
body[class*="funnel-template-"] .funnel-image-effect-background_fade .funnel-section-media-frame::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,color-mix(in srgb,var(--funnel-bg) 94%,transparent) 0%,color-mix(in srgb,var(--funnel-bg) 72%,transparent) 48%,color-mix(in srgb,var(--funnel-bg) 18%,transparent) 100%)}
body[class*="funnel-template-"] .funnel-image-effect-background_fade .funnel-section-media img{opacity:.58;animation:funnelImageBackground 14s ease-in-out infinite alternate}
.funnel-media-preview,.funnel-preview-media{position:relative;display:block;overflow:hidden;border-radius:12px}
.funnel-media-preview img,.funnel-preview-media img{display:block;width:100%;height:100%;object-fit:cover}
.funnel-media-preview{width:min(100%,220px);height:140px;margin-top:10px}
.funnel-preview-media{height:180px;margin-bottom:12px}
.funnel-media-preview.funnel-image-effect-float,.funnel-preview-media.funnel-image-effect-float{animation:funnelImageFloat 5.5s ease-in-out infinite}
.funnel-media-preview.funnel-image-effect-pulse,.funnel-preview-media.funnel-image-effect-pulse{animation:funnelImagePulse 4.2s ease-in-out infinite}
.funnel-media-preview.funnel-image-effect-zoom img,.funnel-preview-media.funnel-image-effect-zoom img{animation:funnelImageZoom 12s ease-in-out infinite alternate}
.funnel-media-preview.funnel-image-effect-reveal_left,.funnel-preview-media.funnel-image-effect-reveal_left{animation:funnelImageRevealLeft .9s cubic-bezier(.2,.75,.25,1) both}
.funnel-media-preview.funnel-image-effect-reveal_right,.funnel-preview-media.funnel-image-effect-reveal_right{animation:funnelImageRevealRight .9s cubic-bezier(.2,.75,.25,1) both}
.funnel-media-preview.funnel-image-effect-rise,.funnel-preview-media.funnel-image-effect-rise{animation:funnelImageRise .9s cubic-bezier(.2,.75,.25,1) both}
.funnel-media-preview.funnel-image-effect-tilt,.funnel-preview-media.funnel-image-effect-tilt{animation:funnelImageTilt 6s ease-in-out infinite}
.funnel-media-preview.funnel-image-effect-glow,.funnel-preview-media.funnel-image-effect-glow{animation:funnelImageGlow 4.8s ease-in-out infinite}
.funnel-media-preview.funnel-image-effect-depth,.funnel-preview-media.funnel-image-effect-depth{animation:funnelImageDepth 7s ease-in-out infinite}
.funnel-media-preview.funnel-image-effect-background_fade img,.funnel-preview-media.funnel-image-effect-background_fade img{opacity:.58;animation:funnelImageBackground 14s ease-in-out infinite alternate}
@keyframes funnelImageFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
@keyframes funnelImagePulse{0%,100%{transform:scale(1);filter:saturate(1)}50%{transform:scale(1.025);filter:saturate(1.12)}}
@keyframes funnelImageZoom{from{transform:scale(1)}to{transform:scale(1.12)}}
@keyframes funnelImageRevealLeft{from{opacity:0;transform:translateX(-42px)}to{opacity:1;transform:translateX(0)}}
@keyframes funnelImageRevealRight{from{opacity:0;transform:translateX(42px)}to{opacity:1;transform:translateX(0)}}
@keyframes funnelImageRise{from{opacity:0;transform:translateY(34px)}to{opacity:1;transform:translateY(0)}}
@keyframes funnelImageTilt{0%,100%{transform:rotate(-1deg) scale(1)}50%{transform:rotate(1.2deg) scale(1.015)}}
@keyframes funnelImageGlow{0%,100%{box-shadow:var(--funnel-shadow)}50%{box-shadow:0 22px 70px color-mix(in srgb,var(--funnel-primary) 38%,transparent)}}
@keyframes funnelImageDepth{0%,100%{transform:perspective(900px) rotateY(-2deg) translateY(0)}50%{transform:perspective(900px) rotateY(2deg) translateY(-8px)}}
@keyframes funnelImageBackground{from{transform:scale(1)}to{transform:scale(1.08)}}
@media(max-width:800px){
 body[class*="funnel-template-"] .funnel-section-layout,body[class*="funnel-template-"] .funnel-layout-split_reverse .funnel-section-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"content" "media"}
 body[class*="funnel-template-"] .funnel-section-media-frame{min-height:clamp(240px,72vw,460px)}
 body[class*="funnel-template-"] .funnel-image-effect-background_fade .funnel-section-layout{grid-template-areas:"content";min-height:560px}
}
@media(prefers-reduced-motion:reduce){
 body[class*="funnel-template-"] [class*="funnel-image-effect-"] .funnel-section-media-frame,
 body[class*="funnel-template-"] [class*="funnel-image-effect-"] .funnel-section-media img,
 .funnel-media-preview,.funnel-media-preview img,.funnel-preview-media,.funnel-preview-media img{animation:none!important;transform:none!important}
}

/* Funnel Builder: blockgebundener Uploadmanager und klare Feldreihenfolge */
.funnel-editor-card-structured{display:grid;gap:18px}
.funnel-editor-card-head{margin-bottom:0}
.funnel-editor-first-row{display:grid;grid-template-columns:minmax(220px,.9fr) repeat(3,minmax(0,1fr));gap:16px;align-items:start}
.funnel-block-upload{display:grid;gap:10px;align-content:start}

.funnel-block-upload-preview img{display:block;width:100%;height:150px;object-fit:cover}
.funnel-block-upload-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-start}
.funnel-editor-row{display:grid;gap:7px}
.funnel-editor-divider{width:100%;margin:0;border:0;border-top:1px solid var(--line,#d8dde6)}
.funnel-editor-options{align-items:start}
.field-with-unit{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.field-with-unit span{font-weight:700;color:var(--muted,#687386)}
@media(max-width:1180px){.funnel-editor-first-row{grid-template-columns:repeat(2,minmax(0,1fr))}.funnel-block-upload{grid-row:span 2}}
@media(max-width:720px){.funnel-editor-first-row{grid-template-columns:minmax(0,1fr)}.funnel-block-upload{grid-row:auto}}

/* Funnelbilder: feste unsichtbare 50/50-Struktur; Bildgröße verändert die Textspalte nicht */

.funnel-layout-split_reverse .funnel-section-layout{grid-template-areas:"media content"!important}


.funnel-section-media-frame{position:relative;display:block;width:min(100%,var(--funnel-block-image-size,520px))!important;aspect-ratio:4/3;min-height:0!important;overflow:hidden;border-radius:var(--funnel-image-radius,var(--funnel-card-radius,20px));transform:translateZ(0);will-change:transform,filter,opacity}
.funnel-section-media-frame img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover}

/* Effekte ohne Abhängigkeit von einer Body-Klasse */
.funnel-image-effect-float .funnel-section-media-frame{animation:funnelImageFloat 5.5s ease-in-out infinite!important}
.funnel-image-effect-pulse .funnel-section-media-frame{animation:funnelImagePulse 4.2s ease-in-out infinite!important}
.funnel-image-effect-zoom .funnel-section-media-frame img{animation:funnelImageZoom 10s ease-in-out infinite alternate!important}
.funnel-image-effect-reveal_left .funnel-section-media-frame{animation:funnelImageRevealLeft 1s cubic-bezier(.2,.75,.25,1) both!important}
.funnel-image-effect-reveal_right .funnel-section-media-frame{animation:funnelImageRevealRight 1s cubic-bezier(.2,.75,.25,1) both!important}
.funnel-image-effect-rise .funnel-section-media-frame{animation:funnelImageRise 1s cubic-bezier(.2,.75,.25,1) both!important}
.funnel-image-effect-tilt .funnel-section-media-frame{animation:funnelImageTilt 5.5s ease-in-out infinite!important;transform-origin:center}
.funnel-image-effect-glow .funnel-section-media-frame{animation:funnelImageGlow 4.2s ease-in-out infinite!important}
.funnel-image-effect-depth .funnel-section-media-frame{animation:funnelImageDepth 6s ease-in-out infinite!important}
.funnel-image-effect-background_fade .funnel-section-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"content"!important;min-height:clamp(420px,58vw,760px);position:relative}
.funnel-image-effect-background_fade .funnel-section-content{position:relative;z-index:2;width:min(100%,var(--funnel-text-width,760px))}
.funnel-image-effect-background_fade .funnel-section-media{position:absolute!important;inset:0;z-index:-1;display:block!important}
.funnel-image-effect-background_fade .funnel-section-media-frame{width:100%!important;height:100%;aspect-ratio:auto;border:0;border-radius:0;box-shadow:none;background:transparent}
.funnel-image-effect-background_fade .funnel-section-media-frame::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,color-mix(in srgb,var(--funnel-bg,#fff) 94%,transparent),color-mix(in srgb,var(--funnel-bg,#fff) 64%,transparent),color-mix(in srgb,var(--funnel-bg,#fff) 14%,transparent))}
.funnel-image-effect-background_fade .funnel-section-media-frame img{opacity:.58;animation:funnelImageBackground 12s ease-in-out infinite alternate!important}

@media(max-width:800px){.funnel-section-layout,.funnel-layout-split_reverse .funnel-section-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"content" "media"!important}.funnel-image-effect-background_fade .funnel-section-layout{grid-template-areas:"content"!important}}
@media(prefers-reduced-motion:reduce){[class*="funnel-image-effect-"] .funnel-section-media-frame,[class*="funnel-image-effect-"] .funnel-section-media-frame img{animation:none!important;transform:none!important}}

/* Landingpage bearbeiten: 60 % Einstellungen, 40 % Live Builder */

.funnel-editor-card-title{display:grid;gap:7px;min-width:min(100%,420px)}
.funnel-editor-card-title h3{margin:0}

.funnel-editor-type-field>span{font-weight:750;color:var(--muted,#687386)}
.funnel-editor-media-row{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(180px,.55fr) 1px minmax(360px,1.45fr);gap:18px;align-items:stretch}
.funnel-editor-image-controls{display:grid;gap:14px;align-content:start}
.funnel-editor-vertical-divider{width:1px;background:var(--line,#d8dde6);align-self:stretch}

.funnel-editor-content-row textarea{min-height:210px;resize:vertical}

.funnel-block-upload-actions label.btn{cursor:pointer}
@media(max-width:1280px){.funnel-editor-media-row{grid-template-columns:minmax(210px,.9fr) minmax(170px,.6fr) 1px minmax(280px,1.2fr)}}
@media(max-width:1050px){.funnel-builder-workspace{grid-template-columns:1fr!important}.builder-preview-column{position:relative;top:auto}.funnel-editor-media-row{grid-template-columns:minmax(210px,.9fr) minmax(180px,.65fr) 1px minmax(300px,1.25fr)}}
@media(max-width:800px){.funnel-editor-media-row{grid-template-columns:1fr}.funnel-editor-vertical-divider{width:100%;height:1px}.funnel-editor-header-fields{grid-template-columns:1fr}.funnel-editor-type-field{grid-template-columns:1fr}}

/* Funnelblock: kompakte Bildaktionen, Header ohne Pille, Inhalt/Bild ohne Überschriftenlücke */
.funnel-block-upload-actions .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;font-size:.95rem;line-height:1.2;min-height:34px!important;padding:6px 10px!important;font-size:.82rem!important;border-radius:9px!important;}

.funnel-editor-title-field{grid-column:1/-1}
.funnel-section-heading{margin-bottom:clamp(20px,3vw,34px);display:flex;flex-direction:column;align-items:flex-start;margin-bottom:0!important;}
.funnel-section-heading h1,.funnel-section-heading h2{margin-bottom:.18em!important}
.funnel-section-heading .funnel-subheading{margin-bottom:0;width:100%;max-width:var(--funnel-text-width,760px);margin:.5rem 0 0;margin-top:0!important;margin-bottom:0!important;}

.funnel-eyecatcher-text{margin:0 0 8px!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;color:var(--funnel-accent)!important;font-weight:850;letter-spacing:.08em;text-transform:uppercase;font-size:.82rem}
.funnel-phase-label{display:inline-flex;padding:7px 12px;border-radius:999px;background:rgba(15,23,42,.08);font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;display:none!important;}

/* Funnel-Builder 50/50 und kompakte Produktwahl */
.funnel-builder-workspace{grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr);grid-template-columns:minmax(0,3fr) minmax(360px,2fr)!important;gap:24px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:24px;}
.funnel-editor-type-field{display:grid;grid-template-columns:auto minmax(220px,1fr);gap:10px;align-items:center;max-width:520px;margin:0;display:grid!important;grid-template-columns:1fr!important;gap:6px!important;max-width:100%!important;width:min(100%,260px)!important;}
.funnel-editor-type-field select{width:100%!important}
.funnel-button-align-row{display:grid;grid-template-columns:minmax(140px,220px);gap:6px;margin-top:10px}
.funnel-editor-layout-trio{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.funnel-product-picker-wrap{grid-column:1/-1}
.funnel-product-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:8px}
.funnel-product-choice{position:relative;cursor:pointer}
.funnel-product-choice input{position:absolute;opacity:0;pointer-events:none}
.funnel-product-choice>span{display:grid;grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto auto;gap:2px 10px;align-items:center;min-height:66px;padding:10px;border:1px solid var(--line,#d8dde6);border-radius:12px;background:#fff;transition:.18s ease}
.funnel-product-choice img{grid-row:1/3;width:48px;height:48px;object-fit:cover;border-radius:9px}
.funnel-product-choice strong,.funnel-product-choice small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.funnel-product-choice input:checked+span{border-color:var(--primary,#111827);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary,#111827) 18%,transparent);background:color-mix(in srgb,var(--primary,#111827) 4%,#fff)}
.funnel-button-row{display:flex;margin-top:24px}.funnel-button-align-left{justify-content:flex-start}.funnel-button-align-center{justify-content:center}.funnel-button-align-right{justify-content:flex-end}
.funnel-product-offer-compact{grid-template-columns:minmax(120px,180px) minmax(0,1fr)!important;gap:22px!important;padding:22px!important}.funnel-product-offer-compact img{max-height:180px!important}.funnel-product-offer-compact .funnel-price{font-size:1.55rem!important;margin:10px 0!important}
@media(max-width:1100px){.funnel-product-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.funnel-editor-layout-trio{grid-template-columns:1fr}}
@media(max-width:760px){.funnel-product-picker{grid-template-columns:1fr}.funnel-product-offer-compact{grid-template-columns:1fr!important}}

/* Funnelblock: WYSIWYG, Bild-Overlayaktionen und getrennte Textausrichtung */
.funnel-block-upload-preview{display:grid;place-items:center;width:100%;min-height:150px;overflow:hidden;border:1px dashed var(--line,#d8dde6);border-radius:14px;background:var(--surface-soft,#f7f8fb);color:var(--muted,#687386);text-align:center;position:relative;}
.funnel-image-overlay-actions{position:absolute;right:8px;top:8px;display:flex;gap:6px;z-index:3}
.funnel-image-square-action{width:30px;height:30px;min-width:30px;display:grid;place-items:center;padding:0;border:1px solid rgba(15,23,42,.18);border-radius:7px;background:rgba(255,255,255,.94);color:#17202a;font-size:18px;font-weight:800;line-height:1;cursor:pointer;box-shadow:0 5px 16px rgba(15,23,42,.14)}
.funnel-image-square-action:hover{transform:translateY(-1px);background:#fff}
.funnel-image-square-action.is-danger{background:rgba(255,255,255,.94);color:#b42318}
.funnel-editor-header-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-content:start;grid-template-columns:repeat(2,minmax(0,1fr));display:grid!important;grid-template-columns:1fr!important;gap:12px;}
.funnel-header-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}

.funnel-header-mini-grid>div>label{grid-column:1/-1}
.funnel-header-mini-grid select{width:56px;text-align:center;font-weight:800}

.funnel-wysiwyg{border:1px solid #cbd5e1;border-radius:10px;background:#fff;overflow:hidden}
.funnel-wysiwyg .wysiwyg-toolbar{position:static;border:0;border-bottom:1px solid #dbe3ec;border-radius:0}
.funnel-wysiwyg-editor{min-height:250px;border:0!important;border-radius:0!important;padding:16px;outline:none}
.funnel-wysiwyg-editor:focus{box-shadow:inset 0 0 0 2px rgba(37,99,235,.16)}
.funnel-section-layout{display:grid;gap:var(--funnel-content-gap,32px);align-items:center;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-areas:"content media"!important;gap:var(--funnel-content-gap,32px);align-items:center;align-items:start!important;margin-top:0!important;}
.funnel-section-media{margin:0;grid-area:media;display:grid!important;place-items:center;min-width:0;margin:0!important;align-self:stretch;align-self:start!important;margin-top:0!important;}
.funnel-section-content{grid-area:content;min-width:0;align-self:start!important;}
.funnel-inline-align-left{text-align:left!important}
.funnel-inline-align-center{text-align:center!important}
.funnel-inline-align-right{text-align:right!important}
.funnel-preview-section .align-left{text-align:left;display:block}.funnel-preview-section .align-center{text-align:center;display:block}.funnel-preview-section .align-right{text-align:right;display:block}
@media(max-width:800px){.funnel-header-mini-grid{grid-template-columns:1fr}.funnel-header-mini-grid>div{grid-template-columns:minmax(0,1fr) 52px}}

/* Funnelbuilder: kompakte Feldreihen und Produktkonfiguration */

.funnel-editor-theme-field{display:grid;gap:6px}
.funnel-editor-theme-field select{width:100%}
.funnel-editor-layout-line,.funnel-editor-button-line{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.funnel-editor-layout-line>div,.funnel-editor-button-line>div{display:grid;gap:6px}
.funnel-compact-config-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.funnel-compact-config-option{position:relative;display:flex;align-items:flex-start;gap:10px;padding:16px;border:1px solid var(--line,#d8dde6);border-radius:14px;background:#fff;cursor:pointer}
.funnel-compact-config-option input{width:auto;margin-top:3px}
.funnel-compact-config-option span{display:grid;gap:4px}.funnel-compact-config-option small{color:var(--muted,#64748b)}
.funnel-product-offer-compact.without-image{grid-template-columns:1fr!important}
.funnel-compact-sale-badge{position:absolute;left:8px;top:8px;z-index:2;padding:5px 8px;border-radius:999px;background:var(--funnel-accent,#e85d04);color:#fff;font-size:.72rem;font-weight:800}
.funnel-compact-description{margin:8px 0 0;color:var(--funnel-muted,#64748b)}
/* Bild bleibt immer in der zweiten Rasterzelle gegenüber dem Text und rutscht nicht unter CTA/Formulare. */
body[class*="funnel-template-"] .funnel-section-layout{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-areas:"content media";
  gap:var(--funnel-content-gap,32px);
  align-items:stretch;margin-top:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important;}
body[class*="funnel-template-"] .funnel-layout-split_reverse .funnel-section-content{grid-column:2!important;grid-row:1!important}
body[class*="funnel-template-"] .funnel-layout-split_reverse .funnel-section-media{grid-column:1!important;grid-row:1!important}
body[class*="funnel-template-"] .funnel-layout-split .funnel-section-content{grid-column:1!important;grid-row:1!important}
body[class*="funnel-template-"] .funnel-layout-split .funnel-section-media{grid-column:2!important;grid-row:1!important}
body[class*="funnel-template-"] .funnel-section-media{
  grid-area:media;
  min-width:0;
  margin:0;
  align-self:stretch;
  display:flex;align-self:start!important;min-width:0!important;}
@media(max-width:900px){.funnel-editor-head-fields,.funnel-editor-layout-line,.funnel-editor-button-line,.funnel-compact-config-grid{grid-template-columns:1fr!important}body[class*="funnel-template-"] .funnel-section-layout{grid-template-columns:1fr!important}body[class*="funnel-template-"] .funnel-section-content,body[class*="funnel-template-"] .funnel-section-media{grid-column:1!important;grid-row:auto!important}}

/* Funnelblock: getrennte Ausrichtungen und Vertrauenssymbol */
.funnel-header-mini-grid>div{display:grid;grid-template-columns:minmax(0,1fr) 56px;gap:7px;align-items:end;display:grid;grid-template-columns:1fr!important;align-items:end;}
body[class*="funnel-template-"] .funnel-align-left .funnel-section-content{margin-left:0;margin-right:auto;text-align:left!important}
body[class*="funnel-template-"] .funnel-align-center .funnel-section-content{margin-left:auto;margin-right:auto;text-align:center!important}
body[class*="funnel-template-"] .funnel-align-right .funnel-section-content{margin-left:auto;margin-right:0;text-align:right!important}
body[class*="funnel-template-"] .funnel-align-left .funnel-section-heading,
body[class*="funnel-template-"] .funnel-align-center .funnel-section-heading,
body[class*="funnel-template-"] .funnel-align-right .funnel-section-heading{margin-left:0;margin-right:0}
body[class*="funnel-template-"] .funnel-header-align-left .funnel-section-heading{margin-left:0;margin-right:auto;align-items:flex-start;text-align:left!important}
body[class*="funnel-template-"] .funnel-header-align-center .funnel-section-heading{margin-left:auto;margin-right:auto;align-items:center;text-align:center!important}
body[class*="funnel-template-"] .funnel-header-align-right .funnel-section-heading{margin-left:auto;margin-right:0;align-items:flex-end;text-align:right!important}
.funnel-trust-editor{display:grid;gap:6px}.funnel-trust-editor-row{display:grid;grid-template-columns:minmax(145px,190px) minmax(0,1fr);gap:10px}.funnel-trust-editor-row select,.funnel-trust-editor-row input{min-height:42px;height:42px}.funnel-trust-editor small{color:var(--muted,#64748b)}
.funnel-trust-icon{display:inline-grid;place-items:center;flex:0 0 auto;min-width:1.2em}
@media(max-width:800px){.funnel-header-mini-grid>div,.funnel-trust-editor-row{grid-template-columns:1fr!important}}

/* Funnelblock: Buttonanordnung bleibt unabhängig von der Inhaltsausrichtung */
body[class*="funnel-template-"] .funnel-section-content .funnel-button-row{width:100%!important;text-align:left!important}
body[class*="funnel-template-"] .funnel-section-content .funnel-button-align-left{justify-content:flex-start!important}
body[class*="funnel-template-"] .funnel-section-content .funnel-button-align-center{justify-content:center!important}
body[class*="funnel-template-"] .funnel-section-content .funnel-button-align-right{justify-content:flex-end!important}

/* Funnel-Builder: Template-Historie, klappbare Auswahl und saubere Kopffelder */
.funnel-template-selector{margin-bottom:20px;padding:0!important;overflow:hidden;}
.funnel-template-selector-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;cursor:pointer;list-style:none}
.funnel-template-selector-summary::-webkit-details-marker{display:none}
.funnel-template-selector-summary>span{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.funnel-template-selector-summary strong{font-size:1.08rem}.funnel-template-selector-summary small{color:var(--muted)}
.funnel-template-selector-summary:after{content:"⌄";font-size:1.25rem;transition:transform .2s ease}
.funnel-template-selector[open] .funnel-template-selector-summary:after{transform:rotate(180deg)}
.funnel-template-selector-body{padding:0 20px 20px}
.funnel-history-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:18px}
.funnel-history-card{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:66px;padding:11px 12px;border:1px solid var(--line,#d8dde6);border-radius:12px;background:var(--card-bg,#fff);text-align:left;cursor:pointer}
.funnel-history-card:hover,.funnel-history-card.is-selected{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 14%,transparent)}
.funnel-history-card strong{font-size:.9rem}.funnel-history-card small{color:var(--muted);font-size:.78rem}.funnel-history-help{margin:10px 0 0}
.funnel-editor-head-fields{display:grid;grid-template-columns:minmax(0,260px) minmax(0,260px);gap:12px;align-items:end;margin-top:8px;grid-template-columns:minmax(0,260px) minmax(0,260px)!important;align-items:end!important;}
.funnel-editor-head-fields label{display:grid;grid-template-rows:auto 44px;gap:6px}
.funnel-editor-head-fields select{height:44px!important;min-height:44px!important;margin:0!important}
/* Kompakte Produktansicht: dezenter Innenabstand am Produktbild */
.funnel-compact-product-media{position:relative;padding:8px 8px 0;}
.funnel-compact-product-media img{display:block;width:100%;height:auto;border-radius:inherit}
@media(max-width:900px){.funnel-history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.funnel-history-grid{grid-template-columns:1fr}}

/* Landingpage-Builder: Template-Auswahl und einheitliche Feldoptik */
.funnel-editor-type-field select,
.funnel-editor-theme-field select{
  color:var(--text,#172033)!important;
  background:var(--card-bg,#fff)!important;
  font:inherit!important;
}


.funnel-template-swatch.template-luxury{background:#f3eadb!important}
.funnel-template-swatch.template-luxury i:first-child{background:linear-gradient(145deg,#17130f,#4c3624)!important}
.funnel-template-swatch.template-luxury i:nth-child(2){background:#c7a462!important}
.funnel-template-swatch.template-luxury i:nth-child(3){background:#fffaf0!important}
.funnel-template-swatch.template-playful{background:#fff2f8!important}
.funnel-template-swatch.template-playful i:first-child{background:linear-gradient(145deg,#ef4f9a,#8b5cf6)!important}
.funnel-template-swatch.template-playful i:nth-child(2){background:#ffd45c!important}
.funnel-template-swatch.template-playful i:nth-child(3){background:#ffffff!important}
.funnel-template-swatch.template-adventure{background:#eee9dc!important}
.funnel-template-swatch.template-adventure i:first-child{background:linear-gradient(145deg,#183c2d,#3f684f)!important}
.funnel-template-swatch.template-adventure i:nth-child(2){background:#e87824!important}
.funnel-template-swatch.template-adventure i:nth-child(3){background:#e1b45a!important}
.funnel-template-swatch.template-editorial{background:#f7f1e8!important}
.funnel-template-swatch.template-editorial i:first-child{background:#1e1b18!important}
.funnel-template-swatch.template-editorial i:nth-child(2){background:#9d493b!important}
.funnel-template-swatch.template-editorial i:nth-child(3){background:#fffdfa!important}
.funnel-template-swatch.template-future{background:#eaf4ff!important}
.funnel-template-swatch.template-future i:first-child{background:linear-gradient(145deg,#07162e,#144c8a)!important}
.funnel-template-swatch.template-future i:nth-child(2){background:#16c7e8!important}
.funnel-template-swatch.template-future i:nth-child(3){background:#ffffff!important}

/* Funnel: transparente Bilder ohne Rahmen und einheitliche Template-Aktionen */
.funnel-image-effect-transparent_no_frame .funnel-section-media-frame{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
.funnel-image-effect-transparent_no_frame .funnel-section-media-frame img{object-fit:contain!important;border-radius:0!important}
.funnel-media-preview.funnel-image-effect-transparent_no_frame,.funnel-preview-media.funnel-image-effect-transparent_no_frame{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
.funnel-media-preview.funnel-image-effect-transparent_no_frame img,.funnel-preview-media.funnel-image-effect-transparent_no_frame img{object-fit:contain!important;border-radius:0!important}
.funnel-template-actions{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  flex-wrap:wrap!important;align-items:stretch!important;}.funnel-template-actions form{margin:0!important;display:flex!important;margin:0!important;}.funnel-template-actions .funnel-template-action-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;padding:10px 18px!important;font:inherit!important;line-height:1.2!important;border-width:1px!important;margin:0!important}

/* Patch: normaler Lagerbestand und kompakte Produktfilter */
.product-variants-disabled-notice{margin:0 0 16px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--accent,#2563eb) 28%,var(--border,#dbe2ea));border-radius:10px;background:color-mix(in srgb,var(--accent,#2563eb) 8%,#fff);font-weight:700}
.product-smart-stock-row{display:grid;grid-template-columns:minmax(90px,1fr) minmax(90px,1fr);gap:8px;align-items:start}.product-smart-stock-row small{grid-column:1/-1}.product-base-stock-field[hidden]{display:none!important}
.product-filter-bar{display:grid!important;grid-template-columns:minmax(220px,1.35fr) repeat(3,minmax(150px,.8fr)) auto!important;gap:12px!important;align-items:end!important}.product-filter-bar>div{min-width:0}
@media(max-width:1050px){.product-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))!important}.product-filter-actions{grid-column:1/-1}}
@media(max-width:620px){.product-filter-bar{grid-template-columns:1fr!important}.product-filter-actions{grid-column:auto;display:grid;grid-template-columns:1fr 1fr}.product-filter-actions .btn{width:100%}}


/* Öffentliche Status- und Checkout-Fehlermeldungen */
.public-flashes{padding-top:18px}
.public-flashes .flash,.checkout-payment-error .flash{padding:14px 16px;border-radius:var(--input-radius);margin-bottom:16px}
.public-flashes .flash.error,.checkout-payment-error .flash.error{background:var(--error-bg);color:var(--error-text)}
.public-flashes .flash.success{background:var(--success-bg);color:var(--success-text)}
.checkout-payment-error{max-width:760px;margin:0 auto}
.checkout-payment-error .inline-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}

/* Admin: Finanzen / Zahlungsanbieter */
.payment-provider-heading{margin-bottom:18px}.payment-provider-card{overflow:visible}.payment-provider-intro{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:20px}.payment-provider-intro h2,.payment-provider-section h3{margin-top:0}.payment-provider-section{padding-top:4px}.payment-provider-section h3{margin-bottom:10px}.payment-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.payment-method-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.payment-toggle-card{display:flex;align-items:flex-start;gap:12px;margin:0;padding:15px;border:1px solid var(--card-border,#e5e7eb);border-radius:12px;background:var(--card-bg,#fff);cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.payment-toggle-card:hover{border-color:var(--accent,#64748b);box-shadow:0 7px 20px rgba(15,23,42,.08);transform:translateY(-1px)}.payment-toggle-card:focus-within{outline:2px solid var(--accent,#2563eb);outline-offset:2px}.payment-toggle-card input[type=checkbox]{width:19px;height:19px;min-width:19px;margin:2px 0 0;accent-color:var(--primary-bg,#111827);cursor:pointer}.payment-toggle-card span{display:grid;gap:3px;font-weight:400}.payment-toggle-card strong{font-size:.98rem}.payment-toggle-card small{color:var(--muted,#64748b);font-weight:400;line-height:1.4}.payment-toggle-card:has(input:checked){border-color:var(--primary-bg,#111827);background:color-mix(in srgb,var(--primary-bg,#111827) 5%,var(--card-bg,#fff))}.payment-provider-actions{display:flex;justify-content:flex-start}.payment-provider-test-form{margin-top:14px;padding-top:14px;border-top:1px solid var(--card-border,#e5e7eb)}@media(max-width:900px){.payment-method-grid{grid-template-columns:1fr}.payment-toggle-grid{grid-template-columns:1fr}}

/* Checkout- und Warenkorb-Aufräumung 2026-07 */
.cart-summary{margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:20px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:0;padding:0;overflow:hidden;}
.cart-summary-main{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(280px,1fr);gap:28px;padding:28px}
.cart-summary-main h2{font-size:1rem;margin:0 0 14px}
.cart-summary-coupon,.cart-summary-totals{min-width:0}
.cart-coupon-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}
.cart-coupon-form input{min-width:0}
.cart-coupon-applied{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--line,#d8dde6);border-radius:12px;background:var(--surface-soft,#f7f8fa)}.cart-coupon-applied form{margin:0;flex:0 0 auto}.cart-coupon-applied .btn{width:auto;min-height:34px;padding:7px 12px}

.cart-summary-action .btn{width:100%}
.cart-summary-action small{margin-top:2px;line-height:1.4;}
.cart-summary--with-side{grid-template-columns:minmax(0,1fr) minmax(260px,.55fr) auto}
.funnel-cart-summary-side{padding:28px;border-left:1px solid var(--line,#d8dde6)}
.checkout-heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;margin-bottom:8px;display:flex;align-items:baseline;flex-wrap:wrap;gap:18px;margin-bottom:22px;}
.checkout-heading-row h1{margin-bottom:4px;margin:0;}
.checkout-progress{display:inline-flex;align-items:center;flex-wrap:wrap;gap:0;font-size:.92rem}
.cart-progress-arrow{display:inline-block;white-space:pre;margin:0 .35rem;color:var(--muted,#687184)}
.review-costs{padding:0;overflow:hidden}
.review-costs-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 24px;border-bottom:1px solid var(--line,#d8dde6);background:var(--surface-soft,#f7f8fa)}
.review-costs-heading h2{margin:2px 0 0}
.review-costs-kicker{display:block;font-size:.76rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted,#687184)}
.review-payment-method{display:inline-flex;align-items:center;padding:8px 12px;border:1px solid var(--line,#d8dde6);border-radius:999px;background:#fff;font-weight:700}
.review-payment-breakdown{margin:0;padding:10px 24px 22px}
.review-payment-breakdown>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:baseline;padding:12px 0;border-bottom:1px solid var(--line,#e5e8ee)}
.review-payment-breakdown dt,.review-payment-breakdown dd{margin:0}
.review-payment-breakdown dd{font-weight:650;text-align:right}
.review-payment-discount dd{color:var(--success,#18794e)}
.review-payment-discount small{display:block;margin-top:3px;color:var(--muted,#687184);font-weight:500}
.review-payment-tax{font-size:.9rem;color:var(--muted,#687184)}
.review-payment-breakdown .review-payment-total{margin-top:6px;padding-top:18px;border-bottom:0;font-size:1.16rem;font-weight:800}
.review-payment-total dd{font-size:1.28rem}
@media(max-width:900px){.cart-summary,.cart-summary--with-side{grid-template-columns:1fr}.cart-summary-main{grid-template-columns:1fr}.funnel-cart-summary-side,.cart-summary-action{border-left:0;border-top:1px solid var(--line,#d8dde6)}.cart-summary-action{min-width:0}.checkout-heading-row{display:block;align-items:flex-start;flex-direction:column;gap:8px;}}
@media(max-width:600px){.cart-summary-main,.cart-summary-action,.funnel-cart-summary-side{padding:20px}.cart-coupon-form{grid-template-columns:1fr}.review-costs-heading{align-items:flex-start;flex-direction:column}.review-payment-breakdown{padding-left:20px;padding-right:20px}}

/* Warenkorb-Summen und Fortschrittsanzeige: Feinschliff 2026-07 */
.cart-summary-totals .cart-totals--compact{display:grid;gap:0;margin:0}
.cart-summary-totals .cart-totals--compact>div{display:flex;align-items:baseline;justify-content:space-between;gap:28px;padding:9px 0;border-bottom:1px solid var(--line,#e5e8ee)}
.cart-summary-totals .cart-totals--compact>div:last-child{border-bottom:0}
.cart-summary-totals .cart-totals--compact dt,.cart-summary-totals .cart-totals--compact dd{margin:0}

.checkout-review .checkout-heading-row{align-items:baseline}
.checkout-review .checkout-progress{margin-left:0}
@media(max-width:600px){.cart-summary-totals .cart-totals--compact>div{gap:18px}}

/* Rabattcode-, Checkout-Fortschritt- und Warenkorb-Summen-Fix */
.checkout-heading-with-progress{display:flex;align-items:baseline;justify-content:space-between;gap:24px;flex-wrap:wrap}
.checkout-heading-with-progress>h1{margin-bottom:0}
.checkout-heading-with-progress .checkout-progress{margin-left:auto;white-space:normal}
.cart-summary-totals .cart-totals--compact dt{font-weight:600}
.cart-summary-totals .cart-totals--compact dd{margin-left:auto;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:600;letter-spacing:.01em;}
@media(max-width:900px){.checkout-heading-with-progress{align-items:flex-start;flex-direction:column;gap:8px}.checkout-heading-with-progress .checkout-progress{margin-left:0}}


/* Bestell-Massenauswahl, digitale Produkte und verfeinerte Produktdetails */
.orders-bulk-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0;padding:12px 14px;border:1px solid var(--border,#d9dee7);border-radius:12px;background:var(--card-bg,#fff)}.orders-select-all{display:flex;align-items:center;gap:8px;font-weight:700;cursor:pointer}.orders-select-all input,.orders-select-column input{width:18px;height:18px}.orders-select-column{width:42px;text-align:center}.orders-bulk-toolbar select{width:auto;min-width:230px}.digital-product-toggle{min-width:min(100%,290px)}
.product-detail-info{gap:22px;padding-top:4px;display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr)!important;grid-template-rows:auto auto auto!important;column-gap:14px!important;row-gap:12px!important;align-items:start!important;min-width:0;}.product-detail-buybox{display:grid;grid-template-columns:auto minmax(190px,1fr);align-items:end;gap:14px;padding:18px;border:1px solid var(--card-border);border-radius:var(--card-radius);background:var(--card-bg);box-shadow:var(--surface-shadow);margin-top:auto;align-self:stretch;}.related-products-subtle{margin-top:34px;padding-top:20px;border-top:1px solid color-mix(in srgb,var(--text-color,#17202a) 12%,transparent)}.related-products-subtle h2{font-size:clamp(1rem,1.6vw,1.3rem);font-weight:650;color:var(--muted,#667085);margin-bottom:14px}.related-products-subtle .grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}.related-products-subtle .product-card{box-shadow:none;}.related-products-modern{margin-top:48px;margin-bottom:12px;opacity:.94}.related-products-modern .grid{grid-template-columns:repeat(auto-fit,minmax(150px,210px));justify-content:center}
@media(max-width:760px){.orders-bulk-toolbar{align-items:stretch}.orders-bulk-toolbar select,.orders-bulk-toolbar .btn{width:100%}.related-products-modern .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Digitale Bereitstellung, bündige Kaufleiste und kompakte Empfehlungen */
.digital-product-settings[hidden]{display:none!important}
.digital-product-settings{margin-top:0;margin-top:18px;}
.digital-product-settings .product-wysiwyg .wysiwyg-editor{min-height:210px}


.related-products-classic{margin-top:22px;padding-top:12px}
.related-products-classic h2{font-size:.58rem!important;line-height:1.25;margin-bottom:7px!important;letter-spacing:.01em}
.related-products-classic .grid{grid-template-columns:repeat(auto-fit,minmax(88px,112px))!important;gap:7px!important;justify-content:start}
.related-products-classic .product-card{font-size:.56rem!important;border-radius:7px!important;box-shadow:none!important;}
.related-products-classic .product-card img{border-radius:6px 6px 0 0!important;}
.related-products-classic .product-card h2,.related-products-classic .product-card h3,.related-products-classic .product-card .product-title{font-size:.64rem!important;line-height:1.2!important;}
.related-products-classic .product-card .btn{font-size:.54rem!important;min-height:24px!important;padding:4px 6px!important;}
.related-products-classic .product-card-body,.related-products-classic .product-card-content{padding:6px!important;gap:4px!important;}
@media(max-width:900px){.product-purchase-actions{grid-row:auto;height:auto!important;}.related-products-classic .grid{grid-template-columns:repeat(auto-fit,minmax(84px,104px))!important}}

/* Funnel checkout administration dashboard */
.funnel-area-payment{grid-area:payment}.funnel-area-decision{grid-area:decision}.funnel-area-checkout{grid-area:checkout}.funnel-area-consent{grid-area:consent}.funnel-area-success{grid-area:success}.funnel-card-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.funnel-decision-preview{margin:14px 0 18px;padding:18px;border-radius:16px;display:grid;gap:5px;background:var(--funnel-decision-bg,#f3f6fa);border:1px solid var(--funnel-decision-border,#d8e0ea);color:var(--funnel-decision-text,#172033)}.funnel-decision-preview span{font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;font-weight:800;opacity:.72}.funnel-decision-preview strong{font-size:1.05rem;line-height:1.25}.funnel-template-luxury{--funnel-decision-bg:#17130f;--funnel-decision-border:#b89a63;--funnel-decision-text:#fff8e8}.funnel-template-playful{--funnel-decision-bg:#fff0f6;--funnel-decision-border:#ff9bc4;--funnel-decision-text:#79204a}.funnel-template-adventure{--funnel-decision-bg:#edf5e9;--funnel-decision-border:#7fa36c;--funnel-decision-text:#294121}.funnel-template-editorial{--funnel-decision-bg:#f4f1eb;--funnel-decision-border:#292929;--funnel-decision-text:#171717}.funnel-template-future{--funnel-decision-bg:#10182c;--funnel-decision-border:#4c7dff;--funnel-decision-text:#eaf1ff}.funnel-confidence-compact{display:grid;gap:10px;margin-top:16px}.placeholder-dialog{width:min(1050px,94vw);max-height:88vh;border:0;border-radius:20px;padding:0;box-shadow:0 30px 80px #0f172a55}.placeholder-dialog::backdrop{background:#0f172a99}.placeholder-dialog__panel{padding:24px;overflow:auto;max-height:88vh}.placeholder-dialog__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:20px}.placeholder-copy-card{border:1px solid #dbe3ee;background:#f8fafc;border-radius:12px;padding:12px;text-align:left;display:grid;gap:4px;cursor:pointer}.placeholder-copy-card:hover,.placeholder-copy-card.is-copied{border-color:#2563eb;background:#eff6ff}.placeholder-copy-card code{font-weight:800;color:#1d4ed8}.placeholder-copy-card span{font-size:.82rem;color:#64748b}
.product-purchase-facts dl{margin:0;height:100%;display:flex;flex-direction:column;justify-content:center;height:auto;justify-content:flex-end;justify-content:flex-end!important;height:100%!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;display:grid;grid-template-columns:minmax(0,1fr);gap:0;}.product-purchase-facts .product-care-fact{grid-column:1}.product-digital-delivery-card{display:grid;gap:2px;margin:4px 0 8px;padding:9px 11px;border:1px solid #b8d7ff;border-radius:10px;background:#f0f7ff;color:#173d6d;font-size:.72rem;line-height:1.3}.product-digital-delivery-card strong{font-size:.75rem}.product-digital-delivery-card span{white-space:normal}
@media(min-width:850px){.product-purchase-facts dl:has(.product-digital-delivery-card){grid-template-columns:minmax(0,1fr) minmax(180px,42%);column-gap:10px}.product-purchase-facts dl:has(.product-digital-delivery-card)>div:not(.product-digital-delivery-card){grid-column:1/-1}.product-purchase-facts dl:has(.product-digital-delivery-card)>.product-care-fact{grid-column:1}.product-purchase-facts dl:has(.product-digital-delivery-card)>.product-digital-delivery-card{grid-column:2;grid-row:auto;align-self:center;margin:0}}
@media(max-width:1100px){.placeholder-dialog__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.funnel-config-dashboard{display:block}.funnel-checkout-config-card{margin-bottom:14px}.placeholder-dialog__grid{grid-template-columns:1fr}}


/* Checkout-Konfiguration: fixer Platzhalter-Button und überarbeitete Kaufentscheidungsbox */
.funnel-area-details>h2{margin-top:0}.funnel-area-details{grid-area:details;min-inline-size:0;}


body[class*="funnel-template-"].page-cart .funnel-cart-confidence--designed{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.35fr);gap:clamp(18px,3vw,38px);align-items:center;margin:26px auto;padding:clamp(22px,3vw,40px);overflow:hidden;color:var(--funnel-text);background:var(--funnel-card);border:var(--funnel-border-width,1px) solid var(--funnel-border);border-radius:var(--funnel-section-radius,var(--funnel-card-radius));box-shadow:var(--funnel-shadow)}
body[class*="funnel-template-"].page-cart .funnel-cart-confidence--designed::before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(var(--funnel-gradient-angle),color-mix(in srgb,var(--funnel-card) 94%,var(--funnel-primary)),color-mix(in srgb,var(--funnel-card) 96%,var(--funnel-accent)))}
body[class*="funnel-template-"].page-cart .funnel-cart-confidence--designed::after{content:"";position:absolute;z-index:-1;width:260px;height:260px;border-radius:50%;right:-110px;top:-135px;background:color-mix(in srgb,var(--funnel-accent) 20%,transparent);filter:blur(2px)}
body[class*="funnel-template-"].page-cart .funnel-cart-confidence__intro{display:grid;gap:10px;align-content:center;min-width:0}
body[class*="funnel-template-"].page-cart .funnel-cart-confidence__eyebrow{display:inline-flex;width:max-content;max-width:100%;padding:6px 10px;border-radius:999px;background:color-mix(in srgb,var(--funnel-primary) 12%,transparent);color:var(--funnel-primary);font-size:.72rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
body[class*="funnel-template-"].page-cart .funnel-cart-confidence__intro h2{margin:0;font-family:var(--funnel-heading-font);font-size:clamp(1.35rem,2.5vw,2.25rem);line-height:1.08;color:var(--funnel-text)}
body[class*="funnel-template-"].page-cart .funnel-cart-confidence__intro p{margin:0;max-width:58ch;color:var(--funnel-muted);line-height:1.65}
body[class*="funnel-template-"].page-cart .funnel-cart-confidence__facts{display:grid;gap:10px;min-width:0}
body[class*="funnel-template-"].page-cart .funnel-cart-confidence__facts article{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;align-items:center;padding:13px 14px;border:1px solid color-mix(in srgb,var(--funnel-border) 86%,transparent);border-radius:calc(var(--funnel-card-radius) * .72);background:color-mix(in srgb,var(--funnel-card) 88%,transparent);backdrop-filter:blur(5px)}
body[class*="funnel-template-"].page-cart .funnel-cart-confidence__facts article>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--funnel-primary);color:var(--funnel-button-text);font-weight:900}
body[class*="funnel-template-"].page-cart .funnel-cart-confidence__facts strong{display:block;margin-bottom:3px;color:var(--funnel-text);font-size:.94rem}
body[class*="funnel-template-"].page-cart .funnel-cart-confidence__facts small{display:block;color:var(--funnel-muted);line-height:1.45}
body.funnel-template-luxury.page-cart .funnel-cart-confidence--designed{border-color:color-mix(in srgb,var(--funnel-accent) 58%,var(--funnel-border));background:#17130f;color:#fff8e8}body.funnel-template-luxury.page-cart .funnel-cart-confidence--designed::before{background:linear-gradient(135deg,#17130f,#2a2117)}body.funnel-template-luxury.page-cart .funnel-cart-confidence__intro h2,body.funnel-template-luxury.page-cart .funnel-cart-confidence__facts strong{color:#fff8e8}body.funnel-template-luxury.page-cart .funnel-cart-confidence__intro p,body.funnel-template-luxury.page-cart .funnel-cart-confidence__facts small{color:#d8cbb8}body.funnel-template-luxury.page-cart .funnel-cart-confidence__facts article{background:rgba(255,250,240,.07);border-color:rgba(199,168,106,.35)}
body.funnel-template-playful.page-cart .funnel-cart-confidence--designed{transform:rotate(-.15deg)}body.funnel-template-playful.page-cart .funnel-cart-confidence__facts article:nth-child(even){transform:translateX(8px)}body.funnel-template-playful.page-cart .funnel-cart-confidence__facts article>span{border-radius:50%}
body.funnel-template-adventure.page-cart .funnel-cart-confidence--designed{border-left:8px solid var(--funnel-primary)}body.funnel-template-adventure.page-cart .funnel-cart-confidence__facts article{border-radius:8px}
body.funnel-template-editorial.page-cart .funnel-cart-confidence--designed{box-shadow:none;border-width:1px;border-top:4px solid var(--funnel-primary);border-radius:4px}body.funnel-template-editorial.page-cart .funnel-cart-confidence__eyebrow{padding:0;background:transparent;border-radius:0}body.funnel-template-editorial.page-cart .funnel-cart-confidence__facts article{border-width:0 0 1px;border-radius:0;background:transparent;padding-inline:0}
body.funnel-template-future.page-cart .funnel-cart-confidence--designed{background:#0c1630;border-color:color-mix(in srgb,var(--funnel-primary) 65%,#20335e);box-shadow:0 22px 60px rgba(43,108,255,.2)}body.funnel-template-future.page-cart .funnel-cart-confidence--designed::before{background:linear-gradient(135deg,#0c1630,#10234d)}body.funnel-template-future.page-cart .funnel-cart-confidence__intro h2,body.funnel-template-future.page-cart .funnel-cart-confidence__facts strong{color:#f2f7ff}body.funnel-template-future.page-cart .funnel-cart-confidence__intro p,body.funnel-template-future.page-cart .funnel-cart-confidence__facts small{color:#aebbd2}body.funnel-template-future.page-cart .funnel-cart-confidence__facts article{background:rgba(17,79,208,.12);border-color:rgba(43,108,255,.42)}
@media(max-width:860px){body[class*="funnel-template-"].page-cart .funnel-cart-confidence--designed{grid-template-columns:1fr}body.funnel-template-playful.page-cart .funnel-cart-confidence__facts article:nth-child(even){transform:none}}


/* Admin-Konsistenz, Konten und Besucher-Monitoring */
.admin-head-account-actions{display:flex;align-items:center;gap:8px}.admin-head-account,.admin-head-logout{width:36px;height:36px;display:grid;place-items:center;border-radius:8px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);color:inherit;text-decoration:none}.admin-head-account:hover,.admin-head-logout:hover{background:rgba(255,255,255,.16)}
.admin-account-grid{display:grid;grid-template-columns:minmax(320px,.8fr) minmax(460px,1.2fr);gap:18px}.admin-layout .card.card-body>h1:first-child,.admin-layout .card.card-body>h2:first-child,.admin-layout .card.card-body>h3:first-child,.funnel-checkout-config-card>h2:first-child,.funnel-checkout-config-card>.funnel-card-heading:first-child{margin-top:0}.funnel-checkout-config-card{border:1px solid var(--border,#d8dee8);border-radius:16px;padding:20px;background:#fff;height:100%;box-sizing:border-box;margin:0;border:1px solid #dce3ec;border-radius:18px;padding:20px;background:#fff;min-width:0;padding-top:20px!important;}.funnel-area-options{grid-area:options;align-self:start;}

.visitor-monitor-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;align-items:start}.visitor-bars{display:grid;gap:8px}.visitor-bar-row{display:grid;grid-template-columns:48px 1fr 72px;gap:8px;align-items:center;font-size:.82rem}.visitor-bar-row>div{height:9px;background:#e8edf3;border-radius:999px;overflow:hidden}.visitor-bar-row i{display:block;height:100%;background:currentColor;border-radius:999px;opacity:.72}.visitor-bar-row strong{text-align:right;font-size:.78rem}
@media(max-width:900px){.admin-account-grid,.visitor-monitor-grid{grid-template-columns:1fr}.placeholder-fab{left:12px!important;bottom:12px!important}}

/* Checkout-Summen: Bezeichnung und Wert zuverlässig in einer Zeile */
.page-checkout-review .review-payment-breakdown>div{display:grid!important;grid-template-columns:minmax(0,1fr) max-content!important;align-items:baseline!important;column-gap:24px!important;width:100%!important}
.page-checkout-review .review-payment-breakdown dt,.page-checkout-review .review-payment-breakdown dd{display:block!important;margin:0!important;min-width:0}
.page-checkout-review .review-payment-breakdown dd{text-align:right!important;white-space:nowrap!important;font-variant-numeric:tabular-nums!important}

/* Globale Platzhalter-Schaltfläche: kompakt zwischen Navigation und Inhalt */

.placeholder-fab:hover,.placeholder-fab:focus-visible{transform:translateY(-2px);border-color:#2563eb;box-shadow:0 14px 34px rgba(37,99,235,.22);outline:none;border-color:#2563eb!important;outline:none!important;}

/* Checkout-Konfiguration: 30 / 35 / 35 Prozent in der ersten Zeile */
.funnel-config-dashboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"payment options decision" "details checkout checkout" "consent checkout checkout" "success checkout checkout";gap:18px;align-items:start;grid-template-columns:minmax(0,30fr) minmax(0,35fr) minmax(0,35fr)!important;}

/* Servant-Rechte */
.admin-permission-editor{display:grid;gap:16px}.admin-permission-editor fieldset{border:1px solid #dce3ec;border-radius:14px;padding:14px}.admin-permission-editor legend{padding:0 7px;font-weight:800}.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.permission-card{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid #dbe3ee;border-radius:10px;background:#f8fafc;cursor:pointer}.permission-card input,.permission-select-all input{width:auto}.permission-card:has(input:checked){border-color:#2563eb;background:#eff6ff}.permission-select-all{display:flex;gap:8px;align-items:center;font-weight:700}
@media(max-width:1100px){.funnel-config-dashboard{grid-template-columns:1fr 1fr;grid-template-areas:"payment options" "decision decision" "details checkout" "consent checkout" "success checkout";grid-template-columns:1fr 1fr!important;}.placeholder-fab{left:12px!important;bottom:12px!important}}
@media(max-width:720px){.permission-grid{grid-template-columns:1fr}}
/* Platzhalter-Schalter rechts außerhalb der 220px-Adminnavigation */



/* Platzhalterdialog: dynamische Suche und Position rechts außerhalb des Menüs */
.placeholder-search{display:block;margin-top:18px}.placeholder-search input{width:100%;min-height:42px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff}.placeholder-search input:focus{outline:2px solid #bfdbfe;border-color:#2563eb}.placeholder-search-empty{margin:14px 0 0}.placeholder-copy-card[hidden]{display:none!important}.placeholder-fab{position:fixed;left:256px;bottom:24px;z-index:1450;width:48px;height:48px;padding:0;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#111827;box-shadow:0 10px 28px rgba(15,23,42,.18);font:800 .92rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;cursor:pointer;display:grid;place-items:center;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;width:29px!important;height:29px!important;left:242px!important;bottom:18px!important;border-radius:6px!important;font-size:.62rem!important;box-shadow:0 5px 14px rgba(15,23,42,.16)!important;position:fixed!important;left:238px!important;bottom:18px!important;z-index:1450!important;width:29px!important;height:29px!important;padding:0!important;border:1px solid #cbd5e1!important;border-radius:6px!important;background:#fff!important;color:#111827!important;box-shadow:0 5px 14px rgba(15,23,42,.16)!important;font:800 .62rem/1 ui-monospace,SFMono-Regular,Menlo,monospace!important;cursor:pointer!important;display:grid!important;place-items:center!important;left:228px!important;right:auto!important;left:271px!important;right:auto!important;}
@media(max-width:760px){.placeholder-fab{left:18px;bottom:18px;left:12px!important;bottom:12px!important;left:12px!important;bottom:12px!important;}}


.admin-account-row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.admin-account-row-actions form{margin:0}.admin-delete-warning{margin-top:16px}.btn.danger:hover{background:#912018;background:#912018;border-color:#912018;}


/* Marketinganalyse, Mollie-Systemcheck und Platzhalterposition */
@media (min-width:901px){.admin-placeholder-trigger{left:290px!important}}
.analytics-overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}.analytics-overview-card{min-height:180px}.analytics-overview-card h2{margin:.25rem 0 1.2rem}.analytics-overview-values{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.analytics-overview-values>div{padding:14px;border:1px solid var(--border,#dfe4ea);border-radius:14px;background:rgba(255,255,255,.52)}.analytics-overview-values strong{display:block;font-size:1.35rem}.analytics-overview-values small{display:block;margin-top:4px;color:var(--muted,#667085)}.marketing-analysis-suite{margin-top:22px}.analytics-funnel-metrics{margin:18px 0}.analytics-detail-grid{grid-template-columns:minmax(0,2fr) minmax(260px,1fr)}.analytics-day-grid{display:grid;gap:10px}.analytics-day{display:grid;grid-template-columns:56px minmax(120px,1fr) minmax(220px,auto);gap:12px;align-items:center}.analytics-day-bar{height:10px;border-radius:999px;background:#edf1f5;overflow:hidden}.analytics-day-bar i{display:block;height:100%;border-radius:inherit;background:currentColor;opacity:.65}.monitoring-state.is-warning{background:#fef3c7;color:#92400e;background:#fff4d6;color:#8a6100;}.monitoring-state.is-error{background:#fee2e2;color:#991b1b;background:#fee4e2;color:#b42318;}.monitoring-state.is-ok{background:#dcfce7;color:#166534;background:#dcfae6;color:#067647;}
@media(max-width:900px){.analytics-overview-grid,.analytics-detail-grid{grid-template-columns:1fr}.analytics-overview-values{grid-template-columns:1fr}.analytics-day{grid-template-columns:48px 1fr}.analytics-day small{grid-column:1/-1}}


/* Landingpage-Bestellabschluss: Beträge einzeilig ohne Währungssuffix */
body[class*="funnel-template-"].page-checkout-review .review-payment-breakdown>div,
body[class*="funnel-template-"] .checkout-review .review-payment-breakdown>div{display:grid!important;grid-template-columns:minmax(0,1fr) max-content!important;align-items:baseline!important;gap:18px!important;width:100%!important}
body[class*="funnel-template-"].page-checkout-review .review-payment-breakdown dt,
body[class*="funnel-template-"] .checkout-review .review-payment-breakdown dt{min-width:0!important;margin:0!important}
body[class*="funnel-template-"].page-checkout-review .review-payment-breakdown dd,
body[class*="funnel-template-"] .checkout-review .review-payment-breakdown dd{margin:0!important;text-align:right!important;white-space:nowrap!important;font-variant-numeric:tabular-nums!important}

/* Mobiler Warenkorb: Tabelle als vollständig sichtbare Artikelkarten */
@media(max-width:700px){
  .cart-products-card{overflow:visible!important;border:0!important;background:transparent!important}
  .cart-products-table,.cart-products-table tbody{display:block!important;width:100%!important;min-width:0!important}
  .cart-products-table>tbody>tr:first-child{display:none!important}
  .cart-products-table>tbody>tr[data-cart-row]{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:0 14px!important;width:100%!important;margin:0 0 14px!important;padding:14px!important;border:1px solid var(--border,#e5e7eb)!important;border-radius:14px!important;background:#fff!important;box-shadow:0 6px 20px rgba(17,24,39,.04)!important}
  .cart-products-table>tbody>tr[data-cart-row]>td{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;width:auto!important;min-width:0!important;padding:10px 0!important;border:0!important;white-space:normal!important}
  .cart-products-table>tbody>tr[data-cart-row]>td[data-label]:not(.cart-product-cell):not(.cart-remove-cell)::before{content:attr(data-label);flex:0 0 auto;color:var(--muted,#667085);font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
  .cart-products-table .cart-product-cell{grid-column:1/-1!important;padding-top:0!important;padding-bottom:12px!important;border-bottom:1px solid var(--border,#e5e7eb)!important}
  .cart-products-table .cart-item-product{width:100%!important;min-width:0!important;align-items:flex-start!important}
  .cart-products-table .cart-item-copy{min-width:0!important;overflow-wrap:anywhere!important}
  .cart-products-table .cart-item-copy strong{white-space:normal!important;line-height:1.3!important}
  .cart-products-table .cart-price-cell,.cart-products-table .cart-line-cell{font-variant-numeric:tabular-nums!important}
  .cart-products-table .cart-quantity-cell{align-items:center!important}
  .cart-products-table .cart-quantity-stepper{transform:none!important;max-width:132px!important;margin-left:auto!important}
  .cart-products-table .cart-remove-cell{grid-column:1/-1!important;padding:8px 0 0!important;border-top:1px solid var(--border,#e5e7eb)!important}
  .cart-products-table .cart-remove-button{width:100%!important;justify-content:center!important}
}
@media(max-width:390px){
  .cart-products-table>tbody>tr[data-cart-row]{grid-template-columns:1fr!important}
  .cart-products-table .cart-product-cell,.cart-products-table .cart-remove-cell{grid-column:1!important}
}


/* Customer Journey */
.journey-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}.journey-funnel{display:grid;gap:14px;margin-top:16px}.journey-funnel>div{display:grid;grid-template-columns:170px minmax(160px,1fr) 120px;gap:14px;align-items:center}.journey-funnel__bar{height:14px;background:#e8edf4;border-radius:999px;overflow:hidden}.journey-funnel__bar i{display:block;height:100%;background:linear-gradient(90deg,#2563eb,#38bdf8);border-radius:inherit}.journey-dropoffs{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.journey-dropoffs span{padding:9px 12px;background:#f6f8fb;border:1px solid #e1e7ef;border-radius:999px}.journey-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.journey-note{margin-top:16px}.journey-steps{white-space:nowrap;letter-spacing:.15em;color:#2563eb}.journey-privacy{border-left:4px solid #2563eb}@media(max-width:1100px){.journey-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.journey-kpis,.journey-grid{grid-template-columns:1fr}.journey-funnel>div{grid-template-columns:1fr}.journey-funnel>div strong{text-align:left}}

/* Funnel checkout summary: label and amount on one row */
body[class*="funnel-template-"] .funnel-checkout-summary .cart-totals{
  display:grid;
  gap:0;
  margin:18px 0 0;
}
body[class*="funnel-template-"] .funnel-checkout-summary .cart-totals>div{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) max-content!important;
  align-items:baseline!important;
  column-gap:24px!important;
  width:100%!important;
  padding:8px 0;
}
body[class*="funnel-template-"] .funnel-checkout-summary .cart-totals dt,
body[class*="funnel-template-"] .funnel-checkout-summary .cart-totals dd{
  display:block!important;
  margin:0!important;
}
body[class*="funnel-template-"] .funnel-checkout-summary .cart-totals dd{
  justify-self:end!important;
  text-align:right!important;
  white-space:nowrap!important;
  font-variant-numeric:tabular-nums!important;
}
body[class*="funnel-template-"] .funnel-checkout-summary .cart-total-row{
  margin-top:6px;
  padding-top:14px!important;
  border-top:1px solid color-mix(in srgb,var(--funnel-text,#17202a) 16%,transparent);
}


/* First-Party-Analyse-Cookie */
.analytics-consent-banner{position:fixed;z-index:1200;left:18px;right:18px;bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:980px;margin:auto;padding:18px 20px;background:#fff;color:#172033;border:1px solid #dbe2ea;border-radius:16px;box-shadow:0 18px 60px rgba(15,23,42,.2)}
.analytics-consent-banner p{margin:4px 0 0;max-width:720px;color:#64748b;font-size:.92rem}.analytics-consent-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.analytics-consent-actions form{margin:0}.analytics-settings-button{position:fixed;z-index:1100;left:14px;bottom:12px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#334155;padding:7px 10px;font-size:.72rem;box-shadow:0 8px 24px rgba(15,23,42,.12);cursor:pointer}.analytics-consent-banner~.analytics-settings-button{display:none}.analytics-settings-dialog{max-width:560px;border:0;border-radius:18px;padding:26px;box-shadow:0 28px 90px rgba(15,23,42,.28)}.analytics-settings-dialog::backdrop{background:rgba(15,23,42,.48)}.analytics-dialog-close{position:absolute;right:14px;top:12px;border:0;background:transparent;font-size:1.7rem;cursor:pointer}.analytics-settings-dialog h2{margin-top:0}
@media(max-width:700px){.analytics-consent-banner{align-items:stretch;flex-direction:column}.analytics-consent-actions{display:grid;grid-template-columns:1fr 1fr}.analytics-consent-actions .btn{width:100%}}

/* Inline-Rabattmeldungen statt globaler Statusleiste */
.discount-inline-message{margin:8px 0 0;font-size:.86rem;line-height:1.4}
.discount-inline-message.error{color:#b42318}
.discount-inline-message.success{color:#067647}

/* Customer Journey: einheitliche Kachelausrichtung und Sitzungsseiten */
.journey-entry-exit-grid{align-items:start}
.journey-entry-exit-grid>.card,.journey-entry-card{margin-top:0!important;align-self:start}
.journey-pagination{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:16px;flex-wrap:wrap}
.journey-pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 9px;border:1px solid #d8dee8;border-radius:8px;background:#fff;color:inherit;text-decoration:none;font-weight:700}
.journey-pagination a:hover,.journey-pagination .is-current{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}
.journey-pagination .is-disabled{pointer-events:none;opacity:.38}
.journey-cookie-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.journey-cookie-heading h2{margin:0}

/* Kategorien-Schnellaktionen und Produktformular-Feinschliff */
.btn.success{background:#16803c;color:#fff;border-color:#16803c}.product-results-grid{margin-top:24px!important}.product-filter-actions{display:flex;gap:8px;align-items:end;white-space:nowrap;align-items:stretch!important;}.product-filter-actions .btn{margin:0;display:inline-flex;align-items:center;justify-content:center;min-height:44px;}.product-top-options{padding:.85rem 1rem;border:1px solid var(--border,#d7dee8);border-radius:10px;background:#f8fafc;display:grid;grid-template-columns:minmax(240px,360px) minmax(280px,1fr);gap:18px;align-items:start;display:block!important;}.product-template-select-card{display:block}.product-feature-options-card .featured-checkbox,.product-discount-eligible-card{display:flex;align-items:center;gap:10px;margin:0;padding:14px 16px;border:1px solid var(--border,#d7dee8);border-radius:10px;background:#fff;cursor:pointer}.product-feature-options-card input,.product-discount-eligible-card input{flex:0 0 auto}.review-confirm .checkbox-label,.funnel-checkout-consent>.checkbox-label{font-weight:400!important;font-size:.94rem!important}.review-confirm .terms-copy,.funnel-checkout-consent>.checkbox-label span{font-weight:400!important}.review-confirm .checkbox-label+.checkbox-label,.funnel-checkout-consent>.checkbox-label+.checkbox-label{margin-top:10px!important}@media(max-width:700px){.admin-bulk-bar select,.admin-bulk-bar .btn{width:100%}.product-feature-options-card{grid-template-columns:1fr}}

/* Zahlungsreihenfolge, Kategorienleiste und Produktformular */

.product-description-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))!important}.product-description-grid-three textarea{min-height:86px!important}
.product-discount-eligible-card{margin-top:12px;white-space:nowrap;}.product-discount-eligible-card span{font-weight:700}
.review-confirm{display:flex;align-items:center;justify-content:space-between;gap:24px;align-items:flex-end;}.review-consent-stack{display:flex;flex:1 1 auto;flex-direction:column;align-items:stretch;gap:10px;min-width:0}.review-consent-stack .checkbox-label{width:100%;flex:none!important;margin:0!important}
.checkout-payment-options,.funnel-payment-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(max-width:900px){.product-description-grid-three{grid-template-columns:1fr!important}.review-confirm{align-items:stretch}.review-consent-stack{width:100%}}
@media(max-width:700px){.admin-bulk-bar{align-items:stretch;flex-direction:column;flex-wrap:wrap;}.admin-bulk-bar select{max-width:none;flex:1 1 180px}.checkout-payment-options,.funnel-payment-grid{grid-template-columns:1fr!important}}

/* Kategorien-Massenaktionen, Produktoptionen und Statistik-Pager */
.admin-bulk-bar{display:flex;align-items:center;gap:12px;margin:16px 0 12px;padding:12px 14px;flex-wrap:nowrap;display:grid!important;grid-template-columns:minmax(180px,auto) minmax(220px,1fr) 220px!important;align-items:center!important;gap:12px!important;}
.admin-bulk-select-all{display:flex;align-items:center;gap:8px;margin:0;white-space:nowrap;flex:0 0 auto;display:grid!important;grid-template-columns:44px auto!important;align-items:center!important;gap:0!important;white-space:nowrap!important;}
.admin-bulk-checkbox-cell{display:flex;align-items:center;justify-content:center;width:44px}
.admin-bulk-bar select{min-width:220px;min-width:150px;max-width:190px;flex:0 1 190px;width:100%!important;max-width:none!important;min-width:0!important;}
.category-create-button,.category-bulk-execute{width:220px!important;min-width:220px!important;justify-content:center!important}
.product-feature-options-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px;grid-template-columns:repeat(3,minmax(0,1fr))!important;margin-top:14px!important;}
.product-feature-options-card .product-discount-eligible-card{margin-top:0!important}

.analytics-pager .disabled{pointer-events:none;opacity:.45}
.analytics-pager span{font-size:.9rem;color:var(--muted,#667085)}
@media(max-width:900px){.product-feature-options-card{grid-template-columns:1fr!important}.admin-bulk-bar{grid-template-columns:1fr!important}.category-create-button,.category-bulk-execute{width:100%!important;min-width:0!important}}

/* Verkaufsstatistik: modernes Umsatzdiagramm */
.revenue-chart-card{min-width:0}.analytics-chart-subtitle{margin:.25rem 0 .4rem}.chart-grid-line{stroke:#dfe6ef;stroke-width:1;stroke-dasharray:4 6}.chart-axis-label,.chart-period-label{fill:#64748b;font-size:11px}.chart-area{fill:url(#revenueArea)}.chart-line{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.revenue-line{stroke:#2563eb}.cancellation-line{stroke:#dc2626;stroke-width:2}.chart-point{stroke:#fff;stroke-width:2}.revenue-point{fill:#2563eb}.cancellation-point{fill:#dc2626}.chart-point-group:hover .chart-point{r:6}.customer-performance-card .table-wrap{margin-top:12px}.customer-performance-card table{font-size:.9rem}

/* Kategorienreihenfolge und erweiterte Entwicklungsanalyse */
.category-order-buttons{display:flex;align-items:center;justify-content:center;gap:6px}.category-order-buttons .btn{min-width:36px;padding:7px 9px}.category-order-buttons .btn:disabled{opacity:.35;cursor:not-allowed}.category-layout-row{background:#fbfcfe}.category-layout-row .muted{display:inline-block;text-align:center;width:100%}
.development-summary{display:grid;gap:10px}.development-summary span{display:block;color:#64748b;font-size:.8rem}.development-summary strong{display:block;margin-top:3px;font-size:1.08rem;font-variant-numeric:tabular-nums}.development-metric-controls label{display:inline-flex;align-items:center;gap:7px;margin:0;padding:8px 11px;border:1px solid #dbe3ee;border-radius:999px;background:#fff;font-size:.84rem;cursor:pointer}.development-metric-controls input{width:auto;margin:0}.metric-series.is-hidden{display:none}.orders-line{stroke:#7c3aed;stroke-width:2.5}.items-line{stroke:#059669;stroke-width:2.5}.orders-point{fill:#7c3aed}.items-point{fill:#059669}.count-axis-label{fill:#475569}.revenue-chart-card .revenue-chart-wrap{margin-top:12px}
@media(max-width:900px){.development-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.category-order-col{width:92px}}
@media(max-width:600px){.development-summary{grid-template-columns:1fr 1fr}.category-order-buttons{flex-direction:column}.category-order-col{width:54px}}


/* Seiten bearbeiten: saubere Tabellen und Aktionen */
.page-management-card{margin-top:18px}
.page-management-table th,.page-management-table td{vertical-align:middle}
.page-management-table .page-nav-active{width:76px;text-align:center}
.page-management-table .page-nav-active form{display:flex;align-items:center;justify-content:center;margin:0}
.page-management-table .page-nav-active input[type=checkbox]{width:18px;height:18px;margin:0}

.page-action-buttons{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.page-action-buttons form{margin:0}
.page-action-buttons .btn{white-space:nowrap}
@media(max-width:760px){.page-action-buttons{flex-wrap:wrap}.page-management-table .page-nav-active{width:58px}}

/* Kategorien Drag & Drop, Rabattübersicht und Newsletter-Prämie */
.category-order-table [data-category-row]{cursor:grab}.category-order-table [data-category-row].is-dragging{opacity:.5}.category-order-col{width:112px;text-align:center;width:54px;}.discount-create-card .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.discount-list-card table td,.discount-list-card table th{vertical-align:middle}.newsletter-reward-card{text-align:center;max-width:720px;margin-inline:auto}.admin-kicker{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.12em;opacity:.65;margin-bottom:4px}@media(max-width:900px){.discount-admin-grid{grid-template-columns:1fr}}

/* Verkaufsstatistik: Diagramm links, sechs Kennzahlen rechts */
.sales-development-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(360px,.85fr);gap:20px;align-items:stretch;margin-top:20px}.sales-development-layout>.revenue-chart-card{margin:0;height:100%}.sales-metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-content:stretch}.sales-metric-grid .metric-card{margin:0;min-height:0;display:flex;flex-direction:column;justify-content:center}.stats-secondary-grid{margin-top:20px}.development-metric-controls .metric-control{position:relative}.metric-color-dot{width:9px;height:9px;border-radius:50%;display:inline-block;flex:none}.metric-control-revenue .metric-color-dot{background:#2563eb}.metric-control-cancellations .metric-color-dot{background:#dc2626}.metric-control-orders .metric-color-dot{background:#7c3aed}.metric-control-items .metric-color-dot{background:#059669}.metric-control-revenue input{accent-color:#2563eb}.metric-control-cancellations input{accent-color:#dc2626}.metric-control-orders input{accent-color:#7c3aed}.metric-control-items input{accent-color:#059669}.development-summary>div{padding:13px 14px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;border-left-width:4px;}.development-summary .summary-revenue{border-left-color:#2563eb}.development-summary .summary-cancellations{border-left-color:#dc2626}.development-summary .summary-orders{border-left-color:#7c3aed}.development-summary .summary-items{border-left-color:#059669}.page-management-table .page-move-column{width:54px;text-align:center;display:none!important;}
.admin-ajax-loading{opacity:.58;pointer-events:none;transition:opacity .15s ease}.admin-ajax-pagination-error{margin-top:10px;color:#b42318;font-size:.88rem}
@media(max-width:1120px){.sales-development-layout{grid-template-columns:1fr}.sales-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.sales-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.sales-metric-grid{grid-template-columns:1fr}}

.category-order-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:14px 0}.category-order-actions>div:first-child{display:flex;flex-direction:column;gap:3px}.category-order-table .page-drag-handle{cursor:grab}@media(max-width:760px){.category-order-actions{align-items:stretch;flex-direction:column}.category-order-actions .page-action-buttons{width:100%}.category-order-actions .btn{flex:1}}

/* Requested admin refinements */
.category-actions-heading,.category-actions-cell{text-align:right}.category-row-actions .btn{min-width:72px}.newsletter-central-hint{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px;border:1px solid var(--border,#d8dee8);border-radius:12px}.stats-equal-cards{align-items:stretch;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.stats-equal-cards>.card{height:100%;margin:0}.stats-top-products-grid{grid-template-columns:1fr;margin-top:20px}@media(max-width:900px){.stats-equal-cards{grid-template-columns:1fr}.newsletter-central-hint{align-items:flex-start;flex-direction:column}}

/* Kategorien und Customer Journey – konsolidierter Patch */
.category-order-toolbar{display:flex;justify-content:flex-end;gap:10px;margin:14px 0}.category-order-toolbar .btn{min-width:120px}.category-order-table th,.category-order-table td{vertical-align:middle}.journey-insight-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:stretch}.journey-insight-grid .status-list{flex:1}.newsletter-signups-card{margin-bottom:20px}.newsletter-stage-divider{border-top:1px solid var(--border,#d8dee8);padding-top:18px;margin-top:8px}.newsletter-stage-divider h3{margin:0}@media(max-width:1100px){.journey-insight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.journey-insight-grid{grid-template-columns:1fr}.category-order-toolbar{justify-content:stretch}.category-order-toolbar .btn{flex:1;min-width:0}}

/* Kategorien-Aktionen, Drag-and-drop und Newsletter-Konfiguration */
.category-create-action{display:flex;align-items:end}.category-create-button{width:100%}.category-order-table .category-actions-heading,.category-order-table .category-actions-cell{text-align:left}.category-action-group{display:inline-flex;align-items:center;gap:6px;margin:0}.newsletter-editor-section>h3{margin:0 0 16px}.newsletter-rich-heading h1,.newsletter-rich-heading h2,.newsletter-rich-heading h3,.newsletter-rich-heading p{margin-top:0}.status-list strong small{font-weight:600;color:var(--muted,#64748b);margin-left:6px}.journey-insight-grid>.card{height:100%;margin:0;display:flex;flex-direction:column;display:flex;flex-direction:column;}.journey-insight-grid .journey-pagination{margin-top:auto;padding-top:14px}

/* Final UI refinements: Kategorien, Entwicklung, Newsletter */
.category-row-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;display:flex;flex-wrap:wrap;gap:7px;display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap;display:flex;justify-content:flex-end;align-items:center;gap:7px;flex-wrap:wrap;display:flex;align-items:center;justify-content:flex-start;gap:16px;flex-wrap:wrap;gap:10px;}.category-action-separator{width:1px;height:30px;background:var(--border,#d7dee8);display:inline-block;margin:0 7px;flex:0 0 auto}.category-order-table tbody.has-active-drag tr:not(.is-dragging){transition:transform .16s ease,background-color .16s ease}.category-order-table tr.is-dragging td{padding-top:20px!important;padding-bottom:20px!important}.category-order-table tr.is-drag-target{box-shadow:inset 0 3px 0 #2563eb}.page-drag-handle{border:0;background:transparent;cursor:grab;font-size:20px;line-height:1;padding:7px;color:var(--muted);cursor:grab;touch-action:none;transition:transform .16s ease,background-color .16s ease;}.is-dragging .page-drag-handle{transform:scale(1.15);background:#dbeafe}.development-chart-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px;align-items:start;margin-top:16px;grid-template-columns:215px minmax(0,1fr);}.revenue-line-chart{display:block;width:100%;min-width:620px;height:auto;color:#2563eb;min-width:1050px;}.chart-period-label{font-size:10px}.chart-value-label{font-size:10px;font-weight:700;paint-order:stroke;stroke:var(--card,#fff);stroke-width:3px;stroke-linejoin:round;font-size:9px;}.newsletter-delivery-section{order:-1;border-width:2px}.newsletter-delivery-settings{margin-top:16px}.newsletter-editor-section .wysiwyg-editor,.newsletter-editor-section [contenteditable="true"]{min-height:210px}.newsletter-stage-content h1,.newsletter-stage-content h2,.newsletter-stage-content h3{margin-top:0}@media(max-width:900px){.newsletter-delivery-grid{grid-template-columns:1fr}.category-action-separator{display:none}.development-chart-layout{grid-template-columns:1fr;grid-template-columns:1fr;}}

/* Newsletter- und Kategorien-Fix */
.newsletter-delivery-card{margin-bottom:20px;border:1px solid var(--border,#dfe5ec)}.newsletter-config-form{margin-top:16px;display:grid;gap:18px;display:block;}.newsletter-wysiwyg{border:1px solid var(--border,#d9e1ea);border-radius:12px;overflow:hidden;background:var(--card-bg,#fff)}.newsletter-wysiwyg-toolbar button,.newsletter-wysiwyg-toolbar select{min-height:32px}.category-order-table tr[draggable="true"] .page-drag-handle{cursor:grabbing}.category-order-table tr.is-dragging{opacity:.55;background:var(--card-bg);opacity:.45;opacity:.9!important;transform:scale(1.025);background:linear-gradient(90deg,#eff6ff,#fff)!important;box-shadow:0 12px 30px rgba(37,99,235,.18);outline:2px solid rgba(37,99,235,.35);position:relative;z-index:5;transform:scale(1.018);filter:saturate(1.08);}

/* Kategorien-Kombispeicherung und ruhiger Newsletterblock */
.category-create-form{align-items:end;grid-template-columns:1fr!important;margin-bottom:18px;}.category-create-form input[name="name"]{max-width:none}.newsletter-overview-card,.newsletter-delivery-card{margin-bottom:18px}.newsletter-enable-card{margin-top:16px}.newsletter-stage-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.newsletter-stage-heading>span{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#111827;color:#fff;font-weight:800;flex:0 0 auto}.newsletter-stage-heading h2{margin:0}.newsletter-stage-heading p{margin:3px 0 0}.newsletter-inline-fields{margin:16px 0}.home-newsletter-static{transform:none!important;}.home-newsletter-static:hover{transform:none!important;}@media(max-width:800px){.newsletter-settings-grid{grid-template-columns:1fr}}

/* Newsletter-Konfiguration und statische Startseiten-Ausgabe */
.newsletter-config-top-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:stretch}
.newsletter-config-top-grid>.card{margin:0;height:100%}

.newsletter-delivery-grid .choice-card,.newsletter-enable-card{display:flex;align-items:flex-start;gap:10px}
.newsletter-delivery-grid .choice-card input,.newsletter-enable-card input{flex:0 0 auto;margin:3px 0 0}
.newsletter-wysiwyg-toolbar{padding:8px;border-bottom:1px solid var(--border,#d9e1ea);background:color-mix(in srgb,var(--card-bg,#fff) 92%,#64748b 8%);display:flex;flex-wrap:wrap;gap:5px;display:flex;flex-wrap:wrap;gap:6px;align-items:center;}
.wysiwyg-color-control{display:inline-flex!important;align-items:center;gap:4px;margin:0!important;padding:5px 7px;border:1px solid var(--line,#d9dee7);border-radius:7px;background:#fff;font-weight:700}
.wysiwyg-color-control input{width:24px;height:24px;padding:0;border:0;background:transparent}

.newsletter-wysiwyg-editor img{max-width:100%;height:auto}
.home-newsletter-static,.home-newsletter-static *{animation:none!important;transition:none!important;transform:none!important;}


.home-newsletter-static .newsletter-stage-content img{max-width:100%;height:auto;}
.home-newsletter-static .container,.home-newsletter-static .container-wide{width:100%;box-sizing:border-box;}
@media(max-width:900px){.newsletter-config-top-grid,.newsletter-delivery-grid{grid-template-columns:1fr}}


/* Newsletter/Rabattcodes – konsistente Bearbeitung und Ausgabe */
.newsletter-control-grid>.card{margin:0;height:100%}.newsletter-delivery-grid .choice-card{margin:0}.newsletter-stage-grid{display:grid;gap:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}.newsletter-editor-section{border:1px solid var(--border,#dfe5ec);border-radius:14px;padding:18px;background:var(--surface,#fff);margin:0;}.newsletter-mail-editor{grid-column:1/-1}.newsletter-reward-design-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:end;margin-top:18px}.newsletter-mail-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:14px}.newsletter-wysiwyg-editor [style]{max-width:100%}.newsletter-reward-pill{display:inline-flex;align-self:center}.newsletter-reward-code{display:inline-flex;align-self:center;font-size:clamp(1.35rem,4vw,2rem);letter-spacing:.12em;border:1px dashed currentColor;border-radius:12px;padding:12px 20px;margin-top:8px;display:inline-block;padding:10px 20px;border-radius:12px;}.home-newsletter-consent>*:not(input){min-width:0;}.discount-row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.admin-section-spacer{height:28px}.discount-list-card .pagination{margin-top:16px}
@media(max-width:980px){.newsletter-control-grid,.newsletter-stage-grid{grid-template-columns:1fr}.newsletter-mail-editor{grid-column:auto}.newsletter-reward-design-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.newsletter-reward-design-grid{grid-template-columns:1fr}.newsletter-mail-footer{align-items:flex-start;flex-direction:column}}

/* Newsletter layout and editor stability */
.newsletter-control-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:stretch;margin-bottom:20px;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:22px!important;align-items:stretch!important;}
.newsletter-control-card{min-width:0!important;height:auto!important;overflow:visible!important}
.newsletter-control-card>div:first-child{margin-bottom:16px!important}
.newsletter-enable-card,.newsletter-delivery-grid .choice-card{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;align-items:start!important;gap:10px!important;width:100%!important;height:auto!important;min-height:0!important;padding:14px!important;box-sizing:border-box!important;text-align:left!important;writing-mode:horizontal-tb!important}
.newsletter-enable-card input,.newsletter-delivery-grid .choice-card input{grid-column:1!important;margin:2px 0 0!important;width:18px!important;height:18px!important}
.newsletter-enable-card span,.newsletter-delivery-grid .choice-card span{grid-column:2!important;min-width:0!important;display:block!important;writing-mode:horizontal-tb!important;word-break:normal!important;overflow-wrap:anywhere!important}
.newsletter-enable-card strong,.newsletter-enable-card small,.newsletter-delivery-grid .choice-card strong,.newsletter-delivery-grid .choice-card small{display:block!important;writing-mode:horizontal-tb!important;white-space:normal!important}

.newsletter-wysiwyg-editor{min-height:220px;padding:16px;outline:0;min-height:260px;line-height:1.5;background:#fff;background:#fff;min-height:260px;}
.newsletter-wysiwyg-editor>[data-newsletter-surface]{min-height:220px;box-sizing:border-box}

.home-newsletter-consent{margin-top:12px;font-size:.9rem;line-height:1.45;grid-template-columns:auto minmax(0,1fr)!important;display:inline-flex!important;align-items:flex-start!important;justify-content:flex-start!important;gap:8px!important;width:auto!important;max-width:100%!important;text-align:left!important;}
.home-newsletter-consent>input{justify-self:start;flex:0 0 auto!important;margin:3px 0 0!important;width:16px!important;height:16px!important;}
.home-newsletter-consent-copy{display:block!important;min-width:0!important;text-align:left!important;}
.home-newsletter-consent-copy>*{text-align:left!important;margin-top:0!important;}
.home-newsletter-consent-copy>p:first-child{margin-top:0!important;}
.home-newsletter-consent-copy>p:last-child{margin-bottom:0!important;}
@media(max-width:980px){.newsletter-control-grid{grid-template-columns:1fr!important}.newsletter-settings-grid{grid-template-columns:1fr!important}}

/* Newsletter/admin cleanup and dynamic builder movement */
.marketing-panel[data-marketing-panel="newsletter"] .marketing-newsletter-card{display:grid;gap:18px}.marketing-panel[data-marketing-panel="newsletter"] .card-table-wrap{border:1px solid var(--border,#d7dee8);border-radius:14px;overflow:auto}
.newsletter-control-grid-clean{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:20px!important;align-items:stretch!important}.newsletter-settings-panel{min-width:0;overflow:hidden}.newsletter-settings-panel>.choice-card,.newsletter-delivery-grid>.choice-card{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;align-items:start!important;gap:10px!important;width:100%!important;box-sizing:border-box!important}.newsletter-settings-panel input[type="checkbox"],.newsletter-settings-panel input[type="radio"]{margin:3px 0 0!important}.newsletter-settings-panel .choice-card span{min-width:0!important;overflow-wrap:anywhere!important}
.builder-visibility-status.is-visible{font-weight:800;color:#15803d}.builder-visibility-status.is-hidden{font-weight:800;color:#b91c1c}
.home-newsletter-block .home-newsletter-layout:not(:has(img)){grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:980px!important;}.home-newsletter-block .home-newsletter-layout:not(:has(img))>div{width:100%!important;max-width:760px!important;margin-inline:auto!important;}.home-newsletter-block,.home-newsletter-pending,.home-newsletter-reward{transform:none!important;animation:none!important;transition:none!important;}
.newsletter-stage-content{font:inherit;color:inherit}.newsletter-stage-content>[data-newsletter-surface]{width:100%;box-sizing:border-box;display:block;width:100%;box-sizing:border-box;}
@media(max-width:900px){.newsletter-control-grid-clean{grid-template-columns:1fr!important}.newsletter-settings-grid{grid-template-columns:1fr!important}}

/* Newsletter / Builder final alignment */
.builder-block-card{margin-bottom:16px;margin:0;transition:.2s ease;
  position:relative;
  min-width:0;
  padding:16px 14px 13px;padding:14px;position:relative;}

.builder-block-card.is-inactive .builder-block-number{background:#fee2e2!important;color:#991b1b!important}
.builder-block-card.is-dragging{transform:scale(1.015);box-shadow:0 20px 48px rgba(15,23,42,.2);border-color:#2563eb;opacity:.92;z-index:5}
.builder-block-card.is-dragging .builder-block-number{cursor:grabbing;background:#dbeafe!important;color:#1d4ed8!important}
.builder-block-card.is-drop-target{border-top:4px solid #2563eb}
.builder-block-meta .builder-visibility-status{position:absolute;top:14px;right:16px;font-weight:800;padding:4px 8px;border-radius:999px}
.builder-block-meta .builder-visibility-status.is-visible{color:#166534;background:#dcfce7}
.builder-block-meta .builder-visibility-status.is-hidden{color:#991b1b;background:#fee2e2}
.builder-block-card[data-home-block-id] .builder-block-summary{min-height:92px}
.marketing-newsletter-card .inline-form{display:inline-flex;margin:.35rem 0 0 .4rem;vertical-align:middle}

/* Finalfix: Newsletter-Steuerkarten stabil und horizontal */

.newsletter-control-grid-clean>.newsletter-control-card{min-width:0!important;overflow:visible!important;height:auto!important}
.newsletter-control-grid-clean .newsletter-enable-card{display:flex!important;align-items:flex-start!important;gap:10px!important;width:100%!important;padding:14px!important;box-sizing:border-box!important}
.newsletter-control-grid-clean .newsletter-enable-card input{flex:0 0 18px!important;width:18px!important;height:18px!important;margin:2px 0 0!important}
.newsletter-control-grid-clean .newsletter-enable-card span{display:block!important;min-width:0!important;writing-mode:horizontal-tb!important}
.newsletter-delivery-grid{grid-template-columns:repeat(3,minmax(0,1fr));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid;grid-template-columns:1fr;gap:10px;margin-top:16px;display:grid!important;grid-template-columns:1fr!important;gap:10px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin-top:16px!important;}
.newsletter-delivery-grid>.choice-card{display:flex!important;align-items:flex-start!important;gap:9px!important;min-width:0!important;width:auto!important;padding:14px!important;box-sizing:border-box!important;text-align:left!important;writing-mode:horizontal-tb!important}
.newsletter-delivery-grid>.choice-card input{flex:0 0 18px!important;width:18px!important;height:18px!important;margin:2px 0 0!important}
.newsletter-delivery-grid>.choice-card span,.newsletter-delivery-grid>.choice-card strong,.newsletter-delivery-grid>.choice-card small{display:block!important;min-width:0!important;writing-mode:horizontal-tb!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
.newsletter-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px;align-items:end;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}
@media(max-width:1000px){.newsletter-control-grid-clean{grid-template-columns:1fr!important}.newsletter-delivery-grid{grid-template-columns:1fr!important}.newsletter-settings-grid{grid-template-columns:1fr!important}}

/* Erweiterter E-Mail-Designer */
.system-mail-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:8px;border:1px solid #cbd5e1;border-bottom:0;border-radius:10px 10px 0 0;background:#f8fafc;align-items:center;position:sticky;top:0;z-index:2;}
.system-mail-toolbar select{width:auto;min-height:34px;padding:5px 8px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#17202a}
.system-mail-color{display:inline-flex;align-items:center;gap:4px;min-height:34px;padding:4px 7px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;font-weight:800}
.system-mail-color input{width:24px;height:24px;padding:0;border:0;background:transparent;cursor:pointer}
.system-mail-editor{min-height:260px;padding:16px;border:1px solid #cbd5e1;border-radius:0 0 10px 10px;background:#fff;line-height:1.6;outline:none;min-height:420px;}.system-mail-editor img{max-width:100%;height:auto}.system-mail-editor table{width:100%;border-collapse:collapse}.system-mail-editor td,.system-mail-editor th{border:1px solid #d1d5db;padding:8px}

/* Newsletter-Erinnerungen und E-Mail-Medienmanager */
.newsletter-reminder-form .choice-card{height:100%}.mail-media-dialog,.mail-cta-dialog{border:0;border-radius:18px;padding:0;width:min(900px,calc(100vw - 32px));box-shadow:0 28px 80px rgba(15,23,42,.25)}.mail-dialog-card{padding:22px;display:grid;gap:18px}.mail-upload-zone{border:2px dashed #cbd5e1;border-radius:14px;padding:18px;text-align:center;font-weight:700}.mail-upload-zone input{display:block;margin:10px auto 0}.mail-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;max-height:55vh;overflow:auto}.mail-media-item img{width:100%;height:95px;object-fit:cover;border-radius:8px}.mail-media-item span{font-size:.78rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-cta-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:55vh;overflow:auto}.mail-cta-options .choice-card{text-align:left;cursor:pointer}@media(max-width:900px){.mail-cta-options{grid-template-columns:1fr}}


/* Systemgetrennte Maildesigner- und Rabatt-Erweiterungen */
.system-mail-template-actions{margin-top:12px;display:flex;justify-content:flex-end}.system-mail-editor .mail-resizable-image:hover{outline-color:currentColor}.discount-pagination{margin-top:18px}.funnel-newsletter-card{max-width:820px;margin-inline:auto}.mail-media-item{border:1px solid #dbe3ec;border-radius:12px;background:#fff;padding:8px;display:grid;gap:7px;text-align:left;cursor:pointer;}

/* Zahlungs-/Newsletter-/Rabatt-/Maildesigner-Patch */

.newsletter-reminder-footer-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}
.newsletter-delete-column form{display:inline-flex;margin:2px}
.discount-admin-grid{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);gap:20px;align-items:start;align-items:stretch;}.discount-create-card,.discount-list-card{height:100%;box-sizing:border-box}.discount-list-card{display:flex;flex-direction:column}.discount-list-card .table-wrap{flex:1}
.discount-list-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.discount-select-column{width:38px;text-align:center}.discount-select-column input{width:18px;height:18px}
.mail-resizable-image{outline:2px dashed transparent;resize:both!important;overflow:hidden!important;vertical-align:middle;}.mail-resizable-image img{pointer-events:none}
/* Korrektur: Newsletter-Erinnerung und Bildwerkzeuge */



.newsletter-reminder-form{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(150px,.7fr) minmax(150px,.7fr) auto;gap:12px;align-items:end;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:end!important;}
@media(max-width:900px){.newsletter-confirm-reminder-settings{grid-template-columns:1fr;grid-template-columns:1fr!important;}.newsletter-reminder-form{grid-template-columns:1fr;grid-template-columns:1fr!important;}}
/* Payment/Funnel/Newsletter settings stabilization */
.newsletter-reminder-intro{display:grid;gap:14px;width:100%;text-align:left;}.newsletter-reminder-single-card>label:not(.choice-card){display:grid!important;gap:6px!important;text-align:left!important}

/* Gesamtpatch Warenkorb/Funnel/Steuer */
.analytics-pager{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:16px;padding-top:12px;border-top:1px solid var(--border,#d7dee8);display:flex!important;align-items:center;justify-content:center!important;gap:10px;width:100%;margin:18px auto 0;text-align:center;}.fulfillment-history .is-upcoming{opacity:.55}.shop-success{min-height:60vh;display:grid;place-items:center}.shop-success>.container{max-width:760px;text-align:center}.success-redirect-note{text-align:center;margin-top:18px}.builder-block-number{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#f1f5f9;font-weight:800;
  position:absolute;
  top:10px;
  left:10px;
  z-index:2;
  width:27px;
  height:27px;
  border:2px solid var(--primary,#111827);
  background:#fff;
  color:var(--primary,#111827);
  border-radius:50%;
  font-size:.78rem;
  line-height:1;
  box-shadow:0 2px 7px rgba(15,23,42,.08);width:30px;height:30px;font-size:12px;cursor:grab;user-select:none;transition:.18s ease;background:#dcfce7!important;color:#166534!important;touch-action:none;}

/* Patch: Customer-Journey-Legende */
.journey-funnel-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin:0 0 16px}.journey-funnel-legend span{font-size:.85rem;font-weight:700}


.nav-cart.is-empty span{display:inline-flex;align-items:center;opacity:1;cursor:not-allowed;pointer-events:none}
body.public-page .nav-cart.is-empty .header-cart-link,body.public-page .nav-cart.is-empty .header-cart-link span{color:inherit;opacity:1}
.digital-fulfillment-item{border:1px solid var(--border,#dfe5ec);border-radius:12px;padding:14px;background:var(--surface,#fff)}




.newsletter-reminder-single-card .newsletter-reminder-toggle-card{margin:0!important;align-self:stretch!important;text-align:left!important;grid-column:1/-1!important;justify-self:start!important;width:min(100%,560px)!important;text-align:left!important;}
@media(max-width:760px){.newsletter-reminder-single-card{grid-template-columns:1fr!important}.digital-fulfillment-item dl>div{grid-template-columns:1fr;gap:2px}}

/* Deepfix: eindeutige Reminder-Kachel, Zahlungsstatus und Fehlzahlung */
.newsletter-confirm-reminder-settings .newsletter-reminder-intro{margin-bottom:14px;margin:0 0 14px!important;}.newsletter-reminder-single-card{display:grid!important;grid-template-columns:minmax(280px,1.4fr) minmax(180px,.8fr) minmax(180px,.8fr)!important;gap:14px!important;align-items:end!important;width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;align-items:end!important;display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(180px,.7fr) minmax(180px,.7fr)!important;gap:14px!important;align-items:end!important;}.newsletter-reminder-toggle-card{width:100%;box-sizing:border-box;margin:0!important;text-align:left!important;}.payment-retry-notice{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;margin-bottom:14px;border:1px solid #f0c9c9;border-radius:10px;background:#fff7f7;font-size:.88rem}.payment-retry-notice strong{color:#9f1d1d}.payment-retry-notice span{color:#5f2930}.fulfillment-payment-status{font-weight:800}.fulfillment-payment-status.is-paid{color:#15803d}.fulfillment-payment-status.is-unpaid{color:#b91c1c}.digital-fulfillment-item dl{display:grid;gap:8px;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}.digital-fulfillment-item dl>div{display:grid;grid-template-columns:minmax(120px,180px) 1fr;gap:12px;padding:10px;border:1px solid var(--border,#d8dee8);border-radius:10px;}.digital-fulfillment-item dt{font-weight:700;font-size:.72rem;color:var(--muted,#64748b);}.digital-fulfillment-item dd{margin:0;margin:4px 0 0;font-weight:700;}.tax-export .tax-zip-action{margin-left:auto}@media(max-width:900px){.newsletter-reminder-single-card{grid-template-columns:1fr!important;grid-template-columns:1fr!important;}.digital-fulfillment-item dl{grid-template-columns:1fr}}
.permission-scope{display:block;margin-top:3px;font-size:.68rem;font-weight:700;color:var(--muted,#64748b)}
/* Final authoritative layout: reminder configuration is one card below its heading. */
.newsletter-confirm-reminder-settings{margin:18px 0;display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,1.2fr);gap:20px;align-items:center;display:grid!important;grid-template-columns:minmax(280px,1fr) minmax(320px,1.2fr)!important;gap:24px!important;align-items:start!important;align-items:flex-start!important;display:block!important;display:block!important;grid-template-columns:none!important;}




/* Final: automatische Erinnerungsmail – eine Zeile, Checkbox vor Text */

.newsletter-confirm-reminder-settings>.newsletter-reminder-intro{display:block!important;width:100%!important;margin:0 0 14px!important;display:block!important;margin:0 0 14px!important;width:100%!important;}
.newsletter-confirm-reminder-settings .newsletter-reminder-single-card{display:grid!important;grid-template-columns:minmax(240px,1.35fr) minmax(170px,.7fr) minmax(170px,.7fr)!important;gap:14px!important;align-items:end!important;width:100%!important;margin:0!important;display:grid!important;grid-template-columns:minmax(320px,1.4fr) minmax(170px,.7fr) minmax(170px,.7fr)!important;gap:14px!important;align-items:end!important;width:100%!important;margin:0!important;}
.newsletter-confirm-reminder-settings .newsletter-reminder-toggle-card{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid var(--border,#d8dee8);border-radius:12px;background:var(--surface,#fff);display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;white-space:nowrap!important;width:100%!important;margin:0!important;text-align:left!important;}
.newsletter-confirm-reminder-settings .newsletter-reminder-toggle-card input{flex:0 0 18px!important;width:18px!important;height:18px!important;margin:0!important}
.newsletter-confirm-reminder-settings .newsletter-reminder-toggle-card span{display:flex!important;align-items:center!important;gap:8px!important;white-space:nowrap!important}
.newsletter-confirm-reminder-settings .newsletter-reminder-toggle-card small{display:none!important}
@media(max-width:900px){.newsletter-confirm-reminder-settings .newsletter-reminder-single-card{grid-template-columns:1fr!important;grid-template-columns:1fr!important;}.newsletter-confirm-reminder-settings .newsletter-reminder-toggle-card,.newsletter-confirm-reminder-settings .newsletter-reminder-toggle-card span{white-space:normal!important}}

/* YASMIN: robuste Pointer-/Touch-Sortierung der Startseitenbausteine */
.builder-block-number[data-home-block-drag-handle]{border:0;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;padding:0;color:inherit;font:inherit;line-height:1}
.builder-block-number[data-home-block-drag-handle]:active{cursor:grabbing}
.builder-block-card.is-pointer-sorting{opacity:.28;outline:2px dashed currentColor;outline-offset:2px}
.builder-block-drag-ghost{position:fixed!important;z-index:100000!important;margin:0!important;pointer-events:none!important;opacity:.96!important;box-shadow:0 22px 55px rgba(15,23,42,.24)!important;transform-origin:center top;will-change:transform}
.builder-block-drag-ghost details,.builder-block-drag-ghost .builder-delete-form{display:none!important}
body.builder-pointer-sorting{cursor:grabbing!important;user-select:none!important;-webkit-user-select:none!important}
.builder-block-list.is-saving-order{pointer-events:none;opacity:.72}


/* YASMIN: Vollständig bearbeitbarer Funnel-Newsletterblock */
.funnel-newsletter-editor{margin:16px 0;padding:18px;border:1px solid var(--border,#d9e0e8);border-radius:16px;background:var(--surface,#f8fafc)}
.funnel-newsletter-editor .newsletter-editor-state{padding:14px;border:1px solid var(--border,#d9e0e8);border-radius:12px;background:#fff}
.funnel-newsletter-editor .newsletter-editor-state h4{margin:0 0 12px}
.is-hidden-for-newsletter{display:none!important}
.funnel-newsletter-width-medium .funnel-newsletter-card{max-width:820px}.funnel-newsletter-width-wide .funnel-newsletter-card{max-width:1080px}
.funnel-newsletter-align-center .funnel-newsletter-card{text-align:center}.funnel-newsletter-align-center .home-newsletter-form{margin-inline:auto;}.funnel-newsletter-align-left .funnel-newsletter-card{text-align:left}
.funnel-newsletter-email-label{display:block;font-weight:700;margin:0 0 7px;text-align:left!important;width:100%!important}.home-newsletter-input-row--newsletter-split{display:grid;grid-template-columns:minmax(220px,50%) auto!important;gap:10px;align-items:start;justify-content:flex-start!important;width:100%!important}.home-newsletter-input-row--newsletter-split input{width:100%!important}.home-newsletter-input-row--newsletter-split .btn{margin:0;align-self:stretch}.home-newsletter-consent--newsletter-spacing{margin-top:16px!important;margin-bottom:0!important;width:100%!important}.funnel-newsletter-benefit{margin:14px 0;padding:11px 13px;border-radius:12px;background:color-mix(in srgb,var(--funnel-accent,#e8b45a) 16%,transparent);font-weight:700}
.newsletter-benefit-toggle{align-items:flex-start}

/* YASMIN: bestätigten Funnel-Newslettercode sichtbar ausgeben */
.funnel-newsletter-reward{margin-top:18px;padding:18px;border:1px solid rgba(15,23,42,.16);border-radius:14px;background:rgba(255,255,255,.72)}
.funnel-newsletter-reward h3{margin:0 0 10px}.funnel-newsletter-reward p{margin:10px 0 0}


/* YASMIN: Funnel-Newslettercode ohne innere Auswahlkachel */
.funnel-newsletter-reward .funnel-newsletter-code-break{display:block;content:"";margin:10px 0}
.funnel-newsletter-reward .newsletter-reward-code{display:inline-flex;padding:10px 16px;border:1px dashed currentColor;border-radius:10px;font-size:1.15rem;letter-spacing:.08em;box-sizing:border-box;max-width:100%;white-space:normal;overflow-wrap:anywhere;}

/* YASMIN: Monitoring-Ereignisprotokoll */
.monitoring-event-pager{justify-content:center!important}
.monitoring-event-clear{display:flex;justify-content:flex-end;align-items:center;margin-top:18px;padding-top:14px;border-top:1px solid var(--border,#d7dee8)}
.monitoring-event-clear form{margin:0}

/* YASMIN: Monitoring-Kennzahlen links, häufig besuchte Seiten rechts */
.monitoring-overview-grid{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);gap:22px;align-items:stretch;margin:18px 0 22px}
.monitoring-summary-left{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin:0!important;align-content:start}
.monitoring-summary-left .metric-card{min-height:0;height:100%;display:flex;flex-direction:column;justify-content:center}
.monitoring-top-pages{min-width:0;border:1px solid var(--line,#dfe5ec);border-radius:14px;padding:16px;background:var(--surface,#fff)}
.monitoring-top-pages h3{margin-top:0}
.monitoring-history{margin-top:4px}
@media(max-width:900px){.monitoring-overview-grid{grid-template-columns:1fr}.monitoring-summary-left{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:640px){.monitoring-summary-left{grid-template-columns:1fr!important}}

/* YASMIN: Funnel-Newsletter ohne äußere Kartenbox; Rabattcodefläche konfigurierbar */
.funnel-type-newsletter .funnel-newsletter-card{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important}
.funnel-type-newsletter .funnel-newsletter-reward{background-clip:padding-box}

/* YASMIN: Funnel-Designstudio 2.0 – ausschließlich Funnelsystem. */
.funnel-template-carousel{margin-top:16px}.funnel-template-track>.funnel-template-option{min-width:0;min-height:154px;padding:12px;gap:8px}.funnel-template-track>.funnel-template-option small{margin-top:auto}.funnel-template-carousel-actions span{min-width:92px;text-align:center;color:var(--muted);font-size:.82rem}.funnel-template-swatch i:nth-child(2){background:var(--preview-primary);background:var(--preview-primary)!important;color:var(--preview-button-text);}.funnel-template-swatch i:nth-child(3){background:var(--preview-card);background:var(--preview-card)!important;color:var(--preview-text);}.funnel-template-swatch i span,.funnel-template-swatch i small{display:block;color:inherit;font-style:normal;font-size:.56rem;line-height:1.2}.funnel-color-control input[type=color]{flex:0 0 48px}.funnel-font-upload-grid label{display:grid;gap:8px}.funnel-legal-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.funnel-legal-editor-grid section{padding:18px;border:1px solid var(--card-border);border-radius:14px}.funnel-legal-card h1{font-family:var(--funnel-heading-font);font-weight:var(--funnel-heading-weight,700);color:var(--funnel-text)}
body[class*="funnel-template-"] .funnel-section{position:relative;isolation:isolate;overflow:hidden;gap:var(--funnel-section-gap,28px);}body[class*="funnel-template-"] .btn{padding:var(--funnel-cta-y,11px) var(--funnel-cta-x,20px)}body[class*="funnel-template-"] h1,body[class*="funnel-template-"] h2,body[class*="funnel-template-"] h3{font-weight:var(--funnel-heading-weight,700)}body[class*="funnel-template-"] .funnel-page,body[class*="funnel-template-"] .funnel-checkout,body[class*="funnel-template-"] .funnel-cart{line-height:var(--funnel-body-line-height,1.65)}body[class*="funnel-template-"] .funnel-section img{filter:var(--funnel-image-filter,none)}
@media(max-width:1050px){.funnel-legal-editor-grid{grid-template-columns:1fr}.funnel-font-upload-grid{grid-template-columns:1fr}}
/* YASMIN Funnel Designstudio: getrennte Stilwelten, echte Vorschau und kompakte Dramaturgie. */


.funnel-style-worlds-grid .section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.funnel-style-worlds-grid .section-heading h2{margin:2px 0 0;font-size:1.12rem}
.funnel-template-viewport{overflow:hidden;overflow:hidden;min-width:0;}


.funnel-template-option>input{position:absolute;opacity:0;pointer-events:none}
.funnel-template-option.is-selected{outline:2px solid var(--primary-bg,#2563eb);outline-offset:1px}


.funnel-template-option>strong{font-size:.92rem;line-height:1.15}

.funnel-template-swatch i{display:block;border-radius:4px;position:relative;overflow:hidden;padding:7px;display:flex;flex-direction:column;justify-content:center;padding:7px;border-radius:7px;background:var(--preview-card);color:var(--preview-text);font-style:normal;font-size:.69rem;line-height:1.15;}
.funnel-template-swatch i:first-child{grid-row:1/3;background:var(--preview-secondary);background:var(--preview-secondary)!important;color:var(--preview-text);grid-row:1/3;background:linear-gradient(145deg,var(--preview-secondary),var(--preview-primary));color:var(--preview-button-text);}
.funnel-template-swatch i:first-child span{font-family:var(--preview-heading-font),Georgia,serif;font-weight:800;font-size:.86rem}
.funnel-template-swatch i small{color:inherit;opacity:.76;font-size:.62rem}
.funnel-template-swatch b{position:absolute;right:12px;bottom:12px;padding:4px 10px;border-radius:999px;background:var(--preview-accent);color:#fff;font-size:.64rem;background:var(--preview-accent)!important;color:var(--preview-button-text)!important;grid-column:1/-1;text-align:center;padding:5px;border-radius:6px;background:var(--preview-primary);color:var(--preview-button-text);font-size:.68rem;}
.funnel-template-carousel-actions{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:14px;display:flex;justify-content:center;align-items:center;gap:10px;margin-top:auto;padding-top:14px;}
.funnel-template-carousel-actions .btn{min-width:44px;padding:7px 12px}
.funnel-empty-designs{display:grid;place-content:center;min-height:190px;padding:22px;text-align:center;border:1px dashed var(--card-border,#d8dde6);border-radius:14px;background:color-mix(in srgb,var(--card-bg,#fff) 90%,#f3f5f8)}
.funnel-empty-designs p{margin:.4rem 0 0;color:var(--muted,#667085);font-size:.88rem}
.funnel-draft-banner{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px) auto;gap:18px;align-items:end;padding:20px;margin-bottom:22px;border:1px solid #cbd5e1;border-radius:16px;background:#f8fafc}
.funnel-draft-banner h2,.funnel-draft-banner p{margin:.2rem 0}
.funnel-real-preview{margin:18px 0 24px;padding:18px;border:1px solid var(--card-border,#d8dde6);border-radius:18px;background:var(--card-bg,#fff)}
.funnel-real-preview iframe{display:block;width:100%;height:720px;margin-top:14px;border:1px solid #cfd6df;border-radius:14px;background:#fff}
.funnel-hex-input{min-width:0;width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;text-transform:uppercase;width:104px!important;min-width:104px!important;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;text-transform:uppercase;}
.funnel-color-control>div{display:flex;align-items:center;gap:10px;align-items:stretch;display:grid!important;grid-template-columns:48px minmax(104px,1fr)!important;gap:9px!important;align-items:center;}
.funnel-font-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px;display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px;}
.funnel-font-rights{margin-top:14px;padding:12px;border:1px solid var(--card-border);border-radius:12px;margin-top:14px;}
.funnel-legal-page{min-height:70vh;padding:clamp(48px,8vw,110px) 20px;background:var(--funnel-surface);color:var(--funnel-text);font-family:var(--funnel-body-font);line-height:var(--funnel-body-line-height,1.65);min-height:100vh;padding:clamp(36px,7vw,90px) 20px;background:var(--funnel-surface);color:var(--funnel-text);font-family:var(--funnel-body-font);}
.funnel-legal-shell{width:min(var(--funnel-container),100%);margin:auto;width:min(100%,var(--funnel-container));margin:auto;}.funnel-legal-brand{display:inline-block;margin-bottom:30px;color:var(--funnel-primary);font-family:var(--funnel-heading-font);font-weight:var(--funnel-heading-weight,700);text-decoration:none;display:inline-block;margin-bottom:24px;color:var(--funnel-primary);font-family:var(--funnel-heading-font);font-weight:800;text-decoration:none;}.funnel-legal-card{padding:clamp(24px,5vw,64px);background:var(--funnel-card);border:var(--funnel-border-width) var(--funnel-card-border-style,solid) var(--funnel-border);border-radius:var(--funnel-section-radius);box-shadow:var(--funnel-shadow);padding:clamp(24px,5vw,58px);border:var(--funnel-border-width) solid var(--funnel-border);border-radius:var(--funnel-section-radius);background:var(--funnel-card);box-shadow:var(--funnel-shadow);}
@media(max-width:1180px){.funnel-draft-banner{grid-template-columns:1fr 1fr}.funnel-draft-banner .btn{grid-column:1/-1}.funnel-real-preview iframe{height:620px}}
@media(max-width:720px){.funnel-draft-banner,.funnel-font-upload-grid{grid-template-columns:1fr}.funnel-real-preview iframe{height:520px}.funnel-style-worlds-grid>.funnel-style-picker{padding:15px}}


/* YASMIN Funnel Designstudio V3: 2x2 Vorschauen, eigene Designs und Rechtstext-Navigation. */
.funnel-style-worlds-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:stretch;margin-bottom:24px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:stretch;}
.funnel-style-worlds-grid>.funnel-style-picker{min-width:0;height:100%;padding:20px;border:1px solid var(--card-border,#dfe3ea);border-radius:18px;background:var(--card-bg,#fff);display:flex;flex-direction:column;min-height:520px!important;max-height:none!important;}
.funnel-template-viewport,.funnel-template-track{width:100%}
.funnel-template-track{display:flex;gap:14px;transition:transform .28s ease;will-change:transform;display:flex;gap:12px;transition:transform .28s ease;will-change:transform;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:12px!important;transform:none!important;align-content:start;}
.funnel-template-option[hidden]{display:none!important}
.funnel-template-option{display:flex;flex-direction:column;gap:7px;padding:14px;border:2px solid var(--card-border);border-radius:14px;background:var(--card-bg);cursor:pointer;transition:.2s border-color,.2s transform,.2s box-shadow;min-height:230px;padding:16px;position:relative;display:flex;flex-direction:column;gap:7px;min-width:0;padding:10px;border:1px solid var(--card-border,#d8dde6);border-radius:14px;background:#fff;cursor:pointer;box-sizing:border-box;min-height:0!important;height:auto!important;}


.funnel-template-swatch{height:72px;border-radius:10px;overflow:hidden;display:grid;grid-template-columns:1.25fr .75fr;grid-template-rows:1fr 1fr;gap:4px;padding:8px;border:1px solid rgba(15,23,42,.1);height:92px;background:var(--preview-surface);grid-template-columns:1.2fr .8fr;grid-template-rows:1fr 1fr;position:relative;height:82px!important;display:grid;grid-template-columns:1.35fr .8fr;grid-template-rows:1fr 1fr auto;gap:5px;height:118px;padding:7px;border-radius:10px;background:var(--preview-surface);border:1px solid color-mix(in srgb,var(--preview-text) 16%,transparent);overflow:hidden;font-family:var(--preview-body-font),system-ui,sans-serif;height:118px!important;}
.funnel-legal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:26px}
.funnel-legal-heading h1{margin:.25rem 0 0}
.funnel-legal-back{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;padding:11px 16px;border:var(--funnel-border-width,1px) solid var(--funnel-border);border-radius:var(--funnel-button-radius,12px);background:var(--funnel-primary);color:var(--funnel-button-text);font:inherit;font-weight:800;box-shadow:var(--funnel-shadow);cursor:pointer;transition:transform .18s ease,filter .18s ease}
.funnel-legal-back:hover{transform:translateY(-1px);filter:brightness(1.04)}
@media(max-width:1180px){.funnel-style-worlds-grid{grid-template-columns:1fr;grid-template-columns:1fr!important;}.funnel-style-worlds-grid>.funnel-style-picker{min-height:auto!important}}
@media(max-width:640px){.funnel-template-track{grid-template-columns:1fr!important}.funnel-legal-heading{align-items:stretch;flex-direction:column}.funnel-legal-back{align-self:flex-start}}


/* YASMIN: explizite temporäre Funnel-Designvorschau je Designkarte. */
.funnel-template-preview-check{position:absolute;right:9px;top:9px;z-index:5;display:grid;place-items:center;width:28px;height:28px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;box-shadow:0 4px 12px rgba(15,23,42,.10);cursor:pointer}
.funnel-template-preview-check input{position:absolute!important;opacity:0!important;pointer-events:none!important}
.funnel-template-preview-check span{width:15px;height:15px;border:2px solid #94a3b8;border-radius:4px;background:#fff;box-sizing:border-box}
.funnel-template-preview-check input:checked+span{border-color:var(--accent,#2563eb);background:var(--accent,#2563eb);box-shadow:inset 0 0 0 3px #fff}
.funnel-template-option.is-preview-template{outline:2px solid var(--accent,#2563eb);outline-offset:2px}

.funnel-design-toolbar .inline-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}

/* YASMIN Funnel-Designmodus: veröffentlichte Gestaltung schützen, temporäre Vorschau bearbeiten. */
.funnel-design-mode-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 24px;align-items:center;margin-bottom:20px;border:1px solid var(--card-border,#d8dde6);border-radius:18px;background:var(--card-bg,#fff)}
.funnel-design-mode-card h2,.funnel-design-mode-card p{margin:.2rem 0}
.funnel-design-mode-card>small{grid-column:1/-1}
.funnel-design-mode-card.is-active{border-color:color-mix(in srgb,var(--accent,#2563eb) 42%,var(--card-border,#d8dde6));box-shadow:0 12px 32px rgba(37,99,235,.08)}
.funnel-design-mode-toggle{display:flex;align-items:center;gap:10px;white-space:nowrap;cursor:pointer;padding:10px 13px;border:1px solid var(--card-border,#d8dde6);border-radius:12px;background:#fff}
.funnel-design-mode-toggle input{position:absolute;opacity:0;pointer-events:none}
.funnel-design-mode-toggle>span{position:relative;width:42px;height:23px;border-radius:999px;background:#cbd5e1;transition:.2s ease;box-shadow:inset 0 0 0 1px rgba(15,23,42,.08)}
.funnel-design-mode-toggle>span::after{content:"";position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(15,23,42,.22);transition:.2s ease}
.funnel-design-mode-toggle input:checked+span{background:var(--accent,#2563eb)}
.funnel-design-mode-toggle input:checked+span::after{transform:translateX(19px)}
.funnel-design-mode-locked{display:flex;align-items:center;gap:10px;margin-bottom:16px;padding:12px 14px;border:1px solid #d8dee8;border-radius:12px;background:#f8fafc;color:#475569}
.funnel-design-studio.is-design-mode-off .funnel-draft-banner,.funnel-design-studio.is-design-mode-off .funnel-design-groups,.funnel-design-studio.is-design-mode-off+.funnel-preset-card{opacity:.56;filter:saturate(.65)}
.funnel-design-studio.is-design-mode-off .funnel-draft-banner,.funnel-design-studio.is-design-mode-off .funnel-design-groups{pointer-events:none;user-select:none}
.funnel-design-studio.is-design-mode-off .funnel-style-worlds-grid{opacity:1;filter:none;pointer-events:auto;user-select:auto}
.funnel-design-studio.is-design-mode-off .funnel-template-option{cursor:pointer}
.funnel-design-studio.is-design-mode-off .funnel-design-toolbar{opacity:1;filter:none}
.funnel-template-option[data-funnel-template-select]{cursor:pointer}

.template-preview-label{display:inline-flex;align-items:center;width:max-content;padding:3px 7px;border-radius:999px;background:color-mix(in srgb,var(--accent,#2563eb) 12%,#fff);color:var(--accent,#2563eb);font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}

@media(max-width:760px){.funnel-design-mode-card{grid-template-columns:1fr}.funnel-design-mode-toggle{justify-self:start}.funnel-design-mode-locked{align-items:flex-start;flex-direction:column}}

/* YASMIN Funnel-Designstudio V6: kompakte Steuerleiste und breite Live-Vorschau */
.funnel-custom-design-create{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin-bottom:16px;padding:14px;border:1px solid var(--card-border,#d8dde6);border-radius:14px;background:color-mix(in srgb,var(--card-bg,#fff) 94%,#f4f6f9)}
.funnel-custom-design-create label{margin:0}.funnel-custom-design-create input{width:100%}

.funnel-design-sidebar{min-width:0}
.funnel-design-sidebar .funnel-design-groups{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
.funnel-design-sidebar .funnel-design-panel,.funnel-design-sidebar .funnel-design-panel--wide{grid-column:auto!important;padding:15px!important}
.funnel-design-sidebar .panel-title{gap:10px;margin-bottom:12px}.funnel-design-sidebar .panel-title>span{width:32px;height:32px;border-radius:9px;font-size:.78rem}
.funnel-design-sidebar .panel-title h3{font-size:1rem}.funnel-design-sidebar .panel-title p{font-size:.76rem;line-height:1.35}
.funnel-design-sidebar .funnel-color-grid{grid-template-columns:1fr 1fr!important;gap:8px!important;margin-bottom:12px!important}
.funnel-design-sidebar .funnel-color-control{padding:8px}.funnel-design-sidebar .funnel-color-control>span{min-height:0;margin-bottom:5px;font-size:.72rem}
.funnel-design-sidebar .funnel-color-control>div{grid-template-columns:38px minmax(88px,1fr)!important;gap:6px!important}.funnel-design-sidebar .funnel-color-control input[type=color]{width:38px;height:34px}
.funnel-design-sidebar .funnel-hex-input{width:100%!important;min-width:0!important;font-size:.75rem}
.funnel-design-sidebar .form-grid{grid-template-columns:1fr!important;gap:8px!important}.funnel-design-sidebar .form-grid label,.funnel-design-sidebar .funnel-font-upload-grid label{font-size:.76rem}
.funnel-design-sidebar .funnel-font-upload-grid{grid-template-columns:1fr!important;gap:8px!important;margin-top:10px}
.funnel-design-sidebar input,.funnel-design-sidebar select{min-height:36px;padding:7px 9px}


@media(max-width:1180px){.funnel-design-workspace{grid-template-columns:minmax(240px,36%) minmax(0,64%)}.funnel-design-workspace .funnel-real-preview iframe{height:700px}}
@media(max-width:900px){.funnel-design-workspace{grid-template-columns:1fr}}
@media(max-width:620px){.funnel-custom-design-create{grid-template-columns:1fr}.funnel-design-sidebar .funnel-color-grid{grid-template-columns:1fr!important}}

/* YASMIN V7: Live Builder über die volle Höhe der vier Designgruppen. */
.funnel-design-workspace{display:grid;grid-template-columns:minmax(260px,30%) minmax(0,70%);gap:20px;align-items:start;margin-top:18px;align-items:stretch!important;}
.funnel-design-sidebar,.funnel-design-sidebar .funnel-design-groups{height:auto!important}
.funnel-design-workspace .funnel-real-preview{position:sticky;top:18px;min-width:0;margin:0;padding:16px;position:relative!important;top:auto!important;align-self:stretch!important;display:flex!important;flex-direction:column!important;min-height:820px!important;margin:0!important;}
.funnel-design-workspace .funnel-real-preview iframe{height:820px;margin-top:12px;flex:1 1 auto!important;width:100%!important;height:auto!important;min-height:720px!important;margin-top:12px!important;}
@media(max-width:900px){.funnel-design-workspace .funnel-real-preview{position:static;order:-1;height:auto!important;min-height:0!important;}.funnel-design-workspace .funnel-real-preview iframe{height:600px;height:600px!important;min-height:600px!important;}}
@media(max-width:620px){.funnel-design-workspace .funnel-real-preview iframe{height:500px;height:500px!important;min-height:500px!important;}}

/* YASMIN Template-Seite: fokussierter Arbeitsmodus mit einklappbarem Adminmenü. */


body.admin-page.admin-template-sidebar-collapsed #admin-sidebar .sidebar-head{display:flex!important;justify-content:center!important;padding:0!important;border:0!important}
body.admin-page.admin-template-sidebar-collapsed #admin-sidebar .sidebar-head-copy,
body.admin-page.admin-template-sidebar-collapsed #admin-sidebar .admin-head-account-actions,
body.admin-page.admin-template-sidebar-collapsed #admin-sidebar nav,
body.admin-page.admin-template-sidebar-collapsed #admin-sidebar .sidebar-edit-actions{display:none!important}
.template-sidebar-toggle{display:inline-grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid var(--card-border,#dbe2ea);border-radius:10px;background:var(--card-bg,#fff);color:var(--body-text,#17202a);font-size:1.05rem;cursor:pointer;box-shadow:0 6px 18px rgba(15,23,42,.08)}
.template-sidebar-toggle:hover,.template-sidebar-toggle:focus-visible{background:var(--secondary-bg,#eef2f7);outline:none}
body.admin-page:not(.admin-template-sidebar-collapsed) .template-sidebar-toggle{margin-left:auto}

@media(max-width:760px){body.admin-page.admin-template-sidebar-collapsed #admin-sidebar{padding:10px 14px!important}body.admin-page.admin-template-sidebar-collapsed #admin-sidebar .sidebar-head{justify-content:flex-end!important}}

/* YASMIN: Template-Verlauf, Vorlagenkopie und an Menükante gebundene Werkzeuge */

.funnel-history-toolbar [data-template-duplicate]{margin-left:auto}
.funnel-history-toolbar .btn:disabled{opacity:.45;cursor:not-allowed}
body.admin-page #admin-sidebar{position:relative}


body.admin-page.admin-template-sidebar-collapsed .template-sidebar-toggle span[aria-hidden="true"]{display:inline-block;transform:rotate(180deg)}


@media(max-width:760px){body.admin-page .placeholder-fab,body.admin-page.admin-template-sidebar-collapsed .placeholder-fab{left:48px!important;bottom:7px!important}.funnel-history-toolbar [data-template-duplicate]{margin-left:0;width:100%}}

/* YASMIN: Template-Arbeitsfläche ohne Rest-Sidebar und zentrale Aktionsleiste. */
body.admin-page.admin-template-sidebar-collapsed .admin-layout{grid-template-columns:58px minmax(0,1fr)!important;grid-template-columns:0 minmax(0,1fr)!important;}
body.admin-page.admin-template-sidebar-collapsed #admin-sidebar{padding:12px 8px!important;overflow:visible;width:0!important;min-width:0!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;}
body.admin-page.admin-template-sidebar-collapsed #admin-sidebar .sidebar-head,
body.admin-page.admin-template-sidebar-collapsed #admin-sidebar nav,
body.admin-page.admin-template-sidebar-collapsed #admin-sidebar .sidebar-edit-actions{display:none!important}
body.admin-page.admin-template-sidebar-collapsed .content{padding-left:20px!important;padding-right:20px!important;padding-left:20px!important;}

body.admin-page.admin-template-sidebar-collapsed .template-sidebar-toggle{left:58px;left:0!important;transform:none!important;border-radius:0 10px 0 0!important;border-left:0!important;border-right:1px solid var(--card-border,#dbe2ea)!important;}

body.admin-page.admin-template-sidebar-collapsed .placeholder-fab{left:16px!important;left:0!important;transform:none!important;}

body.admin-page.admin-template-sidebar-collapsed .funnel-history-toolbar{left:50%;transform:translateX(-50%)}
body.admin-page:not(.admin-template-sidebar-collapsed) .funnel-history-toolbar{transform:translateX(-50%)}
.funnel-center-save-action,.funnel-center-discard-action{display:none!important}
body.admin-page.admin-template-sidebar-collapsed .funnel-center-save-action,
body.admin-page.admin-template-sidebar-collapsed .funnel-center-discard-action{display:inline-flex!important}
@media(max-width:760px){body.admin-page.admin-template-sidebar-collapsed .admin-layout{grid-template-columns:1fr!important;grid-template-columns:1fr!important;}body.admin-page .template-sidebar-toggle,body.admin-page.admin-template-sidebar-collapsed .template-sidebar-toggle{left:0;bottom:0;left:0!important;transform:none!important;}.funnel-history-toolbar,body.admin-page.admin-template-sidebar-collapsed .funnel-history-toolbar{left:50%!important;bottom:8px;transform:translateX(-50%)!important;max-width:calc(100vw - 16px);overflow-x:auto;flex-wrap:nowrap!important}.funnel-history-toolbar .btn{white-space:nowrap}}

/* YASMIN: Fontrechte klar lesbar, nicht fett. */
.funnel-font-rights,.funnel-font-rights span{font-weight:400!important}
.funnel-font-rights input:required:not(:checked)+span{color:#9f1239}

/* YASMIN: verschiebbare Template-Werkzeugbox, Farbpipette und aktiver Designstatus. */


.funnel-history-drag-handle:active{cursor:grabbing}
.funnel-eyedropper-row{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0}
.funnel-eyedropper-row input{width:92px;min-width:92px;height:31px;padding:5px 7px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;font:700 .76rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;text-transform:uppercase}
.funnel-history-actions{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}
.funnel-history-saved-at{display:block;text-align:center;color:#64748b;font-size:.69rem;line-height:1.2}
.template-active-label{font-size:.72rem;font-weight:800;color:#178447;text-transform:uppercase;letter-spacing:.04em;display:inline-flex!important;align-items:center;gap:6px;}
.template-active-label i{display:block;width:12px;height:12px;border-radius:50%;background:#178447;box-shadow:0 0 0 4px rgba(23,132,71,.16)}
@media(max-width:760px){.funnel-history-toolbar{grid-template-columns:auto minmax(0,1fr)!important;max-height:45vh;overflow:auto!important}.funnel-history-actions{justify-content:flex-start;flex-wrap:nowrap}.funnel-eyedropper-row{justify-content:flex-start}}

.funnel-template-option.is-active-template::after{content:"";position:absolute;right:8px;top:8px;width:8px;height:8px;border-radius:50%;background:#178447;box-shadow:0 0 0 3px rgba(23,132,71,.14);right:44px!important;top:15px!important;right:10px!important;top:10px!important;display:none!important;}

/* YASMIN: Funnelinterne Buttonübergänge und nicht persistente Werkzeugbox. */
.funnel-target-fade{animation:funnelTargetFade .9s ease both}.funnel-target-focus{animation:funnelTargetFocus 1.3s ease both}@keyframes funnelTargetFade{0%{opacity:.25;transform:translateY(18px)}100%{opacity:1;transform:none}}@keyframes funnelTargetFocus{0%,100%{box-shadow:none}35%{box-shadow:0 0 0 6px color-mix(in srgb,var(--funnel-primary) 28%,transparent)}}
.funnel-history-toolbar [data-color-eyedropper].is-active{outline:2px solid currentColor}

/* YASMIN: Farbpipette mit Farbprobe und Kopieraktion. */
.funnel-eyedropper-swatch{display:inline-block;width:31px;height:31px;flex:0 0 31px;border:1px solid #cbd5e1;border-radius:7px;background:linear-gradient(135deg,#fff 0 48%,#e2e8f0 48% 52%,#fff 52%);box-sizing:border-box}


/* YASMIN: Farbpipette mit sichtbarer Farbprobe und zustandsabhängigem Kopierbutton. */
.funnel-eyedropper-copy{display:inline-grid!important;place-items:center;width:31px!important;min-width:31px!important;height:31px!important;padding:0!important;font-size:1rem!important;line-height:1!important;background:#e5e7eb!important;color:#111827!important;border-color:#cbd5e1!important;}
.funnel-eyedropper-copy.has-color{background:#111827!important;color:#fff!important;border-color:#111827!important}
.funnel-eyedropper-copy.is-copied{background:#e5e7eb!important;color:#111827!important;border-color:#cbd5e1!important}

/* YASMIN: Designmodus steuert Sidebar und Werkzeugbox; Toolbar-Toggle im Werkzeug. */
.funnel-design-mode-toggle--toolbar{padding:7px 10px;margin-left:4px;background:#fff}
.funnel-design-studio.is-design-mode-off .funnel-history-toolbar{display:none!important}
@media(max-width:760px){.funnel-design-mode-toggle--toolbar strong{display:none}}

/* YASMIN: Designkarten-Aktionen, Systemfonts und feste Menükante. */
.funnel-template-card-actions{position:absolute;top:8px;right:8px;z-index:8;display:flex;align-items:center;gap:6px}
.funnel-template-card-actions button{position:static!important;width:30px!important;height:30px!important;min-width:30px!important;padding:0!important;border-radius:8px!important;display:grid!important;place-items:center!important;font-size:15px!important;line-height:1!important;cursor:pointer!important;box-shadow:0 2px 8px rgba(15,23,42,.10)}
.funnel-template-rename{border:1px solid #cbd5e1!important;background:#fff!important;color:#111827!important}
.funnel-template-rename:hover{background:#f1f5f9!important}
.funnel-template-delete{position:absolute;left:8px;top:8px;z-index:3;width:28px;height:28px;padding:0;border:1px solid #ef4444;border-radius:999px;background:#fff;color:#b91c1c;font-size:18px;line-height:1;cursor:pointer;border:1px solid #b91c1c!important;background:#dc2626!important;color:#fff!important;}
.funnel-template-delete:hover{background:#fee2e2;background:#b91c1c!important;}
.funnel-template-option>.funnel-template-swatch{margin-top:30px}
.funnel-font-upload-grid,.funnel-font-rights{display:none!important}
.funnel-history-toolbar>.funnel-design-mode-toggle--toolbar{order:1}

body.admin-page:not(.admin-template-sidebar-collapsed){--template-sidebar-edge:280px}
body.admin-page.admin-template-sidebar-collapsed{--template-sidebar-edge:0px}

body.admin-page .placeholder-fab{left:160px!important;bottom:7px!important;transition:left .2s ease!important;left:280px!important;bottom:42px!important;transform:translateX(-100%)!important;left:var(--template-sidebar-edge)!important;right:auto!important;transform:translateX(-100%)!important;}
body.admin-page.admin-template-sidebar-collapsed .template-sidebar-toggle,body.admin-page.admin-template-sidebar-collapsed .placeholder-fab{transform:none!important}

/* Adminpanel Landingpage: persistente Designbibliothek und bereinigte Werkzeugbox. */
.funnel-style-worlds-panel{margin-bottom:24px;border:1px solid var(--card-border,#dfe3ea);border-radius:18px;background:var(--card-bg,#fff);overflow:hidden}
.funnel-style-worlds-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border:0;border-bottom:1px solid var(--card-border,#dfe3ea);background:transparent;color:inherit;text-align:left;cursor:pointer}
.funnel-style-worlds-toggle>span:first-child{display:grid;gap:2px}.funnel-style-worlds-toggle strong{font-size:1.08rem}.funnel-style-worlds-toggle-icon{font-size:1.2rem;transition:transform .18s ease}
.funnel-style-worlds-panel.is-collapsed .funnel-style-worlds-toggle{border-bottom:0}.funnel-style-worlds-panel.is-collapsed .funnel-style-worlds-toggle-icon{transform:rotate(180deg)}
.funnel-style-worlds-panel .funnel-style-worlds-grid{margin:0;padding:20px}.funnel-style-worlds-panel .funnel-style-worlds-grid[hidden]{display:none!important}
.funnel-history-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 14px;padding:11px 12px;border:1px solid var(--card-border,#dbe2ea);border-radius:12px;background:var(--card-bg,#fff);position:fixed!important;left:calc(50% + 140px);bottom:14px;z-index:1600;width:max-content;max-width:calc(100vw - 40px);margin:0!important;justify-content:center!important;box-shadow:0 12px 34px rgba(15,23,42,.18);display:grid!important;grid-template-columns:auto 1fr!important;gap:7px 10px!important;align-items:center!important;padding:9px 11px!important;cursor:default!important;touch-action:none;left:50%;right:auto;bottom:18px;top:auto;transform:translateX(-50%);grid-template-columns:auto minmax(0,1fr)!important;}.funnel-history-toolbar>.funnel-eyedropper-row{order:2;grid-column:2;grid-row:1;order:initial!important;justify-content:flex-start;}.funnel-history-toolbar>.funnel-history-actions{grid-column:2;grid-row:2;justify-content:flex-start}.funnel-history-toolbar>.funnel-history-saved-at{grid-column:2;grid-row:3}.funnel-history-drag-handle{grid-row:1/4;align-self:stretch;display:grid;place-items:center;width:22px;margin:-9px 0 -9px -11px;border-right:1px solid #dbe2ea;border-radius:12px 0 0 12px;background:#f8fafc;color:#64748b;font-weight:900;letter-spacing:-3px;cursor:grab;user-select:none;touch-action:none;grid-column:1;grid-row:1/4;}
.funnel-template-title-input{width:calc(100% - 16px);margin:8px;padding:7px 9px;border:1px solid var(--card-border,#dfe3ea);border-radius:8px;font:inherit;font-weight:700;color:inherit;background:var(--card-bg,#fff)}
body.admin-page .template-sidebar-toggle,body.admin-page .placeholder-fab{left:var(--template-sidebar-edge)!important;right:auto!important;transform:translateX(-100%)!important;margin-left:0!important;margin-right:0!important}
@media(max-width:760px){.funnel-style-worlds-panel .funnel-style-worlds-grid{padding:12px}.funnel-history-toolbar>.funnel-eyedropper-row,.funnel-history-toolbar>.funnel-history-actions,.funnel-history-toolbar>.funnel-history-saved-at{grid-column:2}}
/* Adminpanel Landingpage: Bedienelemente rechts direkt an der Menükante. */
body.admin-page .template-sidebar-toggle,
body.admin-page .placeholder-fab{left:var(--template-sidebar-edge)!important;right:auto!important;transform:none!important;margin-left:0!important;margin-right:0!important}
body.admin-page .template-sidebar-toggle{position:fixed;left:201px;bottom:0;z-index:1500;width:38px;height:38px;margin:0!important;border-radius:0 10px 0 0;border-left:0;border-bottom:0;transition:left .2s ease,transform .2s ease;left:280px!important;bottom:0!important;transform:translateX(-100%)!important;border-radius:10px 0 0 0!important;border-right:0!important;left:var(--template-sidebar-edge)!important;right:auto!important;transform:translateX(-100%)!important;border-radius:0 10px 0 0!important;border-left:0!important;border-right:1px solid var(--card-border,#dbe2ea)!important;}


/* Shopsystem Produktdetail: Empfehlungsbereich in Standard- und modernem Template vereinheitlichen. */
body.public-page.page-product .related-products-modern h2,
body.public-page.page-product .related-products-classic h2{font-size:1rem!important;line-height:1.35!important;font-weight:700!important;letter-spacing:0!important;margin-bottom:14px!important;color:inherit!important}
body.public-page.page-product .related-products-modern .grid,
body.public-page.page-product .related-products-classic .grid{grid-template-columns:repeat(auto-fit,minmax(190px,240px))!important;gap:16px!important;justify-content:center!important}
body.public-page.page-product .related-products-modern .product-card,
body.public-page.page-product .related-products-classic .product-card{font-size:.9rem!important;border-radius:var(--card-radius)!important;}
body.public-page.page-product .related-products-classic .product-card img{border-radius:var(--design-image-radius) var(--design-image-radius) 0 0!important;}
body.public-page.page-product .related-products-classic .product-card h2,
body.public-page.page-product .related-products-classic .product-card h3,
body.public-page.page-product .related-products-classic .product-card .product-title{font-size:var(--product-title-font-size)!important;line-height:1.3!important;}
body.public-page.page-product .related-products-classic .product-card-body,
body.public-page.page-product .related-products-classic .product-card-content{padding:12px!important;gap:8px!important;}
body.public-page.page-product .related-products-classic .product-card .btn{font-size:.82rem!important;min-height:34px!important;padding:7px 10px!important;}
@media(max-width:760px){body.public-page.page-product .related-products-modern .grid,body.public-page.page-product .related-products-classic .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}}


/* Shopsystem: erweiterte Layout-Farbsteuerung */
body.public-page.shop-system-active .product-card-link{background:var(--product-card-bg);border-color:var(--product-card-border);color:var(--product-card-title);}
body.public-page.shop-system-active .product-card-link .card-body{background:var(--product-card-bg);}
body.public-page.shop-system-active .product-card-title,body.public-page.shop-system-active .product-card-name{color:var(--product-card-title);}
body.public-page.shop-system-active .product-card-description,body.public-page.shop-system-active .product-card-category{color:var(--product-card-text);}
body.public-page.shop-system-active .product-card-price,body.public-page.shop-system-active .product-card-price span{color:var(--product-card-price);}
body.public-page.shop-system-active .product-card-badges .bestseller-badge{background:var(--product-badge-bg);color:var(--product-badge-text);}
body.public-page.shop-system-active .product-detail-layout,body.public-page.shop-system-active .product-detail-info{background:var(--product-detail-bg);}
body.public-page.shop-system-active .product-detail-buybox,body.public-page.shop-system-active .product-purchase-layout .product-detail-buybox{background:var(--buybox-bg);border-color:var(--buybox-border);}
body.public-page.shop-system-active .product-detail-stock-status{padding:8px 11px;border:1px solid color-mix(in srgb,var(--availability-text) 24%,var(--availability-bg));border-radius:var(--input-radius);background:var(--availability-bg);}
body.public-page.shop-system-active .product-detail-stock-status strong,body.public-page.shop-system-active .product-detail-stock-status span,body.public-page.shop-system-active .product-detail-stock-status.is-available strong{color:var(--availability-text);}
body.public-page.shop-system-active .home-text-block,body.public-page.shop-system-active .home-newsletter-block,body.public-page.shop-system-active .prose.card,body.public-page.shop-system-active .content-card{background:var(--content-box-bg);border-color:var(--content-box-border);color:var(--content-box-text);}
body.public-page.shop-system-active .home-text-block h1,body.public-page.shop-system-active .home-text-block h2,body.public-page.shop-system-active .home-text-block h3,body.public-page.shop-system-active .home-text-block p,body.public-page.shop-system-active .content-card h1,body.public-page.shop-system-active .content-card h2,body.public-page.shop-system-active .content-card h3,body.public-page.shop-system-active .content-card p{color:inherit}
body.public-page.shop-system-active .home-builder-block:nth-of-type(even){--home-block-bg:var(--alt-section-bg)}
.design-admin-form.is-compact-layout .design-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.design-admin-form.is-compact-layout .design-admin-grid>.card{margin:0;padding:16px}
.design-admin-form.is-compact-layout .design-admin-grid>.card h2{font-size:1.05rem;margin-bottom:10px}
@media(max-width:1100px){.design-admin-form.is-compact-layout .design-admin-grid{grid-template-columns:1fr}}

.account-pagination{display:flex;justify-content:center;align-items:center;gap:8px;margin:22px 0 4px}.review-approve-form{margin:12px 0}.appearance-gradient-direction select{width:100%;}


/* Kundenkonto-Navigation: eigene Shopfarben. */
body.public-page .account-tabs a{color:var(--account-navigation-color,#334155)}
body.public-page .account-tabs a:hover{color:var(--account-navigation-active-bg,#111827)}
body.public-page .account-tabs a.active{background:var(--account-navigation-active-bg,#111827);color:var(--account-navigation-active-color,#fff)}

/* Kundenstimmen: maximal drei Karten, sichere Textbegrenzung und Karussell. */

.home-testimonial-grid{margin-top:26px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--design-card-gap,22px);align-items:stretch;}

.home-testimonial:not(.is-visible){display:none;}
.home-testimonial blockquote{margin:0;font-size:1.04em;line-height:1.65;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;word-break:break-word;max-width:100%;margin-bottom:8px;}
.home-testimonial.is-expanded blockquote{display:block;-webkit-line-clamp:unset;overflow:visible;}
.home-review-expand{appearance:none;border:0;background:none;padding:0;margin:0 0 12px;color:var(--link,#2563eb);font:inherit;font-weight:700;cursor:pointer;text-decoration:underline;}
.home-testimonial-controls{display:flex;justify-content:center;gap:10px;margin-top:18px;}
.home-testimonial-controls button{width:40px;height:40px;border-radius:999px;border:1px solid var(--card-border,#dfe5ec);background:var(--card-bg,#fff);color:var(--body-text,#17202a);cursor:pointer;font-size:22px;}
.home-testimonial-carousel.effect-fade .home-testimonial.is-visible{animation:home-review-fade .32s ease;}
.home-testimonial-carousel.effect-rise .home-testimonial.is-visible{animation:home-review-rise .36s ease;}
.home-testimonial-carousel.effect-slide .home-testimonial.is-visible{animation:home-review-slide .34s ease;}
@keyframes home-review-fade{from{opacity:0}to{opacity:1}}
@keyframes home-review-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes home-review-slide{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}
@media(max-width:900px){.home-testimonial-grid{grid-template-columns:1fr;}.home-testimonial.is-visible:nth-of-type(n/**/+2){display:none;}}


/* Bewertungs-Karussell: feste Kartengröße, jeweils eine Karte von rechts nach links. */



.home-testimonial-carousel .home-testimonial blockquote{min-height:0;max-height:100%;overflow:hidden;}
.home-testimonial-carousel .home-testimonial.is-expanded blockquote{display:block;overflow:auto;max-height:100%;}
.home-testimonial-carousel .home-review-expand{align-self:end;justify-self:start;}
.home-testimonial-carousel .home-testimonial figcaption{align-self:end;min-width:0;}


/* Topseller und Reduziert behalten getrennte, sichtbare Badge-Farben. */
body.public-page.shop-system-active .product-card-badges .bestseller-badge:not(.reduced-badge){background:var(--product-badge-bg,#f59e0b);color:var(--product-badge-text,#111827);}
body.public-page.shop-system-active .product-card-badges .reduced-badge{background:#dc2626;color:#ffffff;}

/* Kundenstimmen: eindeutige Reihenfolge und feste Dreizeilen-Vorschau. */
.home-testimonial.verified-review:before{content:none!important;display:none!important;}

.home-review-verified{justify-self:start;padding:4px 8px;border-radius:999px;background:#ecfdf5;color:#047857;font-size:.72rem;font-weight:750;line-height:1.2;}
.home-review-purchase{display:grid;gap:2px;min-width:0;}
.home-review-purchase strong{font-size:.92rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.home-review-purchase span{font-size:.82rem;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.home-testimonial-carousel .home-testimonial blockquote,.home-testimonial blockquote{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;overflow:hidden!important;overflow-wrap:anywhere;word-break:break-word;margin:8px 0 0!important;line-height:1.55;max-height:calc(3 * 1.55em)!important;}


.admin-maintenance-preview-banner{position:relative;z-index:9999;padding:10px 16px;background:#7c2d12;color:#fff;text-align:center;font:600 14px/1.4 system-ui,sans-serif}.admin-maintenance-preview-banner a{color:#fff;text-decoration:underline}


/* Funnel block design system 1.0.6 */
.funnel-section.funnel-phase-custom{padding:var(--funnel-block-padding,80px) 0;background-color:var(--funnel-custom-bg);color:var(--funnel-custom-text)}
.funnel-section.funnel-phase-custom>.container{max-width:var(--funnel-block-width,1180px)}
.funnel-section.funnel-phase-custom h1,.funnel-section.funnel-phase-custom h2{font-size:clamp(2rem,5vw,var(--funnel-block-heading,48px));color:inherit}
.funnel-section.funnel-phase-custom .funnel-copy,.funnel-section.funnel-phase-custom .funnel-subheading{font-size:var(--funnel-block-text,18px)}
.funnel-section.funnel-phase-custom .funnel-item-grid{grid-template-columns:repeat(var(--funnel-block-columns,3),minmax(0,1fr));gap:var(--funnel-block-gap,20px)}
.funnel-section.funnel-phase-custom .funnel-item,.funnel-guarantee-card,.funnel-accordion-item,.funnel-comparison{background:var(--funnel-custom-card,rgba(255,255,255,.86));border:var(--funnel-block-border,0) solid color-mix(in srgb,var(--funnel-custom-accent,var(--accent)) 35%,transparent);border-radius:var(--funnel-block-radius,18px)}
.funnel-block-shadow-soft .funnel-item,.funnel-block-shadow-soft .funnel-guarantee-card,.funnel-block-shadow-soft .funnel-comparison{box-shadow:0 12px 36px rgba(15,23,42,.12)}
.funnel-block-shadow-strong .funnel-item,.funnel-block-shadow-strong .funnel-guarantee-card,.funnel-block-shadow-strong .funnel-comparison{box-shadow:0 24px 70px rgba(15,23,42,.22)}
.funnel-step-number,.funnel-logo-mark,.funnel-guarantee-icon{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--funnel-custom-accent,var(--accent));color:#fff;font-weight:900}
.funnel-stat-value{display:block;font-size:clamp(2rem,5vw,4rem);line-height:1;color:var(--funnel-custom-accent,var(--accent))}
.funnel-accordion{display:grid;gap:12px;margin-top:28px;text-align:left}.funnel-accordion-item{padding:0 20px}.funnel-accordion-item summary{cursor:pointer;padding:18px 32px 18px 0;font-weight:800;position:relative}.funnel-accordion-item summary::after{content:"+";position:absolute;right:0;font-size:1.4rem;color:var(--funnel-custom-accent,var(--accent))}.funnel-accordion-item[open] summary::after{content:"−"}.funnel-accordion-item .prose{padding:0 0 20px}
.funnel-comparison{overflow:hidden;margin-top:28px;text-align:left}.funnel-comparison-row{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:16px;padding:16px 20px;border-bottom:1px solid rgba(15,23,42,.1)}.funnel-comparison-row:last-child{border-bottom:0}.funnel-comparison-head{background:color-mix(in srgb,var(--funnel-custom-accent,var(--accent)) 12%,transparent)}.funnel-comparison .is-positive{font-weight:800;color:var(--funnel-custom-accent,var(--accent))}
.funnel-guarantee-card{display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:start;padding:28px;text-align:left;margin-top:28px}
.funnel-countdown{display:grid;grid-template-columns:repeat(4,minmax(90px,1fr));gap:var(--funnel-block-gap,20px);max-width:760px;margin:30px auto}.funnel-countdown>div{padding:22px 12px;background:var(--funnel-custom-card,rgba(255,255,255,.9));border-radius:var(--funnel-block-radius,18px);color:var(--funnel-custom-text,#17202a)}.funnel-countdown strong{display:block;font-size:clamp(2rem,6vw,4rem);line-height:1;color:var(--funnel-custom-accent,var(--accent))}.funnel-countdown span{display:block;margin-top:8px;font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.funnel-countdown.is-expired{opacity:.68}
.funnel-block-design-panel{margin:18px 0;border:1px solid #dbe2ea;border-radius:14px;background:#f8fafc}.funnel-block-design-panel>summary{padding:14px 16px;cursor:pointer;font-weight:800}.funnel-block-design-grid{padding:0 16px 16px}.funnel-editor-format-help{margin:8px 0 16px;padding:10px 12px;border-left:4px solid #2563eb;background:#eff6ff;border-radius:8px;font-size:.86rem}.funnel-countdown-editor{margin:12px 0 18px}
@media(max-width:760px){.funnel-section.funnel-phase-custom .funnel-item-grid{grid-template-columns:1fr}.funnel-comparison-row{grid-template-columns:1fr}.funnel-comparison-head{display:none}.funnel-comparison-row span::before{display:block;font-size:.72rem;text-transform:uppercase;color:#64748b}.funnel-comparison-row span:nth-child(2)::before{content:"Vorher"}.funnel-comparison-row span:nth-child(3)::before{content:"Mit Angebot"}.funnel-countdown{grid-template-columns:repeat(2,1fr)}.funnel-guarantee-card{grid-template-columns:1fr}}

.funnel-preview-module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.funnel-preview-module-grid>div,.funnel-preview-comparison>div,.funnel-preview-accordion details{padding:10px;border:1px solid #dbe2ea;border-radius:10px;background:rgba(255,255,255,.78)}.funnel-preview-module-grid strong,.funnel-preview-module-grid span{display:block}.funnel-preview-comparison{display:grid;gap:7px}.funnel-preview-comparison>div{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.funnel-preview-comparison b{color:#15803d}.funnel-preview-accordion{display:grid;gap:7px;text-align:left}.funnel-preview-countdown{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.funnel-preview-countdown strong{padding:12px;background:rgba(255,255,255,.84);border-radius:10px;font-size:1.5rem}.funnel-preview-guarantee{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;padding:14px;border-radius:12px;background:rgba(255,255,255,.82)}


/* 1.0.8 responsive preview, funnel backgrounds and cart UX */
.device-preview-stage{margin:0 auto;padding:12px;background:#dfe5ec;overflow:auto;transition:width .2s ease;max-height:720px}.device-preview-stage.is-desktop{width:100%}.device-preview-stage.is-mobile{width:min(390px,100%)}.device-preview-stage.is-mobile .funnel-live-preview{font-size:14px}.device-preview-stage iframe{display:block;width:100%;height:620px;border:0;border-radius:10px;background:#fff}.mail-device-preview .device-preview-stage.is-mobile iframe{height:650px}.funnel-preview-section{padding:24px;margin-bottom:12px;border-radius:14px;border:1px solid #e2e8f0;background-color:var(--funnel-custom-bg,transparent);}
.funnel-section[style*="--funnel-background-mode:color"],.funnel-builder-section[style*="--funnel-background-mode:color"]{background:var(--funnel-custom-bg)!important}.funnel-section[style*="--funnel-background-mode:gradient"],.funnel-builder-section[style*="--funnel-background-mode:gradient"]{background:linear-gradient(135deg,var(--funnel-custom-bg,#fff),var(--funnel-custom-bg-end,#eef2ff))!important}
.item-quantity-inline{display:inline-block;margin-left:.55em;color:#6b7280;font-size:.78em;font-weight:700;line-height:1;white-space:nowrap}.cart-undo-card{margin-top:18px;animation:cartUndoFadeIn .85s ease both;margin-top:14px;}.cart-undo-card h2{font-size:1.1rem}.cart-summary .cart-undo-card{grid-column:1/-1}.cart-undo-card--inside-summary{order:4}.cart-summary-action{background:transparent!important;display:flex;min-width:230px;flex-direction:column;align-items:stretch;justify-content:center;gap:10px;padding:28px;border-left:1px solid var(--line,#d8dde6);text-align:center;order:3;}
@media(max-width:760px){.device-preview-stage{max-height:560px;padding:8px}.device-preview-actions .btn{min-height:32px;padding:5px 8px;font-size:.72rem}.builder-preview-head{align-items:flex-start;gap:8px}.cart-summary{display:flex!important;flex-direction:column}.cart-summary-main{order:1}.funnel-cart-summary-side{order:2}.cart-undo-card--inside-summary{order:3;margin:8px 0}.cart-summary-action{order:4}.cart-undo-grid{grid-template-columns:1fr!important}.cart-undo-item{padding:10px!important}.cart-undo-product-main img{width:54px;height:54px}.cart-products-table .cart-quantity-cell{padding-top:4px}.cart-item-copy strong,.funnel-checkout-item strong{font-size:.92rem}.item-quantity-inline{font-size:.74rem;margin-left:.65em}.funnel-checkout-summary,.funnel-checkout-form,.cart-summary{font-size:.92rem}.funnel-checkout-summary h2,.cart-summary h2{font-size:1.12rem}.funnel-checkout-item{gap:8px}.quantity-stepper__button{width:34px;height:34px}.quantity-stepper__value{min-width:34px}.checkout-section input,.checkout-section select,.checkout-section textarea{font-size:16px}.btn{max-width:100%}}

/* Funnel block color picker + editable HEX value 1.0.8.3 */
.funnel-block-color-field{min-width:0}.funnel-block-color-control{display:grid;grid-template-columns:48px minmax(108px,1fr);align-items:center;gap:8px}.funnel-block-color-control input[type="color"]{width:48px;height:38px;padding:3px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;cursor:pointer}.funnel-block-hex-input{min-width:0;height:38px;padding:7px 9px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.82rem;letter-spacing:.02em;text-transform:uppercase}.funnel-block-hex-input.is-invalid{border-color:#dc2626;background:#fff7f7}.funnel-color-validation{display:block;margin-top:4px;color:#b91c1c;font-size:.7rem;line-height:1.25}.funnel-color-validation[hidden]{display:none}@media(max-width:640px){.funnel-block-color-control{grid-template-columns:44px minmax(0,1fr)}.funnel-block-color-control input[type="color"]{width:44px}}


.device-preview-actions{display:flex;gap:6px;align-items:center;margin-left:auto;display:inline-flex!important;flex-wrap:nowrap!important;white-space:nowrap;}.funnel-design-mode-slider{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:9px;border:1px solid var(--card-border,#dbe2ea);border-radius:12px;background:#fff;box-shadow:0 12px 34px rgba(15,23,42,.18);cursor:pointer}.funnel-design-mode-slider input{position:absolute;opacity:0}.funnel-design-mode-slider>span{position:relative;width:30px;height:58px;border-radius:999px;background:#cbd5e1;box-shadow:inset 0 0 0 1px rgba(15,23,42,.1)}.funnel-design-mode-slider>span i{position:absolute;left:4px;bottom:4px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 7px rgba(15,23,42,.25);transition:.2s}.funnel-design-mode-slider input:checked+span{background:var(--accent,#2563eb)}.funnel-design-mode-slider input:checked+span i{transform:translateY(-28px)}.funnel-design-mode-slider strong{font-size:.72rem;text-align:center}.funnel-editor-card.is-preview-selected{outline:3px solid var(--accent,#2563eb);box-shadow:0 0 0 8px rgba(37,99,235,.13);transition:.2s}.product-ai-dialog{width:min(860px,calc(100vw - 24px));border:0;background:transparent;padding:0}.product-ai-dialog::backdrop{background:rgba(15,23,42,.55)}.product-ai-dialog-card{max-height:90vh;overflow:auto}.product-ai-results{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.product-ai-results label{display:grid;gap:6px}.product-ai-results label:nth-child(2),.product-ai-results label:nth-child(3),.product-ai-results label:nth-child(5),.product-ai-results label:nth-child(6),.product-ai-results .inline-actions{grid-column:1/-1}@media(max-width:900px){.funnel-design-mode-float{left:auto;right:8px;bottom:112px}.product-ai-results{grid-template-columns:1fr}.product-ai-results>*{grid-column:1!important}}
/* AI-Konfiguration */
.ai-config-overview{margin-bottom:18px}.ai-security-note{max-width:420px;padding:14px 16px;border:1px solid #dbe4ef;border-radius:14px;background:#f8fafc;display:grid;gap:4px}.ai-security-note span{font-size:.9rem;color:#526174}.ai-provider-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.ai-provider-card{min-width:0}.inline-choice{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:.9rem}.inline-choice input{width:auto}.admin-sticky-actions{position:sticky;bottom:12px;display:flex;justify-content:flex-end;z-index:4;padding:12px;margin-top:16px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);border:1px solid #dbe4ef;border-radius:14px}@media(max-width:1100px){.ai-provider-grid{grid-template-columns:1fr}}@media(max-width:700px){.ai-config-overview .split{display:grid;gap:14px}.admin-sticky-actions .btn{width:100%}}


/* 1.0.8.6: gekoppelte Template-Werkzeugbox und stabile Geräteumschaltung. */
.funnel-design-mode-float{position:fixed;left:calc(50% + 350px);bottom:18px;z-index:1601;height:96px;width:132px;width:132px;margin:0!important;}
.funnel-design-mode-float .funnel-design-mode-slider{height:100%;box-sizing:border-box}
.builder-preview-head .device-preview-actions,.mail-device-preview .device-preview-actions{display:inline-flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;white-space:nowrap!important}
.builder-preview-head .device-preview-actions .btn,.mail-device-preview .device-preview-actions .btn{flex:0 0 auto!important;width:auto!important;min-width:0!important}
/* AI configuration layout 1.0.8.7 */
.ai-active-provider-pill{background:#dcfce7!important;color:#166534!important;border:1px solid #86efac}.ai-config-top-grid>.card{height:100%}.ai-config-top-grid h2{margin-top:0}.ai-compact-copy{font-size:.88rem;line-height:1.45}.ai-provider-option:hover{border-color:#94a3b8;transform:translateY(-1px)}.ai-provider-option.is-active{border-color:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.13);background:#f0fdf4}.ai-provider-option input{position:absolute;opacity:0;pointer-events:none}.ai-compact-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.ai-general-card .ai-compact-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ai-compact-form-grid textarea{min-height:72px;resize:vertical}.ai-provider-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.ai-provider-card-head h2{margin:.45rem 0}.ai-availability-control{display:flex!important;align-items:flex-start;gap:10px;min-width:210px;margin:0;padding:11px 12px;border:1px solid #dbe4ef;border-radius:12px;background:#f8fafc;cursor:pointer}.ai-availability-control input{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0}.ai-availability-box{display:grid;gap:2px}.ai-provider-card:has(.ai-availability-control input:checked) .ai-availability-control{border-color:#86efac;background:#f0fdf4}@media(max-width:1180px){.ai-config-top-grid{grid-template-columns:minmax(190px,.72fr) minmax(0,1.28fr)}.ai-limits-card{grid-column:1/-1}.ai-limits-card .ai-compact-form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:820px){.ai-config-top-grid{grid-template-columns:1fr}.ai-general-card .ai-compact-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-limits-card{grid-column:auto}.ai-provider-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.ai-provider-card-head{display:grid}.ai-availability-control{min-width:0;width:100%}}@media(max-width:620px){.ai-provider-picker{grid-template-columns:1fr}.ai-compact-form-grid,.ai-general-card .ai-compact-form-grid,.ai-limits-card .ai-compact-form-grid{grid-template-columns:1fr}.ai-provider-logo-wrap img{max-height:70px}}

/* 1.0.8.8 AI configuration layout correction */
.ai-config-top-grid{display:grid;grid-template-columns:minmax(190px,.72fr) minmax(360px,1.45fr) minmax(300px,1fr);gap:16px;align-items:stretch;grid-template-columns:minmax(250px,.82fr) minmax(390px,1.3fr) minmax(330px,1fr)!important;align-items:stretch;}
.ai-provider-picker-card{min-width:0}.ai-provider-picker{display:grid;gap:10px;margin-top:14px;display:flex!important;flex-direction:column;gap:12px;}
.ai-provider-option{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:7px;padding:9px;border:1px solid #dbe4ef;border-radius:13px;background:#fff;cursor:pointer;transition:border-color .18s,box-shadow .18s,transform .18s;display:grid!important;grid-template-columns:112px minmax(0,1fr) auto!important;align-items:center;min-height:82px;padding:10px 12px!important;gap:14px!important;overflow:hidden;}
.ai-provider-logo-wrap{display:block;border-radius:10px;overflow:hidden;background:#f8fafc;width:112px;height:60px;display:grid!important;place-items:center;overflow:hidden;border-radius:10px;background:#f8fafc;}
.ai-provider-logo-wrap img{display:block;width:100%;height:auto;max-height:62px;object-fit:contain;display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain;}
.ai-provider-option-copy{display:grid;gap:3px;min-width:0}.ai-provider-option-copy strong{font-size:.94rem;color:#172033}.ai-provider-option-copy small{font-size:.76rem;color:#64748b;line-height:1.3}
.ai-provider-choice-state{font-size:.75rem;font-weight:800;text-align:center;color:#64748b;justify-self:end;min-width:72px;padding:5px 8px;border-radius:999px;background:#f1f5f9;text-align:center;}.ai-provider-option.is-active .ai-provider-choice-state{color:#15803d;background:#dcfce7;color:#166534;}
.ai-general-card,.ai-limits-card{min-width:0}.ai-compact-form-grid input,.ai-compact-form-grid select,.ai-compact-form-grid textarea{width:100%}
@media(max-width:1260px){.ai-config-top-grid{grid-template-columns:minmax(250px,.85fr) minmax(0,1.4fr)!important}.ai-limits-card{grid-column:1/-1}}
@media(max-width:850px){.ai-config-top-grid{grid-template-columns:1fr!important}.ai-limits-card{grid-column:auto}.ai-provider-option{grid-template-columns:100px minmax(0,1fr) auto!important}}
@media(max-width:520px){.ai-provider-option{grid-template-columns:82px minmax(0,1fr)!important}.ai-provider-choice-state{grid-column:2;justify-self:start}.ai-provider-logo-wrap{width:82px;height:54px}}
/* 1.0.8.8 Sales funnel blueprints */
.funnel-sales-presets{padding:0!important;overflow:hidden;margin-bottom:20px}.funnel-sales-presets:not([open]) .funnel-template-selector-summary{border-bottom:0}.funnel-sales-preset-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin:4px 0 18px}.funnel-sales-preset-intro h3{margin:.25rem 0 .45rem}.funnel-sales-preset-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--card-border);border-radius:18px;background:var(--card-bg);overflow:hidden;box-shadow:0 12px 30px rgba(15,23,42,.06);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.funnel-sales-preset-card:hover{transform:translateY(-3px);border-color:var(--preset-accent);box-shadow:0 18px 40px rgba(15,23,42,.11)}.funnel-sales-preset-preview{height:152px;padding:16px;display:flex;flex-direction:column;gap:6px;background:linear-gradient(145deg,color-mix(in srgb,var(--preset-accent) 15%,#fff),#f8fafc);border-bottom:1px solid var(--card-border)}.funnel-sales-preset-preview .preset-block{display:block;border-radius:5px;background:#fff;box-shadow:0 2px 8px rgba(15,23,42,.08);height:12px;margin-inline:calc(var(--preset-index) * 1.5px)}.funnel-sales-preset-preview .preset-block-hero{height:36px;background:linear-gradient(135deg,#172033,color-mix(in srgb,var(--preset-accent) 70%,#172033))}.funnel-sales-preset-preview .preset-block-product,.funnel-sales-preset-preview .preset-block-product_compact{height:28px;border:2px solid var(--preset-accent)}.funnel-sales-preset-preview .preset-block-cta{height:22px;background:var(--preset-accent)}.funnel-sales-preset-preview .preset-block-stats,.funnel-sales-preset-preview .preset-block-benefits{background:repeating-linear-gradient(90deg,#fff 0 29%,transparent 29% 34%)}.funnel-sales-preset-copy{padding:18px 18px 12px;display:flex;flex-direction:column;flex:1}.funnel-sales-preset-copy h3{margin:.2rem 0 .45rem}.funnel-sales-preset-copy p{margin:0;color:var(--muted);line-height:1.55}.funnel-sales-preset-copy ul{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:16px 0 0}.funnel-sales-preset-copy li{padding:4px 8px;border-radius:999px;background:color-mix(in srgb,var(--preset-accent) 9%,#f8fafc);color:#475569;font-size:.72rem;font-weight:750}@media(max-width:1050px){.funnel-sales-preset-grid{grid-template-columns:1fr 1fr}}@media(max-width:700px){.funnel-sales-preset-grid{grid-template-columns:1fr}.funnel-sales-preset-intro{display:grid}.funnel-sales-preset-preview{height:132px}}


/* 1.0.8.9 AI actions, equal stat cards and five funnel blueprints */
.ai-provider-actions{display:flex;justify-content:flex-end;margin-top:14px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;}.ai-provider-actions .btn{margin:0}.ai-provider-availability-note{margin:4px 0 16px}.btn.danger.secondary{color:#b91c1c;border-color:#fecaca;background:#fff}.btn.danger.secondary:hover{background:#fef2f2;border-color:#fca5a5}
.funnel-type-stats .funnel-item-grid{grid-template-columns:repeat(var(--funnel-block-columns,3),minmax(0,1fr));align-items:stretch}.funnel-type-stats .funnel-item{min-width:0;max-width:100%;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.funnel-type-stats .funnel-stat-value{max-width:100%;overflow-wrap:anywhere;word-break:break-word;text-wrap:balance}.funnel-type-stats .funnel-stat-value.is-long{font-size:clamp(1.45rem,3.4vw,2.8rem);line-height:1.08}.funnel-type-stats .funnel-stat-value.is-very-long{font-size:clamp(1.1rem,2.6vw,2.15rem);line-height:1.12}.funnel-type-stats .funnel-item p{max-width:100%;overflow-wrap:anywhere;text-wrap:balance}.funnel-sales-preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;grid-template-columns:repeat(3,minmax(0,1fr));}
@media(max-width:760px){.funnel-type-stats .funnel-item-grid{grid-template-columns:1fr}.funnel-type-stats .funnel-stat-value.is-long{font-size:clamp(1.4rem,8vw,2.4rem)}.funnel-type-stats .funnel-stat-value.is-very-long{font-size:clamp(1.15rem,6.5vw,1.9rem)}}

/* 1.0.8.10 AI configuration clarity */
.ai-provider-docs-hint{font-size:.78rem!important;line-height:1.35;margin-top:.25rem}.ai-availability-box small{font-weight:400;line-height:1.35;font-size:.78rem;}.ai-availability-box strong{font-size:.9rem;color:#1e293b;font-size:.88rem;}


/* 1.0.8.11: sichere Textumbrüche und persistentes Funnel-Element-Panel */
.funnel-section,.funnel-section-layout,.funnel-section-content,.funnel-section-heading,.funnel-richtext,.funnel-trust-line,.funnel-trust-line span{min-width:0;max-width:100%}
.funnel-section-content,.funnel-section-content p,.funnel-section-content li,.funnel-richtext,.funnel-richtext p,.funnel-trust-line span{overflow-wrap:anywhere;word-break:normal;hyphens:auto}

.funnel-add-panel{padding:0!important;overflow:hidden}
.funnel-add-panel-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 19px;cursor:pointer;list-style:none;background:#fff}
.funnel-add-panel-summary::-webkit-details-marker{display:none}
.funnel-add-panel-summary span,.funnel-add-panel-summary strong,.funnel-add-panel-summary small{display:block}
.funnel-add-panel-summary small{margin-top:4px;color:var(--muted,#64748b)}
.funnel-add-panel-summary:after{content:"⌄";font-size:1.2rem;transition:transform .18s ease}
.funnel-add-panel[open] .funnel-add-panel-summary:after{transform:rotate(180deg)}
.funnel-add-panel-body{padding:0 18px 18px}

/* 1.0.8.13: Salesfunnel-Vorlagen und Vorlagenkopien nebeneinander; einheitliche CTA-Buttons */
.funnel-strategy-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:18px;align-items:start;margin-bottom:20px}
.funnel-strategy-grid>.funnel-sales-presets,.funnel-strategy-grid>.funnel-template-copies{min-width:0;margin:0}
.funnel-template-copies{padding:0!important;overflow:hidden}
.funnel-template-copies:not([open]) .funnel-template-selector-summary{border-bottom:0}
.funnel-template-copies .funnel-history-grid{grid-template-columns:1fr;margin-top:0}
.funnel-template-copies-empty{margin:0;line-height:1.55}
.funnel-sales-preset-card form{padding:0 18px 18px;display:flex;align-items:stretch;}
.funnel-sales-preset-button{width:100%;background:var(--preset-accent);border-color:var(--preset-accent);display:flex!important;align-items:center;justify-content:center;width:100%!important;min-height:58px!important;height:58px!important;padding:10px 16px!important;line-height:1.2!important;}
@media(max-width:1050px){.funnel-strategy-grid{grid-template-columns:1fr}.funnel-template-copies .funnel-history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.funnel-template-copies .funnel-history-grid{grid-template-columns:1fr}}

/* 1.0.8.14: Funnelbibliothek, Systemeinstellung und direkter Produkt-KI-Editor */
.funnel-library-launchers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:20px}.funnel-library-launcher{min-width:0;margin:0;text-align:left;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.funnel-library-launcher:hover,.funnel-library-launcher:focus-visible{transform:translateY(-2px);border-color:var(--accent,#2563eb);box-shadow:0 14px 32px rgba(15,23,42,.1)}.funnel-library-launcher strong,.funnel-library-launcher small{display:block}.funnel-library-launcher strong{font-size:1.1rem;margin:.2rem 0}.funnel-library-dialog{width:min(1180px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:0;border:0;border-radius:20px;background:var(--card-bg,#fff);box-shadow:0 28px 85px rgba(15,23,42,.3)}.funnel-library-dialog::backdrop{background:rgba(15,23,42,.62)}.funnel-library-dialog-head{position:sticky;top:0;z-index:4;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px;border-bottom:1px solid var(--card-border,#dbe2ea);background:var(--card-bg,#fff)}.funnel-library-dialog-head h2{margin:.2rem 0}.funnel-library-dialog-head p{margin:0}.funnel-library-dialog-body{padding:24px;overflow:auto}.funnel-history-paged{grid-template-columns:repeat(2,minmax(0,1fr));min-height:230px}.funnel-history-paged .funnel-history-card[hidden]{display:none!important}.funnel-history-pagination button{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 9px;border:1px solid #d8dee8;border-radius:8px;background:#fff;color:inherit;font:inherit;font-weight:700;cursor:pointer}.funnel-history-pagination button:hover,.funnel-history-pagination .is-current{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}.funnel-history-pagination .is-disabled{pointer-events:none;opacity:.38}
.settings-system-priority{display:grid;grid-template-columns:minmax(0,1fr) minmax(540px,1.3fr);gap:24px;align-items:center;margin-bottom:22px;border:2px solid color-mix(in srgb,var(--accent,#2563eb) 35%,var(--card-border,#dbe2ea))}.settings-system-priority h2{margin:.25rem 0}.settings-system-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:10px;align-items:stretch}.settings-system-choice{display:flex;align-items:center;gap:10px;min-width:0;padding:13px;border:1px solid var(--card-border,#dbe2ea);border-radius:12px;background:#fff;cursor:pointer}.settings-system-choice.is-active{border-color:#16a34a;background:color-mix(in srgb,#22c55e 12%,#fff);box-shadow:0 0 0 2px rgba(34,197,94,.10)}.settings-system-choice.is-active strong{color:#166534}.settings-system-choice input{width:auto}.settings-system-choice span,.settings-system-choice strong,.settings-system-choice small{display:block;min-width:0}.settings-system-choice small{margin-top:3px;color:var(--muted,#64748b)}
.product-description-editor-heading{margin-bottom:0;align-items:center;}.product-ai-editor-button{flex:0 0 auto}.product-ai-screen-lock{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:24px;background:rgba(15,23,42,.58);backdrop-filter:blur(3px)}.product-ai-screen-lock[hidden]{display:none}.product-ai-loading-card{display:grid;justify-items:center;gap:12px;width:min(420px,100%);padding:30px;border-radius:18px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.3);text-align:center}.product-ai-loading-card small{color:#64748b;line-height:1.5}.product-ai-provider-logo{display:block;width:auto;max-width:150px;height:46px;max-height:46px;object-fit:contain;margin:0 auto 2px}.product-ai-spinner{width:44px;height:44px;border:4px solid #dbeafe;border-top-color:var(--accent,#2563eb);border-radius:50%;animation:product-ai-spin .8s linear infinite}@keyframes product-ai-spin{to{transform:rotate(360deg)}}html.is-product-ai-busy,html.is-product-ai-busy body{overflow:hidden}
@media(max-width:1050px){.settings-system-priority{grid-template-columns:1fr}.settings-system-switch{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-system-switch>.btn{grid-column:1/-1}.funnel-history-paged{grid-template-columns:1fr}}
@media(max-width:700px){.funnel-library-launchers,.settings-system-switch{grid-template-columns:1fr}.funnel-library-dialog-head{padding:18px;display:grid}.funnel-library-dialog-body{padding:16px}.product-description-editor-heading{align-items:flex-start}.product-ai-editor-button{width:100%}}


/* 1.0.8.15: zentrale AI-Aktivierung und erweiterte Live-Builder-Höhe */
.ai-master-control{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px}.ai-master-control h2{margin:0 0 4px}.ai-master-switch{display:inline-flex;align-items:center;gap:10px;cursor:pointer;font-weight:800}.ai-master-switch input{position:absolute;opacity:0;pointer-events:none}.ai-master-switch>span{position:relative;width:54px;height:30px;border-radius:999px;background:#cbd5e1;box-shadow:inset 0 0 0 1px rgba(15,23,42,.12);transition:.2s}.ai-master-switch>span:after{content:"";position:absolute;top:4px;left:4px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 7px rgba(15,23,42,.25);transition:.2s}.ai-master-switch input:checked+span{background:#16a34a}.ai-master-switch input:checked+span:after{transform:translateX(24px)}.ai-config-fields{border:0;padding:0;margin:0;min-width:0}.ai-config-form.is-ai-disabled .ai-config-fields{opacity:.48;filter:grayscale(.2)}.ai-config-form.is-ai-disabled .ai-config-fields *{cursor:not-allowed}.product-ai-editor-button:disabled{display:inline-flex!important;opacity:.48;filter:grayscale(.45);cursor:not-allowed}.funnel-live-preview-frame{height:1799px!important}@media(max-width:1100px){.funnel-live-preview-frame{height:1609px!important}}@media(max-width:700px){.ai-master-control{align-items:flex-start;flex-direction:column}.ai-master-switch{width:100%;justify-content:space-between}}

/* 1.0.8.16: deaktivierter AI-Status und adaptive Produktgalerie */
.ai-disabled-status-pill{background:#e5e7eb!important;color:#4b5563!important;border-color:#cbd5e1!important}.ai-config-form.is-ai-disabled .ai-provider-option.is-active{border-color:#dbe4ef!important;box-shadow:none!important;background:#fff!important}.ai-config-form.is-ai-disabled .ai-provider-choice-state{display:none!important}

.metric-card-link{text-decoration:none!important;color:inherit!important}.metric-card-link:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(15,23,42,.1)}body.has-maximized-preview .placeholder-fab{display:none!important}
body.has-maximized-preview [data-action="image-upload"],body.has-maximized-preview .funnel-image-square-action,body.has-maximized-preview .placeholder-fab{display:none!important}
.builder-preview-card.is-maximized .preview-maximize-button{position:fixed!important;top:18px!important;left:18px!important;z-index:2147483647!important}
.builder-preview-card.is-maximized .funnel-live-preview-frame{pointer-events:auto!important;user-select:auto!important}
.ai-provider-option input[disabled]{pointer-events:none}


/* 1.0.8.21 Produktkopf und fixierte Galerie */
.product-detail-main .product-detail-description{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;display:none!important;}

.product-wysiwyg .wysiwyg-editor img{max-width:100%;height:auto}
.product-wysiwyg .wysiwyg-editor img.is-wysiwyg-selected{outline:2px solid var(--accent,#2563eb);outline-offset:3px}

/* 1.0.8.22: Produktkopf, Galerie und zentraler WYSIWYG-Dateimanager */

.product-detail-stock-status span{color:var(--muted);font-size:.78rem;display:none!important;}

.wysiwyg-media-dialog{width:min(980px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:0;border:0;border-radius:18px;box-shadow:0 28px 80px rgba(15,23,42,.32)}
.wysiwyg-media-dialog::backdrop{background:rgba(15,23,42,.62)}
.wysiwyg-media-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:18px;align-items:center;padding:18px 20px;border-bottom:1px solid #dbe2ea;background:#fff}
.wysiwyg-media-body{padding:20px;overflow:auto;max-height:calc(100vh - 120px)}
.wysiwyg-media-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.wysiwyg-media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.wysiwyg-media-item{display:grid;gap:8px;padding:8px;border:1px solid #dbe2ea;border-radius:12px;background:#fff;cursor:pointer;text-align:left}
.wysiwyg-media-item:hover,.wysiwyg-media-item:focus-visible{border-color:var(--accent,#2563eb);box-shadow:0 8px 22px rgba(15,23,42,.1)}
.wysiwyg-media-item img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#f8fafc;border-radius:8px}
.wysiwyg-media-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem}
@media(max-width:700px){.wysiwyg-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 1.0.8.25: KI-Hinweise, Lagerstatus und stabile Galerie */

.ai-usage-note{position:relative;display:grid;gap:7px}
.ai-usage-note>span{line-height:1.65}
.ai-more-help{margin-top:2px}
.ai-more-help>summary{display:grid;place-items:center;width:28px;height:28px;border:2px solid #dc2626;border-radius:50%;color:#dc2626;font-size:1.15rem;font-weight:900;cursor:pointer;list-style:none}
.ai-more-help>summary::-webkit-details-marker{display:none}.ai-more-help[open]>summary{background:#fef2f2}
.ai-more-help>div{margin-top:9px;padding:12px;border:1px solid #fecaca;border-radius:10px;background:#fff7f7;line-height:1.55}.ai-more-help p{margin:.35rem 0 0}
#ai-instructions{resize:vertical;min-height:7.8em}

.product-detail-stock-status:before{content:"";width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px color-mix(in srgb,currentColor 15%,transparent);}
.product-detail-stock-status.is-low-stock{color:#d97706;}.product-detail-stock-status.is-unavailable{color:#b91c1c;}.product-detail-stock-status.is-pending{color:#64748b;}

@media(max-width:760px){.ai-config-overview .split{display:grid}}

/* 1.0.8.26: kompakte Produktabstände, stabile Galerie und KI-Hilfe */
.product-feature-options-card .featured-checkbox{font-size:.95rem;font-weight:400!important;line-height:1.35}
.product-feature-options-card .featured-checkbox span{font-size:inherit;font-weight:400!important}
.ai-info-stack{display:grid;gap:12px;min-width:min(420px,100%);grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;}
.ai-info-stack>.ai-security-note{height:100%}
.ai-help-trigger{display:grid;place-items:center;width:30px;height:30px;margin-top:auto;padding:0;border:0;background:transparent;color:#dc2626;font-size:1.35rem;font-weight:900;cursor:pointer}
.ai-help-dialog{width:min(760px,calc(100vw - 28px));border:0;border-radius:18px;padding:0;box-shadow:0 28px 80px rgba(15,23,42,.34)}
.ai-help-dialog::backdrop{background:rgba(15,23,42,.62)}
.ai-help-dialog-card{padding:22px;background:#fff}
.ai-help-dialog-card h2{margin:.2rem 0 0}.ai-help-content{display:grid;gap:12px;margin-top:18px}.ai-help-content p{margin:0;line-height:1.6}

.product-detail-main .product-detail-price-block{margin:0!important;padding:0 0 12px!important;border:0!important;position:relative;padding-bottom:5px!important;}
.product-detail-main .product-detail-price-block:after{content:""!important;display:block!important;width:min(360px,68%)!important;height:1px!important;background:var(--card-border,#dfe3ea)!important;margin-top:7px!important;}




.product-purchase-actions>.product-detail-buybox{flex:0 0 auto;margin-top:0!important;}
@media(max-width:760px){.ai-info-stack{min-width:0;grid-template-columns:1fr;}}

/* 1.0.8.27: definitive product gallery and compact product header */
.product-detail-main{grid-column:1!important;grid-row:2!important;min-width:0;flex-direction:column;flex:1;display:grid!important;gap:0!important;}
.product-detail-price-block{display:grid;gap:4px;border-top:1px solid var(--card-border);position:relative;padding-bottom:12px;margin-bottom:8px;border-bottom:0!important;margin:0!important;padding:0 0 4px!important;}
.product-detail-price-block:after{content:"";width:min(72%,360px);height:1px;margin-top:11px;background:var(--card-border);display:block!important;margin:5px 0 0!important;}
.product-review-summary-inline{margin-top:4px!important;margin-top:2px!important;margin-top:5px!important;margin-bottom:0!important;margin-top:1px!important;line-height:1.25;margin:2px 0 0!important;padding:0!important;}
.product-detail-stock-status{width:max-content;max-width:100%;font-size:.88rem;display:flex;align-items:center;gap:9px;font-weight:800;color:#15803d;margin-top:0!important;margin-bottom:4px!important;margin:6px 0 8px!important;}

.ai-help-trigger,.ai-help-dialog{display:none!important}

/* 1.0.8.28 definitive product gallery layout */


/* 1.0.8.29: canonical shop product preview and layout cleanup */
/* 1.0.8.30: einheitlicher Shop-Live-Builder wie im Funnelsystem */
.has-real-shop-preview>*:not(.shop-design-preview-card){display:none!important}



.shop-design-preview-card .device-preview-stage.is-mobile .shop-design-live-preview-frame{width:390px;max-width:100%;margin:0 auto}



.shop-design-preview-card.is-maximized .builder-preview-draft-note{display:none}

.shop-checkout-builder-workspace{display:grid;gap:24px;align-items:start}
.shop-checkout-preview-host{position:sticky;top:18px;align-self:start}
@media(max-width:1100px){.shop-checkout-preview-host{position:static}}
/* 1.0.8.31: Shop-Live-Builder entspricht dem Landingpage-Builder */
.design-workspace,#appearance-form .appearance-workspace,.shop-checkout-builder-workspace{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:24px!important;}
.shop-design-preview-card{width:100%;overflow:hidden;border:1px solid #dbe3ee;border-radius:18px;background:#fff;box-shadow:0 18px 55px rgba(15,23,42,.10);}
.shop-design-preview-card .builder-preview-head{position:relative;z-index:3;background:#fff;border-bottom:1px solid #e2e8f0;padding:12px 14px}
.shop-preview-status{font-size:.76rem;font-weight:700;color:#64748b;align-self:center}

.shop-design-live-preview-frame{display:block;width:100%;height:calc(100vh - 120px);min-height:620px;border:0;background:#fff;height:1799px;min-height:900px;}

.shop-design-preview-card.is-maximized .builder-preview-head{display:none!important}

.shop-design-preview-card.is-maximized .shop-design-live-preview-frame{height:100%;min-height:0;pointer-events:none;display:block;width:100%!important;min-width:100%;height:100vh!important;min-height:100vh!important;pointer-events:auto!important;background:#fff;}

body.has-maximized-preview>*:not(.admin-layout){pointer-events:none}
body.has-maximized-preview .shop-design-preview-card.is-maximized,body.has-maximized-preview .shop-design-preview-card.is-maximized *{pointer-events:auto}

.stats-filter-actions{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.stats-ai-summary{margin:14px 0}.stats-ai-summary h3:first-child{margin-top:0}
/* Modernes Template beginnt mit bewusstem Abstand unter der Produktkopfsektion. */
.product-detail-template-modern + .product-secondary-description,.modern-product-secondary-description{margin-top:3.5rem;}
/* 1.0.8.31: Hintergrundsteuerung für moderne Produktvorlagen */
.modern-product-secondary-description.builder-background-transparent,.builder-background-transparent .visual-product-section{background:transparent!important;background-image:none!important}
.modern-product-secondary-description.builder-background-fade10{mask-image:linear-gradient(to bottom,transparent 0,#000 10%);-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 10%)}
.modern-product-secondary-description.builder-background-fade20{mask-image:linear-gradient(to bottom,transparent 0,#000 20%);-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 20%)}
.modern-product-secondary-description.builder-background-fade30{mask-image:linear-gradient(to bottom,transparent 0,#000 30%);-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 30%)}
.builder-background-mode{min-width:210px}
/* 1.0.8.32 Verkaufsstatistik und KI-Analyse */
.stats-date-field input{width:100%}.ai-analysis-dialog::backdrop{background:rgba(15,23,42,.68);backdrop-filter:blur(5px)}.ai-analysis-shell{padding:22px}.ai-analysis-layout aside{border-right:1px solid var(--card-border);padding-right:16px;overflow:auto}.ai-analysis-layout main{overflow:auto;padding-right:8px}.ai-analysis-history button{text-align:left;border:1px solid var(--card-border);background:var(--card-bg);border-radius:12px;padding:10px;display:grid;gap:3px}.ai-analysis-history button:hover{border-color:var(--accent)}.ai-analysis-history span,.ai-analysis-history small{color:var(--muted)}.ai-analysis-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ai-recommendations{display:grid;gap:12px}.ai-recommendation{border:1px solid var(--card-border);border-left:5px solid #64748b;border-radius:12px;padding:14px}.ai-recommendation.priority-critical{border-left-color:#dc2626}.ai-recommendation.priority-high{border-left-color:#ea580c}.ai-recommendation.priority-medium{border-left-color:#ca8a04}.ai-recommendation.priority-low{border-left-color:#16a34a}.ai-recommendation header{display:flex;justify-content:space-between;gap:12px}.ai-analysis-detail footer{margin-top:20px;padding-top:12px;border-top:1px solid var(--card-border)}@media(max-width:850px){.stats-period-filter{grid-template-columns:1fr 1fr}.ai-analysis-layout{grid-template-columns:1fr;max-height:none}.ai-analysis-layout aside{border-right:0;border-bottom:1px solid var(--card-border);padding:0 0 14px}.ai-analysis-columns{grid-template-columns:1fr}}
.ai-analysis-toolbar label{display:grid;gap:4px}.ai-manual-comparison{display:grid;grid-template-columns:1fr 1fr;gap:18px}.ai-manual-comparison>article{min-width:0;border:1px solid var(--card-border);border-radius:14px;padding:14px}@media(max-width:900px){.ai-manual-comparison{grid-template-columns:1fr}}
/* 1.0.8.33 Dynamische Produktgalerie ohne festes Bildformat */
@media (min-width:901px){
 .product-detail-visual.product-detail-thumbnails-bottom[data-product-gallery]{position:sticky;top:calc(var(--design-header-height,68px) + 24px);display:grid!important;grid-template-rows:auto auto!important;height:auto!important;min-height:0!important;gap:0!important;overflow:visible!important;}
 .product-detail-visual.product-detail-thumbnails-bottom[data-product-gallery]>.product-detail-media{grid-row:1!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1/1!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;}
 .product-detail-visual.product-detail-thumbnails-bottom[data-product-gallery]>.product-detail-media .product-detail-image{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:var(--product-detail-image-fit,contain)!important;object-position:center!important;aspect-ratio:auto!important;margin:0!important;}
 .product-detail-visual.product-detail-thumbnails-bottom[data-product-gallery]>.product-detail-thumbnails{grid-row:2!important;display:grid!important;grid-template-columns:repeat(7,var(--product-detail-thumbnail-size,58px))!important;grid-auto-rows:var(--product-detail-thumbnail-size,58px)!important;justify-content:flex-start!important;gap:8px!important;width:100%!important;height:auto!important;margin:0!important;padding:8px 0 0!important;overflow:hidden!important;visibility:visible!important;opacity:1!important;align-self:start!important;box-sizing:border-box!important;}
 .product-detail-visual.product-detail-thumbnails-bottom[data-product-gallery]>.product-detail-thumbnails .product-detail-thumbnail{display:flex!important;width:var(--product-detail-thumbnail-size,58px)!important;height:var(--product-detail-thumbnail-size,58px)!important;min-width:0!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;}
 .product-detail-visual.product-detail-thumbnails-bottom[data-product-gallery]>.product-detail-thumbnails .product-detail-thumbnail img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;}
}
@media (max-width:900px){.product-detail-visual[data-product-gallery]{height:auto!important;}.product-detail-visual[data-product-gallery]>.product-detail-media{height:clamp(320px,70vw,560px)!important;min-height:0!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;}.product-detail-visual[data-product-gallery]>.product-detail-media .product-detail-image{width:100%!important;height:100%!important;max-width:100%!important;max-height:70vh!important;object-fit:var(--product-detail-image-fit,contain)!important;object-position:center!important;aspect-ratio:auto!important;}.product-detail-thumbnails{display:grid!important;grid-template-columns:repeat(auto-fit,var(--product-detail-thumbnail-size,58px))!important;justify-content:flex-start!important;gap:8px!important;}.product-detail-thumbnails .product-detail-thumbnail{width:var(--product-detail-thumbnail-size,58px)!important;height:var(--product-detail-thumbnail-size,58px)!important;}}


/* 1.0.8.33 KI-Analyse vollständig anzeigen */
.ai-analysis-dialog .ai-analysis-layout{min-height:0}.ai-analysis-detail,.ai-analysis-detail *{overflow-wrap:anywhere}.ai-analysis-prose{white-space:pre-wrap;line-height:1.65}.ai-recommendation dl{display:grid;grid-template-columns:minmax(110px,.35fr) 1fr;gap:5px 12px}.ai-recommendation dt{font-weight:700}.ai-recommendation dd{margin:0}
/* 1.0.8.34 Analysekontext und Bildrandbehandlung */
.ai-analysis-context{margin:0 0 16px;border:1px solid var(--card-border);background:color-mix(in srgb,var(--card-bg) 96%,var(--secondary-bg))}.ai-analysis-context h3{margin:.2rem 0}.ai-analysis-context-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.ai-analysis-context-grid label{display:grid;gap:6px;font-weight:700}.ai-analysis-context-grid textarea{min-height:72px;resize:vertical;font-weight:400}.ai-analysis-context-grid label:last-child{grid-column:1/-1}@media(max-width:760px){.ai-analysis-context-grid{grid-template-columns:1fr}.ai-analysis-context-grid label:last-child{grid-column:auto}}

/* 1.0.10.1 scoped functional corrections */
body.public-page.product-detail-image-edges-transparent .product-detail-media,
body.public-page.product-detail-image-edges-transparent .product-detail-thumbnails,
body.public-page.product-detail-image-edges-transparent .product-detail-thumbnail,
body.public-page.product-detail-image-edges-transparent .product-detail-thumbnail img{background:transparent!important;}
body.public-page .product-purchase-facts,
body.public-page .product-detail-buybox,
body.public-page .product-detail-benefits>span{border-radius:var(--card-radius,var(--radius,12px));}
.product-purchase-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,.72fr);gap:14px;align-items:stretch;margin:12px 0;align-items:end;align-items:end!important;display:contents!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(220px,.7fr)!important;gap:14px!important;align-items:end!important;margin:12px 0!important;display:block!important;margin:0!important;margin-top:0!important;margin:0!important;display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.82fr);gap:14px;align-items:stretch;}
.product-purchase-actions,.product-purchase-facts{min-height:100%;align-self:stretch}
.product-purchase-actions{display:grid;gap:8px;min-width:0;align-self:end;min-width:0;grid-column:1;grid-row:2;align-self:start!important;grid-column:auto!important;grid-row:auto!important;align-self:end!important;display:grid!important;gap:8px!important;align-self:start!important;display:flex!important;flex-direction:column!important;align-self:stretch!important;height:100%!important;height:auto!important;min-height:0!important;display:flex;flex-direction:column;}
.product-purchase-actions .product-detail-buybox{margin-top:auto;}
.product-purchase-notice{border-top:0}
.product-purchase-actions>.product-purchase-history-notice,.product-purchase-actions>.product-purchase-notice{margin:8px 0 0;border-top:0;background:var(--purchase-notice-bg);color:var(--purchase-notice-text);box-shadow:none}
.product-purchase-actions>.product-purchase-history-notice::before,.product-purchase-actions>.product-purchase-history-notice::after,.product-purchase-actions>.product-purchase-notice::before,.product-purchase-actions>.product-purchase-notice::after{content:none}
@media(max-width:900px){.product-purchase-layout{grid-template-columns:1fr}.product-purchase-actions,.product-purchase-facts{min-height:0}}
body.design-footer-density-compact .footer{padding-block:20px}
body.design-footer-density-normal .footer{padding-block:35px}
body.design-footer-density-large .footer{padding-block:56px}
body.design-footer-center .footer-bottom{border-top:1px solid color-mix(in srgb,currentColor 24%,transparent);padding-top:18px;margin-top:18px}
body.design-motion-enabled-0 .motion-preview-card,
body.design-motion-enabled-0 .motion-preview-card *{animation:none!important;transition:none!important;transform:none!important}
.home-review-product-image{position:absolute;right:12px;top:12px;width:1.5cm;height:1.5cm;object-fit:cover;border-radius:8px;}
.home-testimonial{margin:0;padding:var(--design-card-padding,20px);border:var(--design-card-border-width,1px) solid color-mix(in srgb,currentColor 18%,transparent);border-radius:var(--card-radius,var(--radius,12px));background:var(--card-bg,#fff);box-shadow:var(--surface-shadow);display:grid;gap:12px;min-width:0;max-width:100%;overflow:hidden;box-sizing:border-box;position:relative;}


.ai-analysis-dialog [data-ai-analysis-content]{overflow:auto;min-width:0;max-height:70vh;padding-right:8px;min-height:320px;max-height:64vh;overflow-y:auto;overscroll-behavior:contain;}

.stats-date-field,.stats-date-field input{width:100%}
.stats-apply-button,.stats-ai-button{width:auto!important;white-space:nowrap;width:auto;min-width:0;align-self:end;}
@media(max-width:800px){.stats-period-filter{grid-template-columns:1fr 1fr}.stats-apply-button,.stats-ai-button{width:max-content}}

.shop-design-preview-card .device-preview-stage{position:relative;background:#eef2f7;overflow:auto;scrollbar-gutter:stable;background:#edf2f7;min-height:760px;height:min(1240px,calc(100vh + 260px));overflow:hidden;}
.shop-design-preview-card iframe{width:100%;height:100%;border:0;background:#fff}
.shop-design-preview-card.is-maximized{position:fixed;inset:12px;z-index:10050;display:flex;flex-direction:column;background:#fff;box-shadow:0 30px 100px rgba(15,23,42,.42);inset:0!important;border:0!important;border-radius:0!important;z-index:10050!important;position:fixed;inset:0;z-index:20000;background:#10131a;padding:14px;overflow:hidden;}
.shop-design-preview-card.is-maximized .device-preview-stage{flex:1;min-height:0;position:fixed;inset:0;overflow:auto;background:#dfe6ef;padding:0;height:calc(100vh - 82px);min-height:0;overflow:auto;}
.shop-design-preview-card.is-maximized .preview-maximize-button{position:fixed!important;top:18px!important;left:18px!important;z-index:10070!important;box-shadow:0 12px 30px rgba(15,23,42,.28);position:fixed;top:24px;right:28px;z-index:20002;}
.home-testimonial-carousel.effect-fade .home-testimonial{animation:testimonialFade .55s ease both;}
.home-testimonial-carousel.effect-slide .home-testimonial{animation:testimonialSlide .55s ease both;}
.home-testimonial-carousel.effect-rise .home-testimonial{animation:testimonialRise .55s ease both;}
.home-testimonial-carousel.effect-rotate .home-testimonial{animation:testimonialRotate .6s ease both;backface-visibility:hidden;}
.home-testimonial-carousel.effect-scale .home-testimonial{animation:testimonialScale .5s ease both;}
.home-testimonial-carousel.effect-flip .home-testimonial{animation:testimonialFlip .6s ease both;backface-visibility:hidden;}
@keyframes testimonialFade{from{opacity:0}to{opacity:1}}
@keyframes testimonialSlide{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:none}}
@keyframes testimonialRise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes testimonialRotate{from{opacity:0;transform:perspective(800px) rotateY(14deg)}to{opacity:1;transform:none}}
@keyframes testimonialScale{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}}
@keyframes testimonialFlip{from{opacity:0;transform:perspective(800px) rotateX(22deg)}to{opacity:1;transform:none}}

/* Strukturierte KI-Listen: Priorität dezent ausgeben, niemals Roh-JSON darstellen. */
.ai-analysis-detail .ai-list-priority{display:inline-flex;margin-left:.45rem;padding:.08rem .42rem;border-radius:999px;font-size:.72em;font-weight:700;line-height:1.4;text-transform:uppercase;vertical-align:middle;background:color-mix(in srgb,currentColor 10%,transparent)}


/* 1.0.10.6: Admin-Einstellungen als klares Zwei-Spalten-Raster. */
.settings-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.settings-card-grid>.settings-section{margin:0;min-width:0;height:100%}
.settings-card-grid>.settings-section-full{grid-column:1/-1;height:auto}
.settings-card-grid>.settings-section-full .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.settings-card-grid>.settings-section-full .form-grid>.full{grid-column:1/-1}
@media(max-width:980px){.settings-card-grid{grid-template-columns:1fr}.settings-card-grid>.settings-section-full{grid-column:auto}.settings-card-grid>.settings-section-full .form-grid{grid-template-columns:1fr}.settings-card-grid>.settings-section-full .form-grid>*{grid-column:auto!important}}

/* 1.0.10.6: Variantenwahl bleibt direkt über der Kaufbox; deren Unterkante
   wird auf Desktop an die Unterkante der Produkt-Hinweisbox gekoppelt. */
@media(min-width:761px){
 body.public-page.shop-system-active .product-purchase-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(220px,.7fr)!important;gap:14px!important;align-items:stretch!important;margin:0!important}
 body.public-page.shop-system-active .product-purchase-actions{display:flex!important;flex-direction:column!important;align-self:stretch!important;height:100%!important;min-height:0!important}
 body.public-page.shop-system-active .product-purchase-actions>.product-variant-picker{flex:0 0 auto!important;margin-bottom:8px!important}
 body.public-page.shop-system-active .product-purchase-actions>.product-detail-buybox{flex:0 0 auto!important;margin-top:auto!important;}
 body.public-page.shop-system-active .product-purchase-actions>.product-purchase-history-notice{flex:0 0 auto!important}
}
@media(max-width:760px){body.public-page.shop-system-active .product-purchase-layout{display:grid!important;grid-template-columns:1fr!important}.product-purchase-actions{height:auto!important}.product-purchase-actions>.product-detail-buybox{margin-top:0!important;}}

/* 1.0.10.7: definitive product purchase alignment and card color inheritance. */
body.public-page.shop-system-active .product-detail-info{
 display:grid!important;
 grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr)!important;
 grid-template-rows:auto auto auto!important;
 column-gap:14px!important;
 row-gap:12px!important;
 align-items:stretch!important;
}
body.public-page.shop-system-active .product-detail-heading{grid-column:1/-1!important;grid-row:1!important;}
body.public-page.shop-system-active .product-detail-main{
 grid-column:1!important;
 grid-row:2!important;
 display:flex!important;
 flex-direction:column!important;
 min-width:0!important;
 height:100%!important;
}
body.public-page.shop-system-active .product-purchase-facts{
 grid-column:2!important;
 grid-row:2!important;
 align-self:stretch!important;
 height:100%!important;
 margin:0!important;
}
body.public-page.shop-system-active .product-purchase-layout{
 display:block!important;
 margin-top:auto!important;
 width:100%!important;
}
body.public-page.shop-system-active .product-purchase-actions{
 display:grid!important;
 grid-template-columns:1fr!important;
 gap:8px!important;
 height:auto!important;
 min-height:0!important;
 align-self:auto!important;
}
body.public-page.shop-system-active .product-purchase-actions>.product-variant-picker,
body.public-page.shop-system-active .product-purchase-actions>.product-detail-buybox{margin:0!important;}
body.public-page.shop-system-active .product-variant-picker,
body.public-page.shop-system-active .product-detail-buybox,
body.public-page.shop-system-active .quantity-stepper,
body.public-page.shop-system-active .product-detail-buybox .product-cart-button{
 background:var(--card-bg)!important;
}
body.public-page.shop-system-active .product-detail-buybox .product-cart-button{
 color:var(--text-color)!important;
 border:1px solid var(--card-border)!important;
 box-shadow:none!important;
}
@media(max-width:900px){
 body.public-page.shop-system-active .product-detail-info{grid-template-columns:1fr!important;display:grid!important;}
 body.public-page.shop-system-active .product-detail-heading,
 body.public-page.shop-system-active .product-detail-main,
 body.public-page.shop-system-active .product-purchase-facts,
 body.public-page.shop-system-active .product-detail-benefits{grid-column:1!important;grid-row:auto!important;}
 body.public-page.shop-system-active .product-detail-main{height:auto!important;}
 body.public-page.shop-system-active .product-purchase-layout{margin-top:0!important}
 body.public-page.shop-system-active .product-purchase-facts{height:auto!important}
}

/* Einstellungen: Stornierungen/Rücksendungen kompakt mit drei Feldern pro Zeile. */
.settings-card-grid>.settings-cancellations .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.settings-card-grid>.settings-cancellations .form-grid>*{grid-column:auto!important;min-width:0}
.settings-card-grid>.settings-cancellations textarea{min-height:92px;resize:vertical}
@media(max-width:1100px){.settings-card-grid>.settings-cancellations .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){.settings-card-grid>.settings-cancellations .form-grid{grid-template-columns:1fr!important}}

/* E-Mail-Editor bleibt als sichtbare, bedienbare Vollbreitenkarte im Einstellungsraster. */
.settings-card-grid>.system-mail-settings{display:block!important;visibility:visible!important;opacity:1!important;grid-column:1/-1!important;min-height:420px}
.system-mail-settings [data-system-mail-select],.system-mail-settings [data-system-mail-subject]{pointer-events:auto!important}

/* 1.0.10.8: KI-Analyse-Dialog und Verlauf */
.ai-analysis-dialog{width:min(1180px,calc(100vw - 32px));max-height:calc(100vh - 32px);border:0;border-radius:20px;padding:0;box-shadow:0 30px 100px rgba(15,23,42,.35);width:min(1180px,96vw);max-height:92vh;width:min(1360px,94vw);max-height:94vh;}
.ai-analysis-dialog .ai-analysis-shell{max-height:92vh;overflow:hidden;max-height:88vh;overflow-y:auto;overscroll-behavior:contain;max-height:90vh;}
.ai-analysis-toolbar .ai-compare-button{min-height:42px;padding-block:10px}
.ai-history-entry{position:relative}
.ai-analysis-history .ai-history-open{width:100%;padding-right:42px}
.ai-analysis-history .ai-history-delete{position:absolute;top:7px;right:7px;width:25px;height:25px;min-width:25px;padding:0;border:2px solid #dc2626;border-radius:50%;background:#fff;color:#dc2626;font-size:20px;font-weight:800;line-height:19px;text-align:center;display:grid;place-items:center;z-index:2}
.ai-analysis-history .ai-history-delete:hover{background:#dc2626;color:#fff;border-color:#dc2626}
.ai-analysis-history .ai-history-delete:disabled{opacity:.5}
@media(max-width:850px){.ai-analysis-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}}

/* 1.0.10.9(2): Hinweis auf früheren Kauf direkt unter dem Verfügbarkeitsstatus. */
.product-detail-stock-status + .product-purchase-history-notice{margin:10px 0 0;background:var(--purchase-notice-bg);color:var(--purchase-notice-text);box-shadow:none;}
.product-detail-stock-status + .product-purchase-history-notice::before,.product-detail-stock-status + .product-purchase-history-notice::after{content:none;}
body.admin-page.admin-dynamic-loading .content{opacity:.48;pointer-events:none;transition:opacity .14s ease}


/* 1.0.10.12 Verkaufsstatistik: erweiterte Entwicklung */
.development-heading-row h2{margin:0}.development-mode-switch{display:inline-flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.82rem}.development-mode-switch input{position:absolute;opacity:0;pointer-events:none}.development-mode-switch>span{position:relative;width:42px;height:23px;border-radius:999px;background:#cbd5e1;box-shadow:inset 0 0 0 1px rgba(15,23,42,.14);transition:.2s}.development-mode-switch>span:after{content:"";position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.28);transition:.2s}.development-mode-switch input:checked+span{background:#2563eb}.development-mode-switch input:checked+span:after{transform:translateX(19px)}.development-mode-switch input:focus-visible+span{outline:2px solid #2563eb;outline-offset:2px}.revenue-chart-card:not(.is-extended) .development-summary,.revenue-chart-card:not(.is-extended) .development-metric-controls{display:none}.revenue-chart-card:not(.is-extended) .development-chart-layout{grid-template-columns:minmax(0,1fr)}



/* 1.0.10.13: korrigierte Entwicklungsansicht, Zahlungsraster und Produktgalerie */
.revenue-chart-card:not(.is-extended) .extended-only{display:none!important}

.revenue-chart-card.is-extended .development-summary{display:grid;gap:10px;align-content:start}
.revenue-chart-card.is-extended .development-summary>div{padding:12px;border:1px solid var(--card-border);border-radius:10px;background:var(--card-bg)}
.revenue-chart-card .revenue-line-chart{min-width:720px}
.revenue-chart-wrap{margin-top:18px;padding:14px 10px 2px;border:1px solid #e6ebf2;border-radius:14px;background:linear-gradient(180deg,#fbfdff 0%,#fff 100%);overflow-x:auto;padding:18px 16px 5px;overflow-x:auto;overflow-y:hidden;}
@media(max-width:900px){.revenue-chart-card.is-extended .development-chart-layout{grid-template-columns:1fr}.revenue-chart-card .revenue-line-chart{min-width:680px}}

.product-payment-methods-row{padding-top:12px!important;margin-top:8px!important}
.product-payment-methods{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;display:grid!important;width:100%!important;gap:8px!important;align-items:stretch!important;}
.product-payment-methods>span{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;width:100%!important;box-sizing:border-box!important}
.product-payment-methods-count-1,.product-payment-methods-count-2,.product-payment-methods-count-3{grid-template-columns:repeat(var(--payment-count,3),minmax(0,1fr))}
.product-payment-methods-count-4{grid-template-columns:repeat(2,minmax(0,1fr))}
.product-payment-methods-count-5,.product-payment-methods-count-6{grid-template-columns:repeat(3,minmax(0,1fr))}
.product-payment-methods-count-1{--payment-count:1}.product-payment-methods-count-2{--payment-count:2}.product-payment-methods-count-3{--payment-count:3}
.payment-paypal{color:#003087;font-style:italic;font-weight:800;color:#14213d;letter-spacing:.02em;font-weight:800;color:#003087;letter-spacing:.01em;}

@media(min-width:901px){
 .product-detail-layout{align-items:start!important;}
 .product-detail-visual{align-self:start!important;height:auto!important;min-height:0!important;}
 .product-detail-visual.product-detail-thumbnails-right{display:grid!important;grid-template-columns:minmax(0,1fr) var(--product-detail-thumbnail-size,58px)!important;grid-template-rows:auto!important;gap:10px!important;align-items:stretch!important;}
 .product-detail-visual.product-detail-thumbnails-right>.product-detail-media{grid-column:1!important;grid-row:1!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1/1!important;align-self:start!important;}
 .product-detail-visual.product-detail-thumbnails-right>.product-detail-media .product-detail-image{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:var(--product-detail-image-fit,contain)!important;object-position:center!important;}
 .product-detail-visual.product-detail-thumbnails-right>.product-detail-thumbnails{grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column!important;gap:8px!important;width:var(--product-detail-thumbnail-size,58px)!important;height:100%!important;max-height:100%!important;margin:0!important;padding:0!important;overflow-y:auto!important;overflow-x:hidden!important;align-self:stretch!important;}
 body.product-detail-gallery-top .product-detail-visual.product-detail-thumbnails-right>.product-detail-thumbnails{justify-content:flex-start!important;}
 body.product-detail-gallery-center .product-detail-visual.product-detail-thumbnails-right>.product-detail-thumbnails{justify-content:center!important;}
 .product-detail-visual.product-detail-thumbnails-right>.product-detail-thumbnails .product-detail-thumbnail{flex:0 0 var(--product-detail-thumbnail-size,58px)!important;width:var(--product-detail-thumbnail-size,58px)!important;height:var(--product-detail-thumbnail-size,58px)!important;}
 .product-detail-visual.product-detail-thumbnails-bottom{display:grid!important;height:auto!important;}
 .product-detail-visual.product-detail-thumbnails-bottom>.product-detail-media{min-height:0!important;}
 .product-detail-visual.product-detail-thumbnails-bottom>.product-detail-media .product-detail-image{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:var(--product-detail-image-fit,contain)!important;object-position:center!important;}
}
@media(max-width:900px){.product-detail-visual.product-detail-thumbnails-right{display:block!important;}.product-detail-visual.product-detail-thumbnails-right>.product-detail-thumbnails{display:grid!important;grid-template-columns:repeat(auto-fit,var(--product-detail-thumbnail-size,58px))!important;justify-content:flex-start!important;width:100%!important;height:auto!important;margin-top:8px!important;overflow-x:auto!important;}}

/* 1.0.10.15 */
@media(max-width:760px){body[class*="funnel-template-"].page-cart .cart-products-table tr[data-cart-row]{display:grid!important;grid-template-columns:1fr!important}body[class*="funnel-template-"].page-cart .cart-product-cell{order:1}body[class*="funnel-template-"].page-cart .cart-quantity-cell{order:2}body[class*="funnel-template-"].page-cart .cart-price-cell{order:3}body[class*="funnel-template-"].page-cart .cart-line-cell{order:4}body[class*="funnel-template-"].page-cart .cart-remove-cell{order:5}}

.development-summary .summary-aov{border-left-color:#0f766e}.development-summary .summary-cancel-rate{border-left-color:#b45309}.development-summary .summary-conversion{border-left-color:#4f46e5}


/* 1.0.10.16 – Breite einzelner „So funktioniert es“-Blöcke */
.funnel-type-steps:not(.funnel-item-width-auto) .funnel-item-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--funnel-item-width)),var(--funnel-item-width)));justify-content:center}
.funnel-type-steps.funnel-item-width-full .funnel-item-grid{grid-template-columns:1fr}

/* 1.0.10.16 – kompakte, entscheidungsrelevante Verkaufsstatistik */
.sales-insight-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px}
.sales-insight-grid>div{padding:16px;border:1px solid var(--border);border-radius:14px;background:var(--surface-soft,#f8fafc);display:grid;gap:5px}
.sales-insight-grid strong{font-size:1.45rem}.sales-insight-grid span{font-weight:700}.sales-insight-grid small{color:var(--muted);line-height:1.45}
@media(max-width:980px){.sales-insight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.sales-insight-grid{grid-template-columns:1fr}}

/* 1.0.10.17 */
.review-reminder-settings{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.review-reminder-settings input[type=number]{width:82px}
.development-pies{display:none}.revenue-chart-card.is-extended .development-chart-layout{display:grid;grid-template-columns:minmax(150px,.23fr) minmax(0,1fr);gap:18px;align-items:stretch;display:none;}.revenue-chart-card.is-extended .development-pies{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:20px}.development-pies article{border:1px solid var(--border,#dbe3ed);border-radius:14px;padding:18px}.analytics-pie{width:min(190px,70%);aspect-ratio:1;border-radius:50%;margin:18px auto;box-shadow:inset 0 0 0 22px var(--card,#fff)}.development-pies ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}.development-pies li{display:flex;justify-content:space-between;gap:10px}.development-pies li span{width:10px;height:10px;border-radius:50%;background:var(--dot);margin-top:6px}
@media(max-width:900px){.revenue-chart-card.is-extended .development-pies{grid-template-columns:1fr}}
/* „So funktioniert es“: feste Blockbreite statt veränderter Spaltenzahl */
.funnel-type-steps .funnel-items{display:flex!important;flex-wrap:wrap;justify-content:center}.funnel-type-steps .funnel-item{flex:0 1 var(--funnel-step-width,280px);max-width:100%}.funnel-type-steps.funnel-item-width-compact{--funnel-step-width:190px}.funnel-type-steps.funnel-item-width-medium{--funnel-step-width:280px}.funnel-type-steps.funnel-item-width-wide{--funnel-step-width:420px}.funnel-type-steps.funnel-item-width-full{--funnel-step-width:100%}

.funnel-type-steps .funnel-item-grid{display:flex!important;flex-wrap:wrap;justify-content:center;grid-template-columns:none!important}.funnel-type-steps .funnel-item-grid>.funnel-item{flex:0 1 var(--funnel-item-width,280px);width:var(--funnel-item-width,280px);max-width:100%}.funnel-type-steps.funnel-item-width-auto .funnel-item-grid>.funnel-item{flex:1 1 220px;width:auto}.funnel-type-steps.funnel-item-width-full .funnel-item-grid>.funnel-item{flex-basis:100%;width:100%}

/* 1.0.10.19: Funnel-Warenkorb stabilisieren */
body[class*="funnel-template-"].page-cart .cart-summary{grid-template-columns:minmax(0,1fr) minmax(260px,340px)!important;align-items:start!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(340px,.72fr)!important;
  grid-template-areas:
    "main details"
    "newsletter details"
    "action details"!important;
  column-gap:28px!important;
  row-gap:0!important;
  align-items:start!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(340px,.78fr)!important;
  grid-template-areas:"main side" "action side"!important;
  gap:0 28px!important;
  align-items:start!important;
  padding:24px!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(280px,38%)!important;gap:24px!important;align-items:start!important;overflow:visible!important;}



.funnel-checkout-admin .funnel-config-dashboard{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.funnel-checkout-admin .funnel-checkout-config-card{padding:18px}.funnel-payment-settings--readonly{grid-template-columns:repeat(3,minmax(0,1fr))}.funnel-payment-setting.is-readonly{display:flex}
.review-invitation-funnel{background:var(--funnel-bg,#17130f);padding-bottom:50px}.review-invitation-funnel .review-invitation-card{background:var(--funnel-card,#fffaf0);color:var(--funnel-text,#17130f);border-radius:var(--funnel-card-radius,20px)}
@media(max-width:760px){body[class*="funnel-template-"].page-cart .cart-summary{grid-template-columns:1fr!important}body[class*="funnel-template-"].page-cart .cart-summary-main{grid-template-columns:1fr!important}.funnel-checkout-admin .funnel-config-dashboard{grid-template-columns:1fr}.funnel-payment-settings--readonly{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* 1.0.10.20: canonical funnel cart summary layout; supersedes historical duplicates. */
body[class*="funnel-template-"].page-cart .cart-summary,
body[class*="funnel-template-"].page-cart .cart-summary--with-side,
body[class*="funnel-template-"].page-cart .cart-summary--without-side{
 display:grid!important;
 grid-template-columns:minmax(0,1fr) minmax(250px,.48fr)!important;
 grid-template-areas:"main side" "action side"!important;
 gap:0!important;
 align-items:stretch!important;
 padding:0!important;
 overflow:hidden!important;
}
body[class*="funnel-template-"].page-cart .cart-summary--without-side{
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-areas:"main" "action"!important;grid-template-columns:1fr!important;grid-template-areas:"main" "action"!important;}
body[class*="funnel-template-"].page-cart .cart-summary-main{grid-column:1;grid-row:1;align-self:start;height:max-content;padding-bottom:12px;grid-area:main!important;min-width:0;
  grid-area:main!important;
  padding:0!important;
  min-width:0;display:grid!important;grid-template-columns:minmax(180px,.8fr) minmax(260px,1.2fr)!important;gap:28px!important;min-width:0!important;grid-area:main!important;display:grid!important;grid-template-columns:minmax(190px,.72fr) minmax(270px,1fr)!important;gap:28px!important;padding:24px!important;min-width:0!important;}
body[class*="funnel-template-"].page-cart .funnel-cart-summary-side{
  grid-area:side;
  display:grid;
  gap:18px;
  min-width:0;
  align-self:stretch;
  align-content:start;
  padding-left:28px;
  border-left:1px solid color-mix(in srgb,var(--funnel-text,#17202a) 14%,transparent);align-content:center!important;position:static!important;min-width:0!important;max-width:none!important;transform:none!important;grid-area:side!important;display:flex!important;align-items:center!important;padding:24px!important;margin:0!important;border-left:1px solid color-mix(in srgb,var(--funnel-text,#17202a) 14%,transparent)!important;min-width:0!important;}
body[class*="funnel-template-"].page-cart .funnel-cart-summary-side>*{width:100%!important;max-width:none!important;margin:0!important;position:static!important;transform:none!important}
body[class*="funnel-template-"].page-cart .cart-summary-action{grid-column:1;grid-row:2;align-self:start;min-width:0!important;padding-top:0!important;justify-content:flex-start!important;align-items:center!important;justify-content:center!important;text-align:center!important;
  grid-area:action!important;
  width:100%!important;
  min-width:0!important;
  align-self:start!important;
  justify-self:stretch!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  grid-area:action!important;
  padding:22px 0 0!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  text-align:center!important;
  min-width:0!important;grid-column:1/-1!important;grid-area:action!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-width:0!important;padding:0 24px 24px!important;border:0!important;text-align:center!important;}
body[class*="funnel-template-"].page-cart .cart-undo-card--inside-summary{grid-column:1/-1!important;position:static!important;margin:0 24px 24px!important}
@media(max-width:860px){
 body[class*="funnel-template-"].page-cart .cart-summary,body[class*="funnel-template-"].page-cart .cart-summary--with-side{grid-template-columns:1fr!important;grid-template-areas:"main" "side" "action"!important}
 body[class*="funnel-template-"].page-cart .cart-summary-main{grid-template-columns:1fr!important;padding:20px!important}
 body[class*="funnel-template-"].page-cart .funnel-cart-summary-side{border-left:0!important;border-top:1px solid color-mix(in srgb,var(--funnel-text,#17202a) 14%,transparent)!important;padding:20px!important}
 body[class*="funnel-template-"].page-cart .cart-summary-action{padding:0 24px 24px!important;padding:0 20px 20px!important;}
}

/* Funnel-Checkout: mobile Artikeldetails kompakt unter dem Produktnamen */
.funnel-checkout-item__copy{min-width:0}
.funnel-checkout-item__copy>strong{display:block}
.funnel-checkout-item__mobile-meta{display:none}
@media(max-width:700px){
  body[class*="funnel-template-"] .funnel-checkout-summary .funnel-checkout-item{
    display:block!important;
  }
  body[class*="funnel-template-"] .funnel-checkout-summary .funnel-checkout-item__desktop-price{
    display:none!important;
  }
  body[class*="funnel-template-"] .funnel-checkout-summary .funnel-checkout-item__mobile-meta{
    display:flex!important;
    align-items:baseline;
    gap:.45rem;
    margin-top:.35rem;
    font-variant-numeric:tabular-nums;
  }
  body[class*="funnel-template-"] .funnel-checkout-summary .funnel-checkout-item__mobile-meta i{
    font-style:normal;
    opacity:.55;
  }
}

/* 1.0.10.24: normale Entwicklungsansicht und KI-Toolbar */
.revenue-chart-card:not(.is-extended) .development-summary{display:none}
.revenue-chart-card:not(.is-extended) .development-metric-controls{display:flex}
.revenue-chart-card.is-extended .development-metric-controls{display:none}
.ai-analysis-toolbar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-top:16px;align-items:end;}
.ai-analysis-start-button,.ai-compare-button{min-height:42px;align-self:end}
.ai-analysis-benefits{max-width:820px;text-align:left}
.ai-analysis-benefits p{margin:.55rem 0;line-height:1.55}

/* 1.0.10.24: Social Proof – klare Bewertungsreihenfolge */
.home-stars,.review-stars,.funnel-review-stars{color:#16a34a!important}
.home-review-meta,.funnel-review-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.home-review-meta>strong,.funnel-review-meta>strong{font-weight:750;}
.home-review-meta>span,.funnel-review-meta>span{color:#15803d;font-weight:800;}
.home-review-title,.funnel-review-title{margin:10px 0 0;font-size:1.05rem;line-height:1.3;}
.home-review-title+blockquote,.funnel-review-title+blockquote{margin-top:1rem!important;}
.home-testimonial blockquote,.funnel-review-card blockquote{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:4!important;overflow:hidden!important;line-height:1.55;max-height:calc(4 * 1.55em)!important;margin-bottom:12px!important;}


.funnel-review-card{display:flex;flex-direction:column}

/* 1.0.10.24: Social Proof – klare Bewertungsreihenfolge */











/* 1.0.10.25 targeted refinements */
.ai-analysis-period label{display:grid;gap:5px;font-weight:700}.ai-analysis-period input{min-width:150px}
.development-metric-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;display:flex;flex-wrap:nowrap;gap:14px;align-items:center;overflow-x:auto;padding-bottom:8px;}.metric-control-returns .metric-color-dot{background:#0f766e}.return-line{stroke:#0f766e}.return-point{fill:#0f766e}
.product-price-fields-aside,.product-availability-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-price-fields-aside>div,.product-availability-settings>div{min-width:0}
.home-stars,.funnel-review-stars{display:block;margin-bottom:8px}.home-review-meta span,.funnel-review-meta span{font-size:calc(1em - 2px);}.home-review-date,.funnel-review-date{align-self:end;justify-self:start;display:block;margin-top:auto;font-size:.78rem;color:#64748b;}
@media(max-width:700px){.ai-analysis-period{flex-direction:column;align-items:stretch}.product-price-fields-aside,.product-availability-settings{grid-template-columns:1fr}}
/* 1.0.10.26: kaufmännische Produktfelder als klare Zweierspalten. Die Trennlinie gehört nur zur Zeile Einkaufspreis/Marge. */
.product-commercial-settings{display:grid;grid-template-columns:1fr 1fr;gap:0;padding-left:18px;border-left:1px solid var(--border,#dfe3ea);align-content:start;text-align:left;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 18px;padding-left:18px;border-left:1px solid var(--border,#dfe3ea);align-content:start;text-align:left;}
.product-commercial-settings>div{min-width:0}

@media(max-width:1150px){.product-commercial-settings{border-left:0;border-top:1px solid var(--border,#dfe3ea);padding:16px 0 0;border-left:0;border-top:1px solid var(--border,#dfe3ea);padding:16px 0 0;}}
@media(max-width:700px){.product-commercial-settings{grid-template-columns:1fr;grid-template-columns:1fr;}.product-commercial-settings>.product-commercial-divider{border-top:0;padding-top:0}.product-commercial-settings>.product-commercial-divider:first-of-type{border-top:1px solid var(--border,#dfe3ea);padding-top:14px}}
/* 1.0.10.26: einheitliche linke Steuerleiste im KI-Analyse-Dialog. */
.ai-analysis-controls{display:grid;gap:12px;padding:0 20px 16px;max-width:680px}
.ai-analysis-filter-row label,.ai-analysis-period label,.ai-analysis-compare-grid label{display:grid;gap:5px;font-weight:700;min-width:0}
.ai-analysis-filter-row select,.ai-analysis-period input,.ai-analysis-compare-grid select{width:100%;min-width:0}
.ai-analysis-period{display:flex;gap:12px;align-items:end;padding:0 20px 12px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(140px,1fr);gap:12px;align-items:end;padding:0;}
.ai-analysis-start-button{width:100%;min-height:42px}
.ai-analysis-compare-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 12px;align-items:end}
.ai-analysis-compare-grid .ai-compare-button{grid-column:1/-1;width:100%;min-height:42px}


@media(max-width:760px){.ai-analysis-controls{max-width:none}.ai-analysis-period,.ai-analysis-compare-grid{grid-template-columns:1fr}.ai-analysis-compare-grid .ai-compare-button{grid-column:auto}}
/* 1.0.10.26: Produktbezeichnung direkt neben den grünen Bewertungssternen. */
.home-review-stars-row,.funnel-review-stars-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.review-product-name{color:#111827;font-weight:400;letter-spacing:normal;font-size:.95rem}
.top-products-sort label{display:flex;align-items:center;gap:8px;font-size:.82rem;font-weight:700}.top-products-sort select{min-width:180px}

/* 1.0.10.28: Bewertungslesbarkeit, Popup und Social-Proof-Spalten */
.home-testimonial blockquote[data-review-text],.funnel-review-card blockquote[data-review-text]{font-size:.85em!important;cursor:default;}
.home-testimonial blockquote.is-review-truncated,.funnel-review-card blockquote.is-review-truncated{cursor:pointer;}
.home-testimonial blockquote.is-review-truncated:hover,.funnel-review-card blockquote.is-review-truncated:hover{text-decoration:none;}
.review-detail-dialog{width:min(540px,calc(100vw - 28px));max-height:min(78vh,700px);padding:0;border:0;border-radius:18px;background:transparent}
.review-detail-dialog::backdrop{background:rgba(15,23,42,.62);backdrop-filter:blur(3px)}
.review-detail-card{position:relative;padding:clamp(24px,5vw,42px);border-radius:inherit;background:var(--funnel-custom-card,var(--home-block-bg,#fff));color:inherit;box-shadow:0 28px 80px rgba(15,23,42,.3)}
.review-detail-card .home-testimonial,.review-detail-card .funnel-review-card{display:flex!important;opacity:1!important;transform:none!important;width:100%!important;max-width:none!important;box-shadow:none!important;border:0!important;padding:0!important;}
.review-detail-card blockquote{display:block!important;max-height:none!important;-webkit-line-clamp:unset!important;overflow:visible!important;cursor:default!important;font-size:.85em!important}
.review-detail-close{position:absolute;right:14px;top:12px;width:36px;height:36px;border:0;border-radius:50%;font-size:24px;line-height:1;background:rgba(15,23,42,.08);cursor:pointer}
.funnel-reviews[data-review-columns="1"] .funnel-review-track{grid-template-columns:minmax(0,1fr)!important}
.funnel-reviews[data-review-columns="2"] .funnel-review-track{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.funnel-reviews[data-review-columns="3"] .funnel-review-track{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(max-width:760px){.funnel-reviews .funnel-review-track{grid-template-columns:1fr!important}}
.development-heading-row .development-mode-switch{margin-left:0}
/* Social-Proof-Auswahl zeigt die gewählte Anzahl gleichzeitig statt als Ein-Karten-Karussell. */
.funnel-reviews[data-review-columns] .funnel-review-track{display:grid!important;transform:none!important;transition:none!important;min-height:0!important;gap:var(--funnel-block-gap,20px)}


/* 1.0.10.29 targeted fixes */
.product-commercial-settings>.product-commercial-divider{border-top:1px solid var(--border,#dfe3ea);padding-top:14px;border-top:0;padding-top:0;}.product-commercial-settings>.product-commercial-divider-start{border-top:1px solid var(--border,#dfe3ea);padding-top:14px}.product-ai-action-separator{height:1px;background:var(--border,#dfe3ea);margin:18px 0 16px;width:100%}.admin-review-create-row{grid-column:1/-1;display:grid;gap:14px}.admin-review-create-row-four{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-review-create-row-three{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-review-create-row>div{min-width:0}.ai-analysis-filter-row select,.ai-analysis-compare-grid select{max-width:190px}.ai-analysis-period-heading{font-weight:700;margin-bottom:-7px}.ai-analysis-period input,.ai-analysis-start-button{width:100%;min-width:0}.ai-analysis-compare-history .ai-compare-button{grid-column:1/-1;width:100%;min-height:36px;padding:7px 10px}.development-heading-row{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;display:flex;align-items:center;gap:12px;flex-wrap:wrap;display:flex;align-items:center;width:100%;gap:12px;}.development-insight-dialog{width:min(900px,calc(100vw - 32px));max-height:88vh;border:0;border-radius:20px;padding:0;box-shadow:0 28px 90px rgba(15,23,42,.35)}.development-insight-dialog::backdrop{background:rgba(15,23,42,.62);backdrop-filter:blur(4px)}.development-insight-shell{padding:22px;max-height:88vh;overflow:auto}.development-insight-shell>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid var(--card-border,#dfe3ea)}
@media(max-width:800px){.admin-review-create-row-four,.admin-review-create-row-three{grid-template-columns:1fr 1fr}.ai-analysis-period-heading{display:none}.ai-analysis-period{grid-template-columns:1fr}.ai-analysis-filter-row{max-width:none}.ai-analysis-filter-row select,.ai-analysis-compare-grid select{max-width:none}}
@media(max-width:520px){.admin-review-create-row-four,.admin-review-create-row-three{grid-template-columns:1fr}}
/* 1.0.10.30: KI-Analyse-Seitenleiste und Diagramm-Auswertung */
.development-period-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.ai-analysis-layout{display:grid;grid-template-columns:280px 1fr;gap:22px;min-height:540px;max-height:70vh;overflow:hidden;margin-top:18px;border-top:1px solid var(--card-border,#dfe3ea);border-top:0;grid-template-columns:300px minmax(0,1fr);margin-top:0;}.ai-analysis-sidebar-controls{display:grid;gap:10px;padding:14px 14px 14px 0;border-bottom:1px solid var(--card-border,#dfe3ea)}.ai-analysis-filter-row{max-width:220px;max-width:none;}.ai-analysis-filter-row select{width:100%;max-width:none}.ai-analysis-history-heading{padding:14px 14px 8px 0}.ai-analysis-history-heading h3{margin:0}.ai-analysis-history{display:grid;gap:8px;flex:1;min-height:0;max-height:350px;overflow:auto;padding-right:10px;}.ai-analysis-compare-history{margin-top:18px;padding-top:14px;border-top:1px solid var(--card-border,#dfe3ea);display:grid;grid-template-columns:1fr 1fr;gap:8px;flex:0 0 auto;margin-top:12px;padding:14px 14px 0 0;background:var(--card-bg,#fff);}.ai-analysis-layout>main{border-left:1px solid var(--card-border,#dfe3ea);padding-left:22px}.ai-analysis-layout>aside{border-right:1px solid var(--card-border,#dfe3ea);padding-top:18px;border-top:1px solid var(--card-border,#dfe3ea);padding-top:18px;display:flex;flex-direction:column;min-height:560px;max-height:70vh;overflow:hidden;border-top:0;padding-top:0;border-right:0!important;}.development-card-head{align-items:flex-start}
@media(max-width:850px){.development-period-actions{align-items:flex-start}.ai-analysis-layout>main{border-left:0;padding-left:0}.ai-analysis-layout>aside{max-height:none}.ai-analysis-history{max-height:340px}}
/* Social-Proof-Effekte auch bei 1–3 gleichzeitig sichtbaren Karten */
.funnel-reviews[data-review-columns] .funnel-review-card{position:relative!important;inset:auto!important;min-width:0!important;width:auto!important;opacity:1!important;pointer-events:auto!important;transform:none!important;position:relative!important;inset:auto!important;opacity:1!important;pointer-events:auto!important;transition:transform .55s ease,opacity .55s ease,filter .55s ease!important;}
.funnel-reviews[data-review-columns].funnel-review-effect-fade .funnel-review-card{animation:funnelReviewFade var(--funnel-motion-duration,900ms) ease both}
.funnel-reviews[data-review-columns].funnel-review-effect-rise .funnel-review-card{animation:funnelReviewRise var(--funnel-motion-duration,900ms) ease both}
.funnel-reviews[data-review-columns].funnel-review-effect-crossfade .funnel-review-card{animation:funnelReviewScale var(--funnel-motion-duration,900ms) ease both}
.funnel-reviews[data-review-columns].funnel-review-effect-stack .funnel-review-card{animation:funnelReviewStack var(--funnel-motion-duration,900ms) ease both}
.funnel-reviews[data-review-columns].funnel-review-effect-slide .funnel-review-card{animation:funnelReviewSlide var(--funnel-motion-duration,900ms) ease both;min-width:0!important}
.funnel-reviews[data-review-columns] .funnel-review-card:nth-child(2){animation-delay:.12s}.funnel-reviews[data-review-columns] .funnel-review-card:nth-child(3){animation-delay:.24s}
@keyframes funnelReviewFade{from{opacity:0;filter:blur(5px)}to{opacity:1;filter:none}}@keyframes funnelReviewRise{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}@keyframes funnelReviewScale{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}}@keyframes funnelReviewStack{from{opacity:0;transform:translate(18px,12px) rotate(1.5deg) scale(.96)}to{opacity:1;transform:none}}@keyframes funnelReviewSlide{from{opacity:0;transform:translateX(34px)}to{opacity:1;transform:none}}

/* 1.0.10.31: KI-Dialog vereinfacht und Social Proof immer einspaltig animiert */
.ai-analysis-shell>header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;border-bottom:1px solid var(--card-border);padding-bottom:16px;margin-bottom:0;border-bottom:0!important;padding-bottom:8px!important;}
.ai-analysis-period-heading,.ai-analysis-period{display:grid;grid-template-columns:minmax(125px,170px) minmax(125px,170px) minmax(125px,170px);gap:10px;align-items:end;grid-template-columns:1fr 1fr 1fr;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;}
.ai-analysis-period .ai-analysis-start-button{grid-column:1/-1;width:100%!important;margin-top:2px}

.funnel-reviews{width:100%}
.funnel-reviews .funnel-review-track{position:relative;display:block!important;min-height:290px;overflow:hidden;transform:none}
.funnel-reviews .funnel-review-card{position:absolute!important;inset:0!important;width:100%!important;min-width:100%!important;margin:0!important;opacity:0;pointer-events:none;visibility:hidden;transition:opacity .7s cubic-bezier(.22,.8,.24,1),transform .7s cubic-bezier(.22,.8,.24,1),filter .7s cubic-bezier(.22,.8,.24,1);will-change:opacity,transform,filter;backface-visibility:hidden}
.funnel-reviews .funnel-review-card.is-active{opacity:1;pointer-events:auto;visibility:visible}
.funnel-review-effect-fade .funnel-review-card{transform:none}
.funnel-review-effect-crossfade .funnel-review-card{transform:scale(.97)}
.funnel-review-effect-crossfade .funnel-review-card.is-active{transform:scale(1)}
.funnel-review-effect-rise .funnel-review-card{transform:translateY(34px)}
.funnel-review-effect-rise .funnel-review-card.is-active{transform:translateY(0)}
.funnel-review-effect-stack .funnel-review-card{transform:translate(18px,14px) scale(.96) rotate(1deg)}
.funnel-review-effect-stack .funnel-review-card.is-active{transform:none}
.funnel-review-effect-zoom .funnel-review-card{transform:scale(.86)}
.funnel-review-effect-zoom .funnel-review-card.is-active{transform:scale(1)}
.funnel-review-effect-flip .funnel-review-card{transform:perspective(1100px) rotateY(72deg) scale(.98);transform-origin:center left}
.funnel-review-effect-flip .funnel-review-card.is-active{transform:perspective(1100px) rotateY(0) scale(1)}
.funnel-review-effect-swing .funnel-review-card{transform:translateX(-34px) rotate(-2.2deg);transform-origin:top center}
.funnel-review-effect-swing .funnel-review-card.is-active{transform:translateX(0) rotate(0)}
.funnel-review-effect-blur .funnel-review-card{filter:blur(13px);transform:scale(1.025)}
.funnel-review-effect-blur .funnel-review-card.is-active{filter:blur(0);transform:scale(1)}
.funnel-review-effect-slide .funnel-review-track{display:flex!important;overflow:hidden;transition:transform .7s cubic-bezier(.22,.8,.24,1);transform:translateX(calc(var(--review-index,0) * -100%))}
.funnel-review-effect-slide .funnel-review-card{position:relative!important;inset:auto!important;flex:0 0 100%;visibility:visible;opacity:1;pointer-events:auto}
@media (prefers-reduced-motion:reduce){.funnel-reviews .funnel-review-card,.funnel-review-effect-slide .funnel-review-track{transition:none!important}}


/* Admin save feedback: always opaque and unambiguous */
body.admin-page .admin-toast.success,
body.admin-page .admin-toast.flash.success{background:#15803d!important;color:#fff!important;border:1px solid #166534!important;opacity:1!important;backdrop-filter:none!important}
body.admin-page .admin-toast.error,
body.admin-page .admin-toast.flash.error{background:#b91c1c!important;color:#fff!important;border:1px solid #991b1b!important;opacity:1!important;backdrop-filter:none!important}
body.admin-page .admin-toast.success::before{content:"✓";margin-right:8px;font-weight:900}
body.admin-page .admin-toast.error::before{content:"!";display:inline-grid;place-items:center;width:18px;height:18px;margin-right:8px;border:2px solid currentColor;border-radius:50%;font-size:12px;font-weight:900;line-height:1}

/* Funnel-Bewertungsseite */
.review-funnel-standalone{min-height:100vh;margin:0;background:
 radial-gradient(circle at 12% 10%,color-mix(in srgb,var(--funnel-primary) 22%,transparent),transparent 32%),
 radial-gradient(circle at 88% 88%,color-mix(in srgb,var(--funnel-accent) 18%,transparent),transparent 28%),
 var(--funnel-surface);color:var(--funnel-text);font-family:var(--funnel-body-font,system-ui,sans-serif)}
.review-invitation-page{min-height:100vh;display:grid;place-items:center;padding:clamp(28px,6vw,72px) 20px;box-sizing:border-box}
.review-invitation-shell{width:min(880px,100%)}
.review-invitation-intro{text-align:center;max-width:700px;margin:0 auto 28px}
.review-invitation-intro h1{margin:10px 0 12px;font-family:var(--funnel-heading-font,inherit);font-size:clamp(2rem,5vw,4rem);line-height:1.02;letter-spacing:-.04em}
.review-invitation-intro p{margin:0;color:var(--funnel-muted,#64748b);font-size:clamp(1rem,2vw,1.15rem)}
.review-invitation-kicker{display:inline-flex;padding:7px 11px;border-radius:999px;background:color-mix(in srgb,var(--funnel-accent) 16%,transparent);color:var(--funnel-accent);font-size:.78rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.review-invitation-card{background:var(--funnel-card,#fff);color:var(--funnel-text,#17202a);border:var(--funnel-border-width,1px) solid var(--funnel-border,#dbe3ed);border-radius:var(--funnel-card-radius,20px);box-shadow:0 28px 80px color-mix(in srgb,var(--funnel-secondary,#111827) 18%,transparent);padding:clamp(22px,4vw,44px)}
.review-invitation-product{display:grid;grid-template-columns:88px 1fr;gap:18px;align-items:center;padding-bottom:24px;margin-bottom:28px;border-bottom:1px solid color-mix(in srgb,var(--funnel-border,#dbe3ed) 75%,transparent)}
.review-invitation-product img,.review-invitation-product-placeholder{width:88px;height:88px;border-radius:calc(var(--funnel-card-radius,20px) * .65);object-fit:cover;background:color-mix(in srgb,var(--funnel-primary) 12%,var(--funnel-card));display:grid;place-items:center;color:var(--funnel-accent);font-size:2rem}
.review-invitation-product span,.review-invitation-product small{display:block;color:var(--funnel-muted,#64748b)}
.review-invitation-product strong{display:block;margin:4px 0 6px;font-size:1.2rem}
.review-invitation-form{display:grid;gap:22px}
.review-rating-field{border:0;padding:0;margin:0}.review-rating-field legend,.review-field label{font-weight:800;margin-bottom:9px;display:block}
.review-star-input{display:inline-flex;flex-direction:row-reverse;justify-content:flex-end;gap:5px}
.review-star-input input{position:absolute;opacity:0;pointer-events:none}.review-star-input label{cursor:pointer;font-size:clamp(2rem,7vw,3rem);line-height:1;color:color-mix(in srgb,var(--funnel-border,#cbd5e1) 82%,transparent);transition:color .18s ease,transform .18s ease}
.review-star-input label:hover,.review-star-input label:hover~label,.review-star-input input:checked~label{color:var(--funnel-accent,#eab308)}
.review-star-input label:hover{transform:translateY(-2px) scale(1.05)}
.review-field input,.review-field textarea{width:100%;box-sizing:border-box;border:1px solid var(--funnel-border,#cbd5e1);border-radius:min(14px,var(--funnel-card-radius,14px));background:color-mix(in srgb,var(--funnel-card,#fff) 94%,var(--funnel-surface,#f8fafc));color:var(--funnel-text,#17202a);padding:14px 16px;font:inherit;outline:none;transition:border-color .18s ease,box-shadow .18s ease}
.review-field input:focus,.review-field textarea:focus{border-color:var(--funnel-primary);box-shadow:0 0 0 4px color-mix(in srgb,var(--funnel-primary) 16%,transparent)}
.review-field textarea{resize:vertical;min-height:180px;line-height:1.6}.review-field small{display:block;margin-top:7px;color:var(--funnel-muted,#64748b)}
.review-field-heading{display:flex;justify-content:space-between;gap:16px;align-items:center}.review-field-heading span{font-size:.84rem;color:var(--funnel-muted,#64748b);font-weight:750}.review-field-heading span.is-valid{color:var(--funnel-success,#15803d)}
.review-confirmation{display:flex;gap:11px;align-items:flex-start;min-width:0;max-width:100%;font-size:.93rem;color:var(--funnel-muted,#64748b)}.review-confirmation input{flex:0 0 auto!important;width:auto!important;min-width:0!important;margin-top:3px;accent-color:var(--funnel-primary)}.review-confirmation span{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal}
.review-submit-button{width:100%;justify-content:center;padding:14px 20px;font-size:1rem}
.review-privacy-note{text-align:center;margin:0;color:var(--funnel-muted,#64748b);font-size:.82rem}
.review-invitation-alert{padding:13px 15px;border-radius:12px;margin-bottom:20px;font-weight:750}.review-invitation-alert.is-error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.review-invitation-alert.is-success{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}
.review-invitation-success,.review-invitation-invalid{text-align:center;padding:18px 0}.review-invitation-success>span,.review-invitation-invalid>span{width:66px;height:66px;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px;font-size:2rem;font-weight:900}.review-invitation-success>span{background:color-mix(in srgb,var(--funnel-success,#15803d) 16%,transparent);color:var(--funnel-success,#15803d)}.review-invitation-invalid>span{background:#fee2e2;color:#991b1b}.review-invitation-success h2,.review-invitation-invalid h2{margin:0 0 10px}.review-invitation-success p,.review-invitation-invalid p{color:var(--funnel-muted,#64748b);margin:0 auto;max-width:560px}
@media(max-width:620px){.review-invitation-page{padding-inline:12px;max-width:100%;overflow-x:clip}.review-invitation-shell,.review-invitation-card,.review-invitation-form,.review-field,.review-confirmation{min-width:0;max-width:100%}.review-invitation-card{box-sizing:border-box}.review-invitation-product{grid-template-columns:64px minmax(0,1fr)}.review-invitation-product img,.review-invitation-product-placeholder{width:64px;height:64px}.review-field-heading{align-items:flex-start;flex-direction:column;gap:0}}
.funnel-review-status-card>.form-grid{margin-bottom:0}.funnel-review-preview{padding-top:0;border-top:0}.funnel-review-preview .review-invitation-page{min-height:0;padding:28px 16px;border-radius:16px;background:var(--funnel-surface)}.funnel-review-preview .review-invitation-shell{max-width:760px}.funnel-review-preview .review-invitation-intro h1{font-size:clamp(1.7rem,4vw,3rem)}.funnel-review-preview .preview-stars{font-size:1.75rem;color:var(--funnel-accent);letter-spacing:.08em}.funnel-review-preview textarea{resize:none}

/* Funnelblock: optional die gesamte verfügbare Inhaltsbreite nutzen */
body[class*="funnel-template-"] .funnel-section.funnel-content-width-full>.container{width:calc(100% - 40px);max-width:none}
@media(max-width:640px){body[class*="funnel-template-"] .funnel-section.funnel-content-width-full>.container{width:calc(100% - 24px)}}

/* 1.0.10.41: Newsletter-Funnelblock – verlässliche Farbflächen, saubere Rundungen und Ausrichtung */
body[class*="funnel-template-"] .funnel-type-newsletter{
  position:relative;
  background:var(--funnel-newsletter-background,transparent);
  color:var(--funnel-newsletter-text,inherit);
  border-radius:var(--funnel-newsletter-radius,18px);
  overflow:hidden;
  background-clip:padding-box;
}
body[class*="funnel-template-"] .funnel-type-newsletter>.container{
  position:relative;
  background:transparent;
}
body[class*="funnel-template-"] .funnel-type-newsletter .funnel-newsletter-card{
  width:100%;
  box-sizing:border-box;
  background:var(--funnel-newsletter-card,var(--funnel-card,#fff))!important;
  color:var(--funnel-newsletter-text,inherit)!important;
  border:var(--funnel-newsletter-border,0) solid color-mix(in srgb,var(--funnel-newsletter-accent,currentColor) 28%,transparent)!important;
  border-radius:var(--funnel-newsletter-radius,18px)!important;
  padding:clamp(22px,4vw,48px)!important;
  overflow:hidden;
  background-clip:padding-box;
}
body[class*="funnel-template-"] .funnel-type-newsletter .btn,
body[class*="funnel-template-"] .funnel-type-newsletter button[type="submit"]{
  background:var(--funnel-newsletter-accent,var(--funnel-accent,#2563eb))!important;
  border-color:var(--funnel-newsletter-accent,var(--funnel-accent,#2563eb))!important;
}
body[class*="funnel-template-"] .funnel-type-newsletter a,
body[class*="funnel-template-"] .funnel-type-newsletter .newsletter-stage-content>p:first-child,
body[class*="funnel-template-"] .funnel-type-newsletter .newsletter-stage-content>strong:first-child{
  color:var(--funnel-newsletter-accent,var(--funnel-accent,currentColor));
}
body[class*="funnel-template-"] .funnel-newsletter-align-left .funnel-newsletter-card{margin-left:0;margin-right:auto;text-align:left}
body[class*="funnel-template-"] .funnel-newsletter-align-center .funnel-newsletter-card{margin-left:auto;margin-right:auto;text-align:center}
body[class*="funnel-template-"] .funnel-newsletter-align-right .funnel-newsletter-card{margin-left:auto;margin-right:0;text-align:right}
body[class*="funnel-template-"] .funnel-newsletter-align-right .home-newsletter-form{margin-left:auto;margin-right:0;}
body[class*="funnel-template-"] .funnel-content-width-full.funnel-newsletter-align-left .funnel-newsletter-card,
body[class*="funnel-template-"] .funnel-content-width-full.funnel-newsletter-align-center .funnel-newsletter-card,
body[class*="funnel-template-"] .funnel-content-width-full.funnel-newsletter-align-right .funnel-newsletter-card{
  max-width:var(--funnel-newsletter-card-max,1080px);
}
body[class*="funnel-template-"] .funnel-content-width-full.funnel-newsletter-width-medium .funnel-newsletter-card{--funnel-newsletter-card-max:820px}
body[class*="funnel-template-"] .funnel-content-width-full.funnel-newsletter-width-wide .funnel-newsletter-card{--funnel-newsletter-card-max:1080px}
@media(max-width:640px){
 body[class*="funnel-template-"] .funnel-type-newsletter{border-radius:min(var(--funnel-newsletter-radius,18px),24px)}
 body[class*="funnel-template-"] .funnel-type-newsletter .funnel-newsletter-card{max-width:none!important;text-align:left}
}

/* 1.0.10.43: Funnelblock-Farben haben Vorrang vor Template-Defaults; gerundete Außenflächen bleiben sauber. */
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom{
  position:relative;
  isolation:isolate;
  border-radius:var(--funnel-block-radius,18px)!important;
  overflow:hidden!important;
  background-clip:padding-box!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom[style*="--funnel-background-mode:color"]{
  background:var(--funnel-custom-bg,var(--funnel-surface,#fff))!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom[style*="--funnel-background-mode:gradient"]{
  background:linear-gradient(135deg,var(--funnel-custom-bg,var(--funnel-surface,#fff)),var(--funnel-custom-bg-end,var(--funnel-custom-bg,var(--funnel-surface,#fff))))!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom>.container{
  position:relative;
  z-index:1;
  background:transparent!important;
  border-radius:inherit;
}
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-item,
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-guarantee-card,
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-accordion-item,
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-comparison,
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-countdown>div{
  background:var(--funnel-custom-card,var(--funnel-card,#fff))!important;
  border-color:color-mix(in srgb,var(--funnel-custom-accent,var(--funnel-accent,#2563eb)) 35%,transparent)!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-eyecatcher-text,
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-step-number,
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-stat-value,
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-guarantee-icon{
  color:var(--funnel-custom-accent,var(--funnel-accent,#2563eb))!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-step-number,
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-guarantee-icon{
  background:var(--funnel-custom-accent,var(--funnel-accent,#2563eb))!important;
  color:#fff!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .btn,
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom button[type="submit"]{
  background:var(--funnel-custom-accent,var(--funnel-accent,#2563eb))!important;
  border-color:var(--funnel-custom-accent,var(--funnel-accent,#2563eb))!important;
}
/* Die Fläche außerhalb der Rundung wird nicht von einem Template-Pseudo-Element eingefärbt. */
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom::before,
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom::after{
  border-radius:inherit!important;
  overflow:hidden!important;
  background-clip:padding-box!important;
}

/* 1.0.10.44: Bewertungsseiten-Konfiguration – Inhalte links, Statusseiten und Vorschau rechts */

.funnel-review-admin-grid>section:nth-of-type(1){grid-area:content}
.funnel-review-status-card{display:flex;flex-direction:column;gap:18px;grid-area:status;}
.funnel-review-preview-card{grid-column:1/-1;grid-area:preview;grid-column:auto;}


/* 1.0.10.45: Social-Proof-Farben semantisch trennen. */
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-review-card{
  background:var(--funnel-custom-card,var(--funnel-card,#fff))!important;
  border-color:var(--funnel-review-border,#e2e8f0)!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-review-stars{
  color:var(--funnel-review-stars,#16a34a)!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-review-meta span{
  color:var(--funnel-review-verified,#15803d)!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-review-title,
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom> .container > h2,
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-section-header h2{
  color:var(--funnel-custom-accent,var(--funnel-accent,#2563eb));
}

/* 1.0.10.46: Social-Proof-Rundungen verwenden ausschließlich die Blockfläche. */


body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom > .container,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-section-heading,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-section-content,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-reviews,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-review-track{
  background:transparent!important;
  background-color:transparent!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom[style*="--funnel-background-mode:color"]{
  background-color:var(--funnel-custom-bg,var(--funnel-surface,#fff))!important;
  background-image:none!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom[style*="--funnel-background-mode:gradient"]{
  background-color:var(--funnel-custom-bg,var(--funnel-surface,#fff))!important;
  background-image:linear-gradient(135deg,var(--funnel-custom-bg,var(--funnel-surface,#fff)),var(--funnel-custom-bg-end,var(--funnel-custom-bg,var(--funnel-surface,#fff))))!important;
}
nn/* 1.0.10.47: Bewertungsseite – feste rechte Spalte mit Statusseiten und Vorschau */
.funnel-review-admin-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(360px,1fr)!important;
  gap:18px!important;
  align-items:start!important;
  grid-template-areas:none!important;
}


.funnel-review-side-column>.funnel-review-status-card,
.funnel-review-side-column>.funnel-review-preview-card{
  grid-column:1!important;
  grid-area:auto!important;
  width:100%!important;
  min-width:0!important;
}
.funnel-review-side-column>.funnel-review-preview-card{
  margin:0!important;
}
@media(max-width:900px){
  .funnel-review-admin-grid{grid-template-columns:1fr;
    grid-template-columns:1fr;
    grid-template-areas:
      "content"
      "status"
      "preview";
    grid-template-columns:minmax(0,1fr)!important;}
  
}


/* 1.0.10.48: Funnelblock-Farbrollen und Darstellungsoptionen verbindlich anwenden. */
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-review-title{
  color:var(--funnel-review-title,var(--funnel-text,#17202a))!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom.funnel-block-shadow-none{
  box-shadow:none!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom.funnel-block-shadow-soft{
  box-shadow:0 14px 38px rgba(15,23,42,.14)!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom.funnel-block-shadow-strong{
  box-shadow:0 26px 72px rgba(15,23,42,.26)!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-newsletter.funnel-background-color{
  background:var(--funnel-newsletter-background,var(--funnel-surface,#fff))!important;
  background-image:none!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-newsletter.funnel-background-gradient{
  background:var(--funnel-newsletter-background,linear-gradient(135deg,var(--funnel-surface,#fff),var(--funnel-accent,#2563eb)))!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-newsletter.funnel-block-shadow-none{
  box-shadow:none!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-newsletter.funnel-block-shadow-soft{
  box-shadow:0 14px 38px rgba(15,23,42,.14)!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-newsletter.funnel-block-shadow-strong{
  box-shadow:0 26px 72px rgba(15,23,42,.26)!important;
}


/* 1.0.10.49: Bewertungsseite – linke Inhalte-Box bis zur Unterkante des Live Builders. */
.funnel-review-admin-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  grid-template-areas:
    "content status"
    "content preview";
  align-items:start;
  align-items:stretch!important;}
.funnel-review-admin-grid>section:first-child{
  grid-column:1!important;
  grid-row:1!important;
  height:100%!important;
  align-self:stretch!important;}
.funnel-review-side-column{
  grid-column:2!important;
  grid-row:1!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:18px!important;
  align-content:start!important;
  min-width:0!important;
  height:100%!important;}
.funnel-review-product-toggle{
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  width:auto!important;
  margin:0!important;
  text-align:left!important;
  white-space:nowrap!important;
}
.funnel-review-product-toggle input[type="checkbox"]{
  order:0!important;
  flex:0 0 auto!important;
  width:18px!important;
  height:18px!important;
  margin:0!important;
}
.funnel-review-product-toggle span{
  order:1!important;
}
@media(max-width:900px){
  .funnel-review-admin-grid>section:first-child,
  .funnel-review-side-column{
    grid-column:1!important;
    grid-row:auto!important;height:auto!important;}
}

/* 1.0.10.50: Social Proof – Blockfläche und Bewertungskarte sind getrennte Ebenen. */

body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom>.funnel-social-proof-shell{
  position:relative;
  box-sizing:border-box;
  width:min(calc(100% - 40px),var(--funnel-block-width,1180px));
  max-width:var(--funnel-block-width,1180px)!important;
  margin-inline:auto;
  padding:var(--funnel-block-padding,80px) clamp(20px,4vw,56px)!important;
  border:var(--funnel-block-border,0) solid var(--funnel-review-border,transparent);
  border-radius:var(--funnel-block-radius,18px)!important;
  overflow:hidden!important;
  background:var(--funnel-surface,#fff)!important;
  background-clip:padding-box!important;
  isolation:isolate;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-background-color>.funnel-social-proof-shell{
  background:var(--funnel-custom-bg,var(--funnel-surface,#fff))!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-background-gradient>.funnel-social-proof-shell{
  background:linear-gradient(135deg,var(--funnel-custom-bg,var(--funnel-surface,#fff)),var(--funnel-custom-bg-end,var(--funnel-custom-bg,var(--funnel-surface,#fff))))!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-block-shadow-none>.funnel-social-proof-shell{box-shadow:none!important}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-block-shadow-soft>.funnel-social-proof-shell{box-shadow:0 14px 38px rgba(15,23,42,.14)!important}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-block-shadow-strong>.funnel-social-proof-shell{box-shadow:0 26px 72px rgba(15,23,42,.26)!important}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom>.funnel-social-proof-shell::before,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom>.funnel-social-proof-shell::after{
  content:none!important;
  display:none!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-section-heading,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-section-layout,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-section-content,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-reviews,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-review-track{
  background:transparent!important;
  box-shadow:none!important;
}

@media(max-width:640px){
  body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom>.funnel-social-proof-shell{
    width:min(calc(100% - 24px),var(--funnel-block-width,1180px));
    padding:clamp(28px,var(--funnel-block-padding,56px),72px) 18px!important;
  }
}

/* 1.0.10.52: Social Proof – Außenbreite wie übrige Funnelblöcke; Rahmenstärke nur auf Bewertungsinhalt. */


body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-review-card{
  box-sizing:border-box!important;
  overflow:hidden!important;
  background:var(--funnel-custom-card,var(--funnel-card,#fff))!important;
  background-clip:padding-box!important;
  border-color:var(--funnel-review-border,#e2e8f0)!important;
  border-radius:var(--funnel-card-radius,var(--funnel-block-radius,18px))!important;
  box-shadow:none!important;
  border-width:var(--funnel-block-border,0)!important;
  border-style:solid!important;
  border-color:var(--funnel-review-border,#e2e8f0)!important;}


/* 1.0.10.53: Social Proof verwendet dieselbe Abschnittsstruktur wie alle übrigen Funnelblöcke. */

body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-background-color,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom[style*="--funnel-background-mode:color"]{
  background:var(--funnel-custom-bg,var(--funnel-surface,#fff))!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-background-gradient,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom[style*="--funnel-background-mode:gradient"]{
  background:linear-gradient(135deg,var(--funnel-custom-bg,var(--funnel-surface,#fff)),var(--funnel-custom-bg-end,var(--funnel-custom-bg,var(--funnel-surface,#fff))))!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-block-shadow-none{box-shadow:none!important}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-block-shadow-soft{box-shadow:0 14px 38px rgba(15,23,42,.14)!important}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-block-shadow-strong{box-shadow:0 26px 72px rgba(15,23,42,.26)!important}



@media(max-width:640px){
  body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom{
    padding:clamp(28px,var(--funnel-block-padding,56px),72px) 0!important;
  }
  
}

/* 1.0.10.56: Social Proof ohne sichtbaren äußeren Container.
   Der bisherige .container-Wrapper nimmt nicht mehr am Box-Layout teil;
   nur Überschrift, Bewertungsinhalt und Bild bleiben im normalen Funnel-Fluss. */
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom{
  border-radius:var(--funnel-block-radius,18px)!important;
  overflow:hidden!important;
  background-origin:border-box!important;
  background-clip:border-box!important;
  box-shadow:none;
  padding:0!important;
  border-radius:0!important;
  overflow:visible!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  isolation:auto!important;
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  margin-inline:0!important;
  padding:var(--funnel-block-padding,80px) 0!important;
  border:0!important;
  border-radius:var(--funnel-block-radius,18px)!important;
  overflow:hidden!important;
  background:var(--funnel-surface,#fff)!important;
  background-clip:border-box!important;
  isolation:isolate!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:var(--funnel-block-padding,80px) 0!important;
  border:0!important;
  border-radius:0!important;
  overflow:visible!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  isolation:auto!important;}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom::before,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom::after{
  content:none!important;
  display:none!important;
  background:none!important;
  content:none!important;
  display:none!important;}


body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-content-width-full > .funnel-social-proof-shell > .funnel-section-heading,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-content-width-full > .funnel-social-proof-shell > .funnel-section-layout{
  width:calc(100% - 40px)!important;
  max-width:none!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-section-content,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-section-media,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-reviews,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-review-track{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
}
@media(max-width:640px){
  body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom > .funnel-social-proof-shell > .funnel-section-heading,
  body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom > .funnel-social-proof-shell > .funnel-section-layout,
  body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-content-width-full > .funnel-social-proof-shell > .funnel-section-heading,
  body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-content-width-full > .funnel-social-proof-shell > .funnel-section-layout{
    width:calc(100% - 24px)!important;
  }
}


/* 1.0.10.57: Social Proof übernimmt die regulären Funnel-Ausrichtungssettings. */
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-header-align-left .funnel-section-heading{
  margin-left:0!important;
  margin-right:auto!important;
  align-items:flex-start!important;
  text-align:left!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-header-align-center .funnel-section-heading{
  margin-left:auto!important;
  margin-right:auto!important;
  align-items:center!important;
  text-align:center!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-header-align-right .funnel-section-heading{
  margin-left:auto!important;
  margin-right:0!important;
  align-items:flex-end!important;
  text-align:right!important;
}



body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-layout-split .funnel-section-layout{
  grid-template-columns:minmax(0,1.08fr) minmax(280px,.92fr)!important;
  grid-template-areas:"content media"!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-layout-split_reverse .funnel-section-layout{
  grid-template-columns:minmax(280px,.92fr) minmax(0,1.08fr)!important;
  grid-template-areas:"media content"!important;
}

body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-section-media{grid-area:media!important}
@media(max-width:800px){
  body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-layout-split .funnel-section-layout,
  body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-layout-split_reverse .funnel-section-layout{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:"content" "media"!important;
  }
}


/* Social Proof verwendet die reguläre Überschriften- und Inhaltsausrichtung. */
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-section-layout{
  width:100%!important;
  max-width:none!important;
  width:min(calc(100% - 40px),var(--funnel-block-width,1180px))!important;
  max-width:var(--funnel-block-width,1180px)!important;}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-content-width-full .funnel-section-layout{
  width:calc(100% - 40px)!important;
  max-width:none!important;
}
@media(max-width:640px){
  body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-section-layout,
  body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-content-width-full .funnel-section-layout{
    width:calc(100% - 24px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}


/* 1.0.10.59: Sammelauswahl für alle Funnelbewertungen. */
.funnel-product-choice-all-reviews>span{
  grid-template-columns:minmax(0,1fr);
  border-color:#dc2626;
  background:#fff7f7;
}
.funnel-product-choice-all-reviews strong,
.funnel-product-choice-all-reviews small{
  color:#c00000!important;
  white-space:normal;
}
.funnel-product-choice-all-reviews input:checked+span{
  border-color:#b91c1c;
  background:#fff0f0;
  box-shadow:0 0 0 2px rgba(185,28,28,.16);
}


/* 1.0.10.59.3: Social Proof verwendet wieder exakt den normalen Funnel-Container.
   display:contents hatte die Template-Standard-Ausrichtung und Container-Margins aufgehoben. */
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom > .funnel-social-proof-shell{
  width:min(calc(100% - 40px),var(--funnel-container))!important;
  max-width:var(--funnel-block-width,1180px)!important;
  margin-inline:auto!important;
  border:0!important;
  box-sizing:border-box!important;
  width:min(calc(100% - 40px),var(--funnel-block-width,1180px))!important;
  max-width:var(--funnel-block-width,1180px)!important;
  margin-inline:auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  overflow:visible!important;
  background:transparent!important;
  box-shadow:none!important;
  isolation:auto!important;
  display:contents!important;
  display:block!important;
  box-sizing:border-box!important;
  width:min(calc(100% - 40px),var(--funnel-block-width,var(--funnel-container,1180px)))!important;
  max-width:var(--funnel-block-width,var(--funnel-container,1180px))!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-content-width-full > .funnel-social-proof-shell{
  width:calc(100% - 40px)!important;
  max-width:none!important;
  width:calc(100% - 40px)!important;
  max-width:var(--funnel-container,1600px)!important;}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom > .funnel-social-proof-shell > .funnel-section-heading,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom > .funnel-social-proof-shell > .funnel-section-layout{
  box-sizing:border-box!important;
  width:min(calc(100% - 40px),var(--funnel-block-width,1180px))!important;
  max-width:var(--funnel-block-width,1180px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;}
/* Die Überschrift erhält wie bei den übrigen Blöcken die Template-Textbreite. */
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom > .funnel-social-proof-shell > .funnel-section-heading{
  max-width:var(--funnel-text-width,720px)!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-header-align-center > .funnel-social-proof-shell > .funnel-section-heading{
  margin-left:auto!important;
  margin-right:auto!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-header-align-right > .funnel-social-proof-shell > .funnel-section-heading{
  margin-left:auto!important;
  margin-right:0!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-header-align-left > .funnel-social-proof-shell > .funnel-section-heading{
  margin-left:0!important;
  margin-right:auto!important;
}
@media(max-width:640px){
  body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom > .funnel-social-proof-shell,
  body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-content-width-full > .funnel-social-proof-shell{
    width:calc(100% - 24px)!important;
    width:calc(100% - 24px)!important;
    width:calc(100% - 24px)!important;}
}

/* 1.0.10.59.4: Social Proof nutzt exakt den regulären Funnel-Container.
   Keine zusätzliche Shell/Box; Ausrichtung und Breite folgen den Standardregeln. */
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom > .container{
  box-sizing:border-box!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom > .container::before,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom > .container::after{
  content:none!important;
  display:none!important;
}

/* 1.0.10.59.4.1: Social-Proof-Bewertungsbox folgt der Inhaltsausrichtung sichtbar. */






/* 1.0.10.59.4.1.1: "Ausrichtung Inhalt" positioniert beim Social-Proof-Block
   die Bewertungsbox, nicht den Text innerhalb der Karte. */

body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-align-left .funnel-section-content{
  margin-left:0!important;
  margin-right:auto!important;
  text-align:left!important;
  align-items:flex-start!important;}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-align-center .funnel-section-content{
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
  align-items:center!important;}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-align-right .funnel-section-content{
  margin-left:auto!important;
  margin-right:0!important;
  text-align:right!important;
  align-items:flex-end!important;}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-reviews,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-review-empty,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-review-card{
  text-align:left!important;
}
@media(max-width:800px){
  body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-section-content{
    align-items:stretch!important;
  }
}

/* 1.0.10.59.4.1.2: Die Inhaltsausrichtung positioniert die gesamte
   Social-Proof-Bewertungsbox. Frühere Regeln ließen die Box 100 % der
   verfügbaren Inhaltsspalte belegen; dadurch waren links/mitte/rechts
   optisch identisch. */
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-section-content{grid-area:content!important;
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  text-align:left!important;
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  text-align:left!important;}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-reviews,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-review-empty{
  width:min(100%,720px)!important;
  max-width:720px!important;
  box-sizing:border-box!important;
  width:min(88%,720px)!important;
  max-width:720px!important;
  flex:0 0 auto!important;
  align-self:flex-start!important;
  margin-left:0!important;
  margin-right:0!important;}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-align-left .funnel-reviews,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-align-left .funnel-review-empty{
  margin-left:0!important;
  margin-right:auto!important;
  align-self:flex-start!important;}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-align-center .funnel-reviews,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-align-center .funnel-review-empty{
  margin-left:auto!important;
  margin-right:auto!important;
  align-self:center!important;}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-align-right .funnel-reviews,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-align-right .funnel-review-empty{
  margin-left:auto!important;
  margin-right:0!important;
  align-self:flex-end!important;}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-review-card,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-review-card *{
  text-align:left!important;
}
@media(max-width:800px){
  body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-reviews,
  body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom .funnel-review-empty{
    width:100%!important;
    max-width:none!important;
    width:100%!important;
    max-width:none!important;
    align-self:stretch!important;}
}


/* 1.0.10.59.4.1.3: Ohne Produktbild nutzt Social Proof die komplette
   reguläre Inhaltsbreite. Erst dadurch kann die Bewertungsbox wie die
   Überschrift tatsächlich links, mittig oder rechts am Container stehen. */
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-no-media .funnel-section-layout{
  display:block!important;
  grid-template-columns:none!important;
  width:100%!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-no-media .funnel-section-content{
  width:100%!important;
  max-width:none!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-no-media.funnel-align-left .funnel-reviews,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-no-media.funnel-align-left .funnel-review-empty{
  margin-left:0!important;
  margin-right:auto!important;
  align-self:flex-start!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-no-media.funnel-align-center .funnel-reviews,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-no-media.funnel-align-center .funnel-review-empty{
  margin-left:auto!important;
  margin-right:auto!important;
  align-self:center!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-no-media.funnel-align-right .funnel-reviews,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-no-media.funnel-align-right .funnel-review-empty{
  margin-left:auto!important;
  margin-right:0!important;
  align-self:flex-end!important;
}

/* 1.0.10.59.4.1.4: Social Proof folgt bei mittiger Überschrift und
   mittiger Inhaltsausrichtung derselben Mittelachse. Die Bewertungsbox
   steht direkt unter der Überschrift; ihr eigener Text bleibt linksbündig. */
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-header-align-center.funnel-align-center .funnel-section-layout{
  grid-template-columns:minmax(0,1fr)!important;
  justify-items:center!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-header-align-center.funnel-align-center .funnel-section-content{
  order:1!important;
  width:100%!important;
  align-items:center!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-header-align-center.funnel-align-center .funnel-reviews,
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-header-align-center.funnel-align-center .funnel-review-empty{
  align-self:center!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-reviews.funnel-phase-custom.funnel-header-align-center.funnel-align-center .funnel-section-media{
  order:2!important;
  justify-self:center!important;
}

/* Die Vertrauenszeile übernimmt für jeden Funnelblock dieselbe
   Inhaltsausrichtung wie der übrige Blockinhalt. */
body[class*="funnel-template-"] .funnel-section.funnel-align-left .funnel-trust-line{
  justify-content:flex-start!important;
  text-align:left!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-align-center .funnel-trust-line{
  justify-content:center!important;
  text-align:center!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-align-right .funnel-trust-line{
  justify-content:flex-end!important;
  text-align:right!important;
}
.shipping-provider-list{display:grid;gap:10px;margin-bottom:20px}.shipping-provider-row{display:grid;grid-template-columns:auto 110px 1fr auto;gap:16px;align-items:center;cursor:pointer}.shipping-provider-row>input{width:auto}.shipping-provider-row img,.shipping-provider-config-head img{width:110px;height:42px;object-fit:contain}.shipping-provider-row span{display:grid}.shipping-provider-row small{color:var(--muted,#667085)}.shipping-provider-row.is-active{border-color:var(--primary,#111827);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary,#111827) 14%,transparent)}.shipping-provider-form{display:grid;gap:20px}.shipping-provider-config-head{display:flex;gap:18px;align-items:center;margin-bottom:18px}.shipping-provider-save{display:flex;justify-content:flex-end}.provider-fixed-value{padding:11px 12px;border:1px solid var(--border,#dfe3ea);border-radius:10px;background:var(--surface-soft,#f5f7fa);font-weight:800}.shipping-label-actions{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:650px){.shipping-provider-row{grid-template-columns:auto 85px 1fr}.shipping-provider-row>b{grid-column:2/4}.shipping-provider-row img{width:85px}}
.shipping-active-provider-pill{background:#dcfce7!important;color:#166534!important;border:1px solid #86efac}.shipping-provider-picker-card{margin-bottom:0}.shipping-provider-option:hover{border-color:#94a3b8;transform:translateY(-1px)}.shipping-provider-option.is-active{border-color:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.13);background:#f0fdf4}.shipping-provider-option input{position:absolute;opacity:0;pointer-events:none}.shipping-provider-logo-wrap img{display:block;width:110px;height:54px;object-fit:contain}.shipping-provider-option-copy{display:grid;gap:4px;min-width:0}.shipping-provider-option-copy small{color:#64748b;line-height:1.35}.shipping-provider-choice-state{font-size:.78rem;font-weight:800;color:#64748b}.shipping-provider-option.is-active .shipping-provider-choice-state{color:#15803d}.shipping-provider-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.shipping-provider-config-card{display:flex;flex-direction:column;min-width:0}.shipping-provider-config-card .form-grid{flex:1}.shipping-provider-card-actions{display:flex;justify-content:flex-end;margin-top:18px}@media(max-width:1050px){.shipping-provider-picker,.shipping-provider-config-grid{grid-template-columns:1fr}}@media(max-width:650px){.shipping-provider-option{grid-template-columns:90px minmax(0,1fr)}.shipping-provider-choice-state{grid-column:2}.shipping-provider-logo-wrap img{width:80px}.shipping-provider-config-head{align-items:flex-start}.shipping-provider-config-head img{width:86px}}

/* Shipping provider settings layout */
.shipping-provider-settings-row{display:grid;grid-template-columns:minmax(330px,.82fr) minmax(0,1.55fr);gap:16px;align-items:stretch}
.shipping-provider-settings-row>.card{margin:0;min-width:0}
.shipping-provider-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:14px;grid-template-columns:1fr;align-content:start;}
.shipping-provider-option{position:relative;display:grid;grid-template-columns:130px minmax(0,1fr) auto;gap:16px;align-items:center;padding:14px;border:1px solid #dbe4ef;border-radius:14px;background:#fff;cursor:pointer;transition:border-color .18s,box-shadow .18s,transform .18s;grid-template-columns:112px minmax(0,1fr) auto;text-align:left;}
.shipping-provider-logo-wrap{display:flex;align-items:center;justify-content:center;min-height:64px;border-radius:10px;overflow:hidden;background:#f8fafc;justify-content:flex-start;padding-left:10px;}
.shipping-sender-standard-card{display:flex;flex-direction:column}
.shipping-sender-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 14px;margin-top:14px}
.shipping-sender-grid>div{min-width:0}
.shipping-sender-grid label{display:block;margin-bottom:6px}
.shipping-sender-grid input{width:100%}
@media(max-width:1100px){.shipping-provider-settings-row{grid-template-columns:1fr}.shipping-sender-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.shipping-sender-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.shipping-sender-grid{grid-template-columns:1fr}.shipping-provider-option{grid-template-columns:86px minmax(0,1fr)}.shipping-provider-choice-state{grid-column:2}.shipping-provider-logo-wrap{padding-left:6px}}



/* Compact fulfillment workspace redesign */

.fulfillment-summary-grid-redesigned>.card{min-height:150px}



.fulfillment-recipient-card address{display:grid;gap:2px;font-style:normal;line-height:1.4;margin:.35rem 0;color:var(--text,#111827)}
.fulfillment-recipient-contact{margin:.45rem 0 .25rem;overflow-wrap:anywhere}

.fulfillment-picking-card,.fulfillment-close-card{min-width:0}
.shipping-label-card-compact{padding:18px;display:grid;gap:12px}
.shipping-label-card-compact h2{margin:.1rem 0 0;font-size:1.15rem}
.shipping-label-card-compact p{margin:0;font-size:.9rem}
.shipping-label-status{display:grid;gap:3px;padding:11px;border-radius:10px;background:var(--surface-soft,#f5f7fa)}
.shipping-label-status small{color:var(--muted,#667085);overflow-wrap:anywhere}

.shipping-label-actions-compact .btn,.shipping-label-actions-compact form{width:100%}
.shipping-label-actions-compact form .btn{display:block}
.fulfillment-close-card .form-grid{grid-template-columns:1fr}
.fulfillment-documents-single{grid-template-columns:1fr}
.fulfillment-documents-single .delivery-note-card{max-width:none}
@media(max-width:1350px){.fulfillment-process-grid{grid-template-columns:minmax(0,1.2fr) minmax(230px,.8fr)}.fulfillment-close-card{grid-column:1/-1}.fulfillment-close-card .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fulfillment-close-card .form-grid .full{grid-column:1/-1}}
@media(max-width:900px){.fulfillment-process-grid{grid-template-columns:1fr}.fulfillment-close-card{grid-column:auto}.fulfillment-close-card .form-grid{grid-template-columns:1fr}}
@media(max-width:650px){.fulfillment-summary-grid-redesigned>.card{min-height:0}}

/* Abfertigung: kompakte Versandübersicht und begrenzte Statushistorie */



.fulfillment-provider-summary{background:linear-gradient(145deg,var(--surface,#fff),var(--surface-soft,#f5f7fa));align-self:stretch;}



.shipping-label-actions .btn,.shipping-label-actions button{text-align:center;justify-content:center}
.fulfillment-history-scroll{max-height:246px;overflow-y:auto;padding-right:8px;scrollbar-gutter:stable}
@media(max-width:1350px){.fulfillment-recipient-card{grid-column:1/-1}}

@media(max-width:650px){.fulfillment-summary-grid-redesigned{grid-template-columns:1fr;grid-template-columns:1fr;}.fulfillment-recipient-card{grid-column:auto}}

/* Abfertigung: Seitenleiste, Pagination und kompakte Anbieteranzeige */
.fulfillment-sidebar{display:grid;gap:18px;align-content:start;min-width:0}
.fulfillment-sidebar .fulfillment-queue{position:static;max-height:none;overflow:visible}

.fulfillment-pagination span{font-size:.82rem;color:var(--muted,#667085);font-weight:700;white-space:nowrap}
.fulfillment-pagination .btn{min-width:38px;padding-inline:10px;font-size:1.1rem;line-height:1}
.fulfillment-sidebar-label,.fulfillment-sidebar-close{width:100%}



.fulfillment-summary-grid-redesigned{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;grid-template-columns:minmax(150px,.58fr) repeat(2,minmax(0,1fr)) minmax(260px,1.2fr);grid-template-columns:minmax(120px,.42fr) repeat(2,minmax(0,1fr)) minmax(260px,1.2fr);}
.fulfillment-summary-grid-redesigned>.fulfillment-provider-summary{min-height:0;padding:16px;padding:14px;max-width:180px;}
.fulfillment-provider-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:.45rem 0 .2rem;justify-content:flex-start;gap:12px;margin:.65rem 0 0;display:grid;justify-items:start;gap:8px;margin:.55rem 0 0;}
.fulfillment-provider-row img{width:58px;height:30px;object-fit:contain;object-position:left center;flex:0 0 auto;width:92px;height:42px;max-width:100%;object-fit:contain;object-position:left center;}
.fulfillment-provider-row strong{font-size:1.35rem;font-size:1.08rem;font-size:1rem;}
@media(max-width:1350px){.fulfillment-summary-grid-redesigned{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-columns:minmax(150px,.65fr) repeat(2,minmax(0,1fr));grid-template-columns:minmax(130px,.48fr) repeat(2,minmax(0,1fr));}.fulfillment-summary-grid-redesigned>.fulfillment-provider-summary{max-width:none}}
@media(max-width:1100px){.fulfillment-sidebar{grid-template-columns:1fr 1fr}.fulfillment-sidebar-label,.fulfillment-sidebar-close{order:initial}.fulfillment-summary-grid-redesigned>.fulfillment-provider-summary{max-width:none}}
@media(max-width:760px){.fulfillment-sidebar{grid-template-columns:1fr}}

/* Abfertigung: kompakte Kopfzeile mit Aufträgen, Abschluss und Bestelldaten */

.fulfillment-sidebar,.fulfillment-main,.fulfillment-summary-grid-redesigned{display:contents}



.fulfillment-summary-grid-redesigned>article:nth-child(2){grid-column:4;grid-row:1}

.fulfillment-summary-grid-redesigned>article:nth-child(1),
.fulfillment-summary-grid-redesigned>article:nth-child(2){
  width:100%;
  min-width:0;
  min-height:0;
}
.fulfillment-summary-grid-redesigned>article:nth-child(3){grid-column:5;grid-row:1;min-width:0;min-height:0;}


.fulfillment-shipping-result+.fulfillment-summary-grid-redesigned{display:contents}



.fulfillment-main>article.card.card-body{grid-column:1/-1}

.fulfillment-close-card .form-grid .full{grid-column:auto}

@media(max-width:1450px){
  .fulfillment-layout{grid-template-columns:minmax(300px,1.25fr) minmax(270px,1.05fr) minmax(145px,.7fr) minmax(145px,.7fr)}
  .fulfillment-summary-grid-redesigned>article:nth-child(3){grid-column:1/-1;grid-row:2}
  .fulfillment-sidebar-label{grid-column:1;grid-row:3}
  .fulfillment-process-grid{grid-column:2/-1;grid-row:3}
  .fulfillment-documents{grid-row:4}
  .fulfillment-main>section.card.card-body{grid-row:5}
}
@media(max-width:1100px){
  
  
  
  
  .fulfillment-summary-grid-redesigned>article:nth-child(2){grid-column:2;grid-row:2}
  .fulfillment-summary-grid-redesigned>article:nth-child(3){grid-column:1/-1;grid-row:3}
  
  
  
  
}
@media(max-width:720px){
  
  
  
  
  .fulfillment-summary-grid-redesigned>article:nth-child(2){grid-column:1;grid-row:4}
  .fulfillment-summary-grid-redesigned>article:nth-child(3){grid-column:1;grid-row:5}
  
  
  
  
}

/* Abfertigung: Aufträge links, Versandlabel rechts daneben, Abschluss darunter */








.fulfillment-shipping-result{margin:0 0 18px;padding:14px 16px;border-radius:10px;font-weight:700;grid-column:1/-1;grid-row:2;grid-column:1/-1;grid-row:auto;}




/* Abfertigung: kompaktere Auftrags-/Abschluss-Spalte und Kommissionierkacheln */

.fulfillment-picking-count{margin:.28rem 0 0;color:var(--muted,#667085);font-size:.9rem}
.fulfillment-picking-count strong{color:var(--text,#111827);font-size:1.05rem}
.fulfillment-checklist{display:grid;gap:8px;margin-top:16px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.fulfillment-checklist label{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:12px;border:1px solid var(--border,#dfe3ea);border-radius:12px;
  position:relative;
  min-width:0;
  min-height:82px;
  cursor:pointer;
  transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;}
.fulfillment-checklist label:hover{border-color:color-mix(in srgb,var(--primary,#111827) 38%,var(--border,#dfe3ea));transform:translateY(-1px)}
.fulfillment-checklist label:has(input[type="checkbox"]:checked){
  background:#edf9f0;
  border-color:#74b986;
  box-shadow:0 0 0 2px rgba(70,145,91,.12);
}
.fulfillment-checklist label input[type="checkbox"]{width:18px;height:18px;cursor:pointer}
.fulfillment-checklist label span{min-width:0}
.fulfillment-checklist label strong,.fulfillment-checklist label small{overflow-wrap:anywhere}

@media(max-width:760px){
  .fulfillment-checklist{grid-template-columns:1fr}
}

/* Abfertigung: Empfänger kompakt links vor der Versandbox */












/* Abfertigung: Lieferschein zwischen Aufträgen und Versand, unter dem Empfänger */






.fulfillment-documents .delivery-note-card{
  height:100%;
  min-height:0;
  display:flex;
  flex-direction:column;
}
.fulfillment-documents .delivery-note-card>.split{gap:10px;align-items:flex-start}
.fulfillment-documents .delivery-note-card>.split p{margin:.25rem 0 0}
.fulfillment-documents .delivery-note-print{
  flex:1 1 auto;
  min-height:0;
  max-height:330px;
  overflow:auto;
  margin-top:12px;
}

.fulfillment-process-grid .fulfillment-picking-card{
  height:100%;
  min-height:0;
}
.fulfillment-sidebar-close,.fulfillment-process-grid .fulfillment-picking-card{
  align-self:stretch;
}



@media(max-width:720px){
  
  
  
  
  
  
  
  
  .fulfillment-documents .delivery-note-print{max-height:280px}
}
@media print{
  .fulfillment-documents .delivery-note-print{max-height:none!important;overflow:visible!important}
}

/* Abfertigung: kompakte Lieferschein-Aktionsbox und gleiche Prozesskartenhöhe */
.fulfillment-documents .delivery-note-action-card{
  min-height:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:stretch;
  gap:14px;
}
.fulfillment-documents .delivery-note-action-card h2{margin:0}
.fulfillment-documents .delivery-note-action-card .btn{
  width:100%;
  justify-content:center;
  text-align:center;
}

.fulfillment-sidebar-close,
.fulfillment-process-grid,
.fulfillment-process-grid .fulfillment-picking-card{
  height:100%;
  min-height:100%;
}
@media print{
  .delivery-note-print-source.print-target-active{
    position:static!important;
    left:auto!important;
    width:auto!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
}

/* Abfertigung: feste Kopf-Anordnung – Aufträge | Empfänger/Lieferschein | Versand */


.fulfillment-summary-grid-redesigned>article:nth-child(1){grid-column:3;grid-row:1;grid-column:3;grid-row:1;min-width:0;min-height:0;
  grid-column:2;
  grid-row:1;
  width:100%;
  max-width:320px;
  min-width:0;
  grid-column:2;
  grid-row:1;
  width:100%;
  max-width:320px;
  min-width:0;
  align-self:start;
  grid-column:2;
  grid-row:1;
  width:100%;
  max-width:320px;
  min-width:0;
  align-self:stretch;}
.fulfillment-documents{grid-column:1/-1;grid-row:3;min-width:0;
  grid-column:2;
  grid-row:2;
  min-width:0;
  height:100%;
  display:block;
  grid-column:2;
  grid-row:2;
  width:100%;
  min-width:0;
  align-self:stretch;}





@media(max-width:1100px){
  
  
  .fulfillment-summary-grid-redesigned>article:nth-child(1){grid-column:1;grid-row:2;grid-column:2;grid-row:2;grid-column:2;grid-row:1;max-width:none;grid-column:2;grid-row:1;max-width:none;grid-column:2;grid-row:1;max-width:none;}
  
  .fulfillment-documents{grid-row:5;grid-row:4;grid-row:4;grid-column:2;grid-row:2;grid-column:2;grid-row:2;}
  
  
  
}
@media(max-width:720px){
  
  
  .fulfillment-summary-grid-redesigned>article:nth-child(1){grid-column:1;grid-row:3;grid-column:1;grid-row:4;grid-column:1;grid-row:2;max-width:none;grid-column:1;grid-row:2;max-width:none;grid-column:1;grid-row:2;max-width:none;}
  .fulfillment-documents{grid-row:8;grid-row:6;grid-row:6;grid-column:1;grid-row:3;grid-column:1;grid-row:3;}
  
  
  
  
}

/* Abfertigung: obere drei Bereiche auf identische Maximalgröße angleichen */
.fulfillment-layout{display:grid;grid-template-columns:minmax(260px,330px) minmax(0,1fr);gap:20px;align-items:start;grid-template-columns:minmax(330px,390px) minmax(0,1fr);
  display:grid;
  grid-template-columns:minmax(310px,1.35fr) minmax(280px,1.1fr) minmax(150px,.72fr) minmax(150px,.72fr) minmax(280px,1.35fr);
  gap:16px;
  align-items:start;
  grid-template-columns:minmax(320px,1.15fr) minmax(280px,.95fr) minmax(360px,1.7fr);
  gap:16px;
  grid-template-columns:minmax(256px,.92fr) minmax(280px,.95fr) minmax(360px,1.93fr);
  grid-template-columns:minmax(256px,.82fr) minmax(240px,320px) minmax(360px,1.8fr);
  grid-template-columns:minmax(256px,.82fr) minmax(240px,320px) minmax(360px,1.8fr);
  align-items:stretch;
  grid-template-columns:minmax(256px,.82fr) minmax(240px,320px) minmax(360px,1.8fr);
  grid-auto-flow:row;
  align-items:stretch;
  --fulfillment-top-height:340px;
  grid-template-columns:minmax(256px,.82fr) minmax(240px,320px) minmax(360px,1.8fr);
  grid-template-rows:var(--fulfillment-top-height) auto auto;
  align-items:stretch;}

.fulfillment-recipient-documents-stack{
  grid-column:2;
  grid-row:1;
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  gap:16px;
  height:var(--fulfillment-top-height);
  min-width:0;
  min-height:0;
}
.fulfillment-recipient-documents-stack>.card{
  width:100%;
  min-width:0;
  margin:0;
}
.fulfillment-recipient-documents-stack .fulfillment-recipient-card{
  min-height:0;
  overflow:auto;
}
.fulfillment-recipient-documents-stack .delivery-note-action-card{
  min-height:0;
  padding:16px;
}
.fulfillment-recipient-documents-stack .delivery-note-action-card h2{
  margin:0 0 12px;
}
.fulfillment-recipient-documents-stack .delivery-note-action-card .btn{
  width:100%;
  justify-content:center;
  text-align:center;
}

.fulfillment-sidebar-close{order:3;grid-column:2;grid-row:1;min-width:0;grid-column:1;grid-row:2;min-width:0;grid-column:1;grid-row:2;min-width:0;height:100%;
  grid-column:1;
  grid-row:2;
  min-width:0;
  align-self:stretch;grid-column:1;grid-row:2;}
.fulfillment-process-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(230px,.72fr) minmax(280px,.9fr);gap:18px;align-items:start;grid-template-columns:1fr;grid-column:2/-1;grid-row:2;min-width:0;
  grid-column:3;
  grid-row:2;
  min-width:0;
  height:100%;
  display:block;
  grid-column:2 / -1;
  grid-row:3;
  min-width:0;grid-column:2/-1;grid-row:2;}
.fulfillment-main>section.card.card-body{grid-column:1/-1;grid-row:4;min-width:0;grid-column:1/-1;grid-row:3;min-width:0;
  grid-column:1 / -1;
  grid-row:4;
  min-width:0;grid-column:1/-1;grid-row:3;}
.delivery-note-print-source{
  position:fixed;
  left:-100000px;
  top:0;
  width:794px;
  visibility:hidden;
  pointer-events:none;position:fixed;left:-100000px;top:0;width:210mm;pointer-events:none;}

@media(max-width:1100px){
  .fulfillment-layout{grid-template-columns:1fr;grid-template-columns:1fr;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr));grid-template-columns:minmax(256px,.9fr) minmax(240px,1fr);grid-template-columns:minmax(256px,.9fr) minmax(240px,1fr);grid-template-columns:minmax(256px,.9fr) minmax(240px,1fr);grid-template-columns:minmax(256px,.9fr) minmax(240px,1fr);grid-template-rows:auto;}
  .fulfillment-queue{position:static;max-height:none;grid-column:1/-1;grid-column:1;grid-row:1;grid-column:1;grid-row:1;grid-column:1;grid-row:1;grid-column:1;grid-row:1;grid-column:1;grid-row:1;grid-column:1;grid-row:1;height:var(--fulfillment-top-height);max-height:var(--fulfillment-top-height);}
  .fulfillment-recipient-documents-stack{grid-column:2;grid-row:1;height:var(--fulfillment-top-height)}
  .fulfillment-sidebar-close{grid-column:2;grid-row:1;grid-column:1;grid-row:2;grid-column:1;grid-row:2;grid-column:1;grid-row:2;grid-column:1;grid-row:2;grid-column:1;grid-row:2;}
  .fulfillment-sidebar-label{grid-column:1;grid-row:4;grid-column:2;grid-row:1;grid-column:2;grid-row:2;grid-column:1;grid-row:3;grid-column:1 / -1;grid-row:3;height:auto;grid-column:2;grid-row:2;height:auto;max-height:none;}
  .fulfillment-process-grid{grid-column:2;grid-row:4;grid-column:1/-1;grid-row:3;grid-column:1/-1;grid-row:3;grid-column:2;grid-row:3;grid-column:1 / -1;grid-row:4;grid-column:1/-1;grid-row:3;}
  .fulfillment-main>section.card.card-body{grid-row:6;grid-row:5;grid-row:5;grid-row:4;grid-row:5;grid-row:4;}
}
@media(max-width:720px){
  .fulfillment-layout{grid-template-columns:1fr;grid-template-columns:1fr;grid-template-columns:1fr;grid-template-columns:1fr;grid-template-columns:1fr;grid-template-columns:1fr;}
  .fulfillment-queue{grid-column:1;grid-row:1;grid-column:1;grid-row:1;grid-column:1;grid-row:1;grid-column:1;grid-row:1;grid-column:1;grid-row:1;grid-column:1;grid-row:1;height:auto;max-height:none;}
  .fulfillment-recipient-documents-stack{grid-column:1;grid-row:2;height:auto;grid-template-rows:auto auto}
  
  .fulfillment-sidebar-close{grid-column:1;grid-row:2;grid-column:1;grid-row:3;grid-column:1;grid-row:4;grid-column:1;grid-row:5;grid-column:1;grid-row:5;grid-column:1;grid-row:4;}
  .fulfillment-process-grid{grid-column:1;grid-row:7;grid-column:1;grid-row:5;grid-column:1;grid-row:5;grid-column:1;grid-row:6;grid-column:1;grid-row:6;grid-column:1;grid-row:5;}
  .fulfillment-main>section.card.card-body{grid-row:9;grid-row:7;grid-row:7;grid-row:7;grid-row:7;grid-row:6;}
}

/* Abfertigung: Empfänger- und Lieferscheinspalte 20 % breiter */



/* Abfertigung: Box "Offene Aufträge" 10 % höher */
@media(min-width:721px){
  
  .fulfillment-queue{
    height:var(--fulfillment-queue-height);
    max-height:var(--fulfillment-queue-height);
  }
}

/* Abfertigung: Empfängerbereich 10 % höher und weitere 20 % breiter */
@media(min-width:1101px){
  .fulfillment-layout{
    grid-template-columns:minmax(256px,.82fr) minmax(288px,384px) minmax(360px,1.8fr);
    grid-template-columns:minmax(256px,.82fr) minmax(346px,461px) minmax(320px,1.55fr);}
  .fulfillment-recipient-documents-stack{
    height:374px;
  }
}
@media(min-width:721px) and (max-width:1100px){
  .fulfillment-layout{
    grid-template-columns:minmax(240px,.8fr) minmax(288px,1.2fr);
    grid-template-columns:minmax(230px,.72fr) minmax(346px,1.28fr);}
  .fulfillment-recipient-documents-stack{
    height:374px;
  }
}

/* Dokument-Livebuilder */
.document-builder-tabs a{padding:9px 14px;border:1px solid #dbe2ea;border-radius:999px;text-decoration:none;color:inherit;background:#fff}.document-builder-tabs a.active{background:#111827;color:#fff;border-color:#111827}.document-builder{display:grid;grid-template-columns:minmax(320px,.8fr) minmax(420px,1.2fr);gap:18px;align-items:start}.document-builder-controls,.document-builder-preview-card{margin:0}.document-block-list{display:grid;gap:8px;margin:14px 0 20px}.document-block{display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:10px;padding:12px;border:1px solid #dbe2ea;border-radius:12px;background:#f8fafc;cursor:grab}.document-block.is-dragging{opacity:.45}.document-drag{font-weight:900;color:#64748b}.document-live-preview{--document-accent:#111827;background:#fff;border:1px solid #dbe2ea;box-shadow:0 18px 45px rgba(15,23,42,.08);padding:34px;min-height:620px}.document-live-preview.is-compact{padding:22px}.document-live-preview header{display:flex;justify-content:space-between;gap:20px;border-top:12px solid var(--document-accent);padding-top:20px}.document-live-preview h1{margin:0;color:var(--document-accent)}.document-live-preview table{width:100%;border-collapse:collapse;margin:20px 0}.document-live-preview th,.document-live-preview td{padding:10px;border-bottom:1px solid #e2e8f0;text-align:left}.document-preview-total{display:flex;justify-content:space-between;border-top:2px solid var(--document-accent);padding-top:14px}.document-live-preview footer{margin-top:28px;padding-top:14px;border-top:1px solid #cbd5e1;color:#475569}.document-template{--document-accent:#111827;color:#111827;font-family:Arial,sans-serif}.document-template.is-compact{font-size:12px}.document-template-header{display:flex;justify-content:space-between;gap:20px;border-top:10px solid var(--document-accent);padding-top:18px}.document-template-header h1{color:var(--document-accent)}.document-template-logo{display:block;font-size:18px}.document-template-meta{display:flex;justify-content:space-between;margin:20px 0}.document-template table{width:100%;border-collapse:collapse;margin:20px 0}.document-template th,.document-template td{padding:8px;border-bottom:1px solid #dbe2ea;text-align:left}.document-template footer{margin-top:24px;border-top:1px solid #cbd5e1;padding-top:12px}
@media(max-width:980px){.document-builder{grid-template-columns:1fr}.document-live-preview{min-height:0}}

/* Offene Aufträge: drei Einträge bleiben bei kleinerem Fenster innerhalb der Karte */
.fulfillment-queue{position:sticky;top:18px;max-height:calc(100vh - 36px);overflow:auto;grid-column:1;grid-row:1;position:static;max-height:none;overflow:visible;min-width:0;grid-column:1;grid-row:1;grid-column:1;grid-row:1;align-self:start;
  grid-column:1;
  grid-row:1;
  align-self:start;
  grid-column:1;
  grid-row:1;
  height:var(--fulfillment-top-height);
  max-height:var(--fulfillment-top-height);
  min-height:0;
  overflow:auto;
  align-self:stretch;display:flex;flex-direction:column;min-height:0;overflow:hidden;}.fulfillment-order-list{display:grid;gap:8px;flex:1 1 auto;min-height:0;overflow:auto;display:grid;align-content:start;}.fulfillment-order-link{display:flex;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--border,#dfe3ea);border-radius:12px;text-decoration:none;color:inherit;min-height:0;}.fulfillment-pagination{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid var(--border,#dfe3ea);flex:0 0 auto;margin-top:8px;}

/* Offene Aufträge: responsive Seitengröße ohne Überziehen der Kartenkante */
.fulfillment-queue .fulfillment-order-list{
  overflow:hidden;
  grid-auto-rows:minmax(0,1fr);
  gap:8px;
}
.fulfillment-queue .fulfillment-order-link{
  height:100%;
  min-height:0;
  box-sizing:border-box;
  overflow:hidden;
}
.fulfillment-queue .fulfillment-order-link span{
  min-width:0;
}
.fulfillment-queue .fulfillment-order-link strong,
.fulfillment-queue .fulfillment-order-link small{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.fulfillment-queue .fulfillment-pagination{
  min-height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

/* Abfertigung: Versandbox an Auftragsbox angleichen und Inhalt verdichten */
@media(min-width:721px){
  .fulfillment-sidebar-label{
    height:var(--fulfillment-queue-height,374px);
    max-height:var(--fulfillment-queue-height,374px);
  }
}
.fulfillment-sidebar-label{order:2;grid-column:1;grid-row:2;width:100%;min-width:0;grid-column:2;grid-row:1;width:100%;min-width:0;grid-column:3;grid-row:1;width:100%;min-width:0;grid-column:3;grid-row:1;width:100%;min-width:0;align-self:start;
  grid-column:3;
  grid-row:1 / span 2;
  width:100%;
  min-width:0;
  height:100%;
  align-self:stretch;
  grid-column:3;
  grid-row:1;
  height:var(--fulfillment-top-height);
  max-height:var(--fulfillment-top-height);
  min-height:0;
  overflow:auto;
  align-self:stretch;
  display:flex;
  flex-direction:column;
  gap:14px;
  overflow:hidden;
  padding:18px;}
.shipping-label-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.shipping-label-card-head h2{margin:3px 0 0}
.shipping-provider-chip{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 10px;border-radius:999px;background:#eef2f7;font-size:.78rem;font-weight:800;white-space:nowrap}
.shipping-label-state{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;align-items:center;padding:14px;border:1px solid var(--border,#dfe3ea);border-radius:13px;background:var(--surface-soft,#f6f8fb)}
.shipping-label-state>div{display:grid;gap:3px;min-width:0}.shipping-label-state small{color:var(--muted,#667085);overflow:hidden;text-overflow:ellipsis}.shipping-label-state-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#fff;font-weight:900;font-size:1.05rem}
.shipping-label-state.is-ready{background:#f0faf3;border-color:#cce9d4}.shipping-label-state.is-ready .shipping-label-state-icon{color:#16763a}
.shipping-label-actions-compact{display:grid;gap:8px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-top:auto;}.shipping-label-actions-compact form{margin:0}.shipping-label-actions-compact .btn,.shipping-label-create-form .btn{width:100%;height:40px;justify-content:center;text-align:center}
.shipping-label-create-form{margin-top:auto}
@media(max-width:720px){.fulfillment-sidebar-label{grid-column:1;grid-row:6;grid-column:1;grid-row:2;grid-column:1;grid-row:3;grid-column:1;grid-row:4;grid-column:1;grid-row:4;grid-column:1;grid-row:3;height:auto;max-height:none;overflow:visible;}.shipping-label-actions-compact{grid-template-columns:1fr}}
/* Advanced document builder */
.document-builder-advanced{grid-template-columns:minmax(520px,1.05fr) minmax(420px,.95fr)}
.document-global-settings,.document-style-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.document-global-settings label,.document-style-grid label{display:grid;gap:5px;font-size:12px;font-weight:700}.document-image-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}.document-block-editor{border:1px solid #dbe2ea;border-radius:14px;background:#fff;overflow:hidden}.document-block-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:11px 12px;background:#f8fafc}.document-block-head label{display:flex;align-items:center;gap:8px}.document-block-toggle{border:0;background:#e2e8f0;border-radius:8px;padding:7px 10px;cursor:pointer}.document-block-panel{padding:12px;border-top:1px solid #e2e8f0}.wysiwyg-toolbar{display:flex;gap:6px;flex-wrap:wrap;padding:8px;background:#f1f5f9;border:1px solid #cbd5e1;border-bottom:0;border-radius:9px 9px 0 0;position:sticky;top:0;z-index:2;display:flex;gap:6px;flex-wrap:wrap;padding:8px;border:1px solid #cbd5e1;border-bottom:0;border-radius:10px 10px 0 0;background:#f8fafc;display:flex;gap:5px;flex-wrap:wrap;padding:7px;background:#f1f5f9;border:1px solid #dbe2ea;border-radius:10px 10px 0 0;}.wysiwyg-toolbar button,.wysiwyg-toolbar label{border:1px solid #cbd5e1;background:#fff;border-radius:6px;padding:5px 8px;cursor:pointer;font-size:12px}.document-rich-editor{min-height:120px;border:1px solid #dbe2ea;border-top:0;border-radius:0 0 10px 10px;padding:12px;background:#fff;outline:none;overflow:auto}.document-rich-editor:empty:before{content:attr(data-placeholder);color:#94a3b8}.document-rich-editor img,.document-live-preview img{max-width:100%;height:auto}.document-live-preview [data-preview-header-image]{max-width:180px;max-height:80px;object-fit:contain;display:block;margin-bottom:8px}.document-output-block{margin-bottom:12px;box-sizing:border-box}.document-output-block img{max-width:100%;height:auto}.document-live-preview>[data-preview-block]{margin-bottom:12px;box-sizing:border-box}
@media(max-width:1200px){.document-global-settings,.document-style-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.document-builder-advanced{grid-template-columns:1fr}}
@media(max-width:640px){.document-global-settings,.document-style-grid{grid-template-columns:1fr}}

/* Funnel-Builder: frei einstellbare Abstände im Blockkopf */
.funnel-header-spacing-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid #e5e7eb}
.funnel-header-spacing-controls>label{display:grid;gap:7px;font-size:.82rem;font-weight:700;color:#334155}
.funnel-range-control{display:grid;grid-template-columns:minmax(0,1fr) 54px;align-items:center;gap:9px}
.funnel-range-control input[type="range"]{width:100%;margin:0}
.funnel-range-control output{font-size:.78rem;font-variant-numeric:tabular-nums;text-align:right;color:#64748b}
@media(max-width:880px){.funnel-header-spacing-controls{grid-template-columns:1fr}}

/* Dokumentbuilder: klare, konsistente Checkbox-Anordnung */
.document-global-checkboxes{display:flex;flex-wrap:wrap;gap:10px 18px;margin:12px 0 16px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}
.document-checkbox{display:inline-flex!important;grid-template-columns:none!important;align-items:center;gap:8px;min-width:0;margin:0!important;font-size:13px!important;font-weight:700!important;line-height:1.25;cursor:pointer}
.document-checkbox input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;display:block!important;flex:0 0 auto!important;width:16px!important;height:16px!important;min-width:16px!important;margin:0!important;padding:0!important;accent-color:#111827}
.document-checkbox span{display:block;min-width:0}
.document-block-visibility{width:max-content;max-width:100%}
.document-style-checkbox{align-self:end;min-height:42px;padding:9px 10px;border:1px solid #dbe2ea;border-radius:10px;background:#f8fafc}
.document-generated-block-note{margin:0 0 12px;padding:11px 12px;border:1px solid #dbe2ea;border-radius:10px;background:#f8fafc;color:#475569;font-size:13px;line-height:1.45}
@media(max-width:640px){.document-global-checkboxes{display:grid;grid-template-columns:1fr}.document-style-checkbox{min-height:0}}

/* Detailed document placeholder reference */
.document-placeholder-reference{margin:14px 0;border:1px solid #dbe3ee;border-radius:12px;background:#f8fafc;padding:10px 12px}.document-placeholder-reference summary{cursor:pointer;font-weight:700}.document-placeholder-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}.document-placeholder-chip{appearance:none;border:1px solid #d6deea;border-radius:9px;background:#fff;padding:8px;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:3px;min-width:0}.document-placeholder-chip code{font-size:.76rem;color:#1d4ed8;overflow-wrap:anywhere}.document-placeholder-chip span{font-size:.72rem;color:#64748b}.document-placeholder-chip:hover,.document-placeholder-chip.is-copied{border-color:#2563eb;background:#eff6ff}.document-rich-editor table{width:100%;border-collapse:collapse}.document-rich-editor td,.document-rich-editor th{padding:4px 7px;border-bottom:1px solid #e5e7eb;vertical-align:top}.document-rich-editor td:last-child{text-align:right}@media(max-width:900px){.document-placeholder-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.document-placeholder-grid{grid-template-columns:1fr}}

.document-template-mode .document-checkbox{align-items:flex-start}.document-template-mode small{display:block;margin-top:3px;color:#64748b;font-weight:400}.document-live-preview.is-standard-template{outline:2px solid #cbd5e1;outline-offset:-2px}
.document-template-mode{margin:14px 0;padding:14px;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc;display:grid;grid-template-columns:auto auto auto;align-items:center;justify-content:start;column-gap:12px;row-gap:7px;}
.document-template-mode>p{grid-column:1/-1;margin:0}
.document-template-mode-label{font-weight:800;font-size:14px;color:#334155}
.document-template-switch{display:inline-flex;align-items:center;cursor:pointer;margin:0!important}
.document-template-switch input{position:absolute;opacity:0;pointer-events:none}
.document-template-switch-track{position:relative;display:block;width:58px;height:30px;border-radius:999px;background:#cbd5e1;box-shadow:inset 0 0 0 1px rgba(15,23,42,.08);transition:.2s ease}
.document-template-switch-knob{position:absolute;left:4px;top:4px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 7px rgba(15,23,42,.25);transition:.2s ease}
.document-template-switch input:checked+.document-template-switch-track{background:#111827}
.document-template-switch input:checked+.document-template-switch-track .document-template-switch-knob{transform:translateX(28px)}
.document-template-switch input:focus-visible+.document-template-switch-track{outline:3px solid rgba(59,130,246,.35);outline-offset:2px}
.document-builder-controls [data-custom-builder-settings].is-disabled{opacity:.48;pointer-events:none;filter:grayscale(.15);display:none;}
.document-standard-preview{background:var(--document-page-bg,#fff)!important;font-family:Arial,sans-serif!important;color:#111827}
.document-standard-preview header{border-top-color:var(--document-accent,#111827)}
.document-standard-preview h1{color:var(--document-accent,#111827)}

/* Dokumentbuilder: Template-Umschalter kompakt direkt am aktiven System */
.document-builder-heading{align-items:center;gap:18px}
.document-builder-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap;min-width:0}
.document-template-mode.document-template-mode-compact{display:inline-flex;align-items:center;gap:9px;margin:0;padding:0;border:0;border-radius:0;background:transparent;min-width:0;width:auto}
.document-template-mode-compact .document-template-mode-label{white-space:nowrap;font-size:13px;line-height:1}
.document-template-mode-compact .document-template-switch{flex:0 0 auto;width:58px;height:30px}
.document-template-mode-compact .document-template-switch-track{width:58px;height:30px}
@media(max-width:760px){
 .document-builder-heading{align-items:flex-start}
 .document-builder-heading-actions{justify-content:flex-start;width:100%;gap:10px}
 .document-template-mode.document-template-mode-compact{max-width:100%}
}

/* Dokumentbuilder: echte Dokumenttyp-Buttons, ohne System-Pille */
.document-builder-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 18px;}
.document-builder-tabs form{margin:0}
.document-builder-tabs .document-builder-tab-button{min-width:132px;justify-content:center;text-align:center;background:#fff;color:#111827;border:1px solid #cbd5e1;box-shadow:none}
.document-builder-tabs .document-builder-tab-button:hover{background:#f8fafc;border-color:#94a3b8}
.document-builder-tabs .document-builder-tab-button.active{background:#111827;color:#fff;border-color:#111827}
.document-builder-tabs .document-builder-tab-button.active:hover{background:#111827;color:#fff}
/* Mollie refund form and order refund summary */
.refund-description-field textarea{min-height:68px;resize:vertical}

.refund-confirm-action .checkbox-row{margin:0;flex:1 1 280px}


.order-refunds-tile ul{margin:0;padding-left:18px}.order-refunds-tile small{display:block}
@media(max-width:720px){.refund-confirm-action{align-items:stretch}}

/* Deutliche Kennzeichnung ausgeführter Erstattungen */
.order-refunds-tile{margin-top:10px;padding:10px 12px;border:1px solid var(--border,#dfe3ea);border-radius:10px;background:var(--surface-soft,#f6f8fb);display:grid;gap:5px;border-width:2px;}
.order-refunds-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.order-refund-state{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-size:.75rem;font-weight:800;letter-spacing:.01em}
.order-refunds-tile--partial{border-color:#f59e0b;background:#fffbeb}
.order-refund-state--partial{background:#f59e0b;color:#422006}
.order-refunds-tile--full{border-color:#16a34a;background:#f0fdf4}
.order-refund-state--full{background:#16a34a;color:#fff}
.choice-action-form{margin:0}
.choice-action-form .btn{width:100%}

/* Aftersales refund release workflow */
.refund-payment-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.refund-shipping-metric small{display:block;margin-top:3px;line-height:1.25;color:var(--muted)}
.refund-confirm-action{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;justify-content:flex-start;}
.refund-confirm-action .btn{margin-left:auto;margin-left:0;}
.refund-confirm-action [data-refund-submit][disabled]{opacity:.42;cursor:not-allowed;filter:grayscale(.35);box-shadow:none}
.refund-confirm-action [data-refund-preapprove].is-approved{border-color:#2f855a;background:color-mix(in srgb,#2f855a 12%,var(--card-bg));color:#276749}
.refund-release-hint{flex:1 1 220px}
@media(max-width:720px){.refund-payment-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.refund-confirm-action .btn{width:100%;margin-left:0;width:auto;}.refund-release-hint{flex-basis:100%}}


/* Kundenakte: Bestellhistorie mit 3 Einträgen und Pfeilnavigation */
.customer-history-heading{align-items:center;margin-bottom:.6rem}.customer-history-heading h2{margin:0}.customer-history-pagination{display:flex;align-items:center;justify-content:center;gap:.65rem;margin-top:1rem}.customer-history-pagination .is-disabled{opacity:.38;pointer-events:none}.customer-history-page-indicator{min-width:58px;text-align:center;font-weight:700;color:var(--muted)}

/* Aftersales: bestellte und stornierte Positionen gegenüberstellen */
.cancellation-item-comparison{display:grid;grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr);gap:16px;padding:.85rem;border:1px solid var(--border);border-radius:10px;background:var(--surface-alt,#f3f4f6);margin:.75rem 0}.cancellation-item-comparison>section>small{display:block;font-weight:800;margin-bottom:.5rem}.cancellation-item-comparison ul{list-style:none;padding:0;margin:0;display:grid;gap:.5rem}.cancellation-item-comparison li{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:.55rem 0;border-bottom:1px solid color-mix(in srgb,var(--border) 75%,transparent)}.cancellation-item-comparison li:last-child{border-bottom:0}.cancellation-item-comparison li span,.cancellation-item-comparison li small{display:block}.cancellation-item-comparison li small{margin-top:2px;color:var(--muted);font-weight:400}.cancellation-item-comparison li b{white-space:nowrap;font-size:.86rem}.cancellation-item-divider{width:1px;background:var(--border);align-self:stretch}
@media(max-width:760px){.cancellation-item-comparison{grid-template-columns:1fr}.cancellation-item-divider{width:100%;height:1px}}

.settings-inline-fields{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(100px,1fr) auto;gap:.5rem;align-items:center}.settings-inline-fields span{font-weight:700;color:var(--muted,#64748b)}@media(max-width:640px){.settings-inline-fields{grid-template-columns:1fr auto}.settings-inline-fields select{grid-column:1/-1}}

/* Kundenakte: Stammdaten, zweireihige Kennzahlen und vier separat blätterbare Verläufe */
.customer-file-overview{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(0,2.1fr);gap:1rem;margin:1rem 0}.customer-master-data{height:100%}.customer-file-metric-panel{display:grid;grid-template-rows:1fr 1fr;gap:1rem}.customer-file-metric-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.customer-file-metric-row article{display:flex;flex-direction:column;justify-content:center;min-height:112px;padding:1rem 1.15rem;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.customer-file-metric-row small,.customer-file-metric-row strong{display:block}.customer-file-metric-row strong{font-size:1.35rem;margin-top:.3rem}.customer-file-history-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;align-items:stretch}.customer-file-history-grid>.card{min-width:0;display:flex;flex-direction:column}.customer-history-list-compact>div{position:relative;grid-template-columns:1fr;gap:.25rem;align-items:start;padding:.65rem 0 .82rem;border-bottom:0}.customer-history-list-compact>div::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--border);pointer-events:none}.customer-history-list-compact>div:last-child::after{display:none}.customer-history-list-compact>div span{display:block;font-size:.86rem;color:var(--muted);overflow-wrap:anywhere}.customer-history-list-compact>div b{display:block;font-size:.92rem;line-height:1.35;margin-bottom:.08rem}.customer-file-history-grid .customer-history-heading{gap:.5rem;align-items:flex-start}.customer-file-history-grid .customer-history-heading h2{font-size:1.05rem}.customer-file-history-grid .customer-history-heading .muted{white-space:nowrap;font-size:.78rem}.customer-file-history-grid .customer-history-pagination{margin-top:auto;padding-top:.85rem}
@media(max-width:1250px){.customer-file-history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.customer-file-overview{grid-template-columns:1fr}.customer-file-metric-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.customer-file-metric-row,.customer-file-history-grid{grid-template-columns:1fr}.customer-file-metric-row article{min-height:auto}}

/* Footer-Ausrichtung folgt der zentralen Shop-Designauswahl. */
body.public-page.design-footer-center .footer-column img{margin-inline:auto}

/* Kennzahlen der Kundenakte als vollwertige Karten wie die Stammdaten. */
.customer-file-metric-row>.card{margin:0;box-shadow:var(--surface-shadow);border:1px solid var(--border);background:var(--surface)}
.customer-file-metric-row>.card:hover{transform:none}


/* Product cart follow-up and compact product status cards */
.product-mobile-cart-link{display:none;margin-top:10px;width:100%;text-align:center}
.product-mini-cart{position:fixed;right:24px;top:88px;z-index:1200;width:min(360px,calc(100vw - 32px));display:grid;gap:9px;padding:20px 48px 20px 20px;background:var(--card-bg,#fff);color:var(--body-text,#17202a);border:1px solid var(--card-border,#dfe5ec);border-radius:16px;box-shadow:0 20px 55px rgba(15,23,42,.22);animation:miniCartIn .2s ease-out}
.product-mini-cart.is-closed{display:none}.product-mini-cart__close{position:absolute;right:12px;top:10px;border:0;background:transparent;font-size:26px;line-height:1;cursor:pointer;color:inherit}.product-mini-cart small{color:var(--muted,#64748b)}
@keyframes miniCartIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}

@media(max-width:767px){.product-mobile-cart-link{display:block}.product-mini-cart{display:none!important}}


.product-mini-cart__items{display:grid;gap:7px;padding:10px 0;border-top:1px solid var(--card-border,#dfe5ec);border-bottom:1px solid var(--card-border,#dfe5ec)}
.product-mini-cart__items span,.product-mini-cart__total{display:flex;justify-content:space-between;gap:14px;align-items:baseline}.product-mini-cart__items b{font-size:.92rem}.product-mini-cart__items em{font-style:normal;white-space:nowrap;color:var(--muted,#64748b);font-size:.86rem}



/* 2026-08: 2FA/UI/footer/review refinements */



.product-restock-availability-row{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start;}
.home-review-product-link{align-self:end;justify-self:start;text-decoration:none!important;display:block;color:inherit;}
.home-review-product-link .home-review-product-image{transition:transform .2s ease,box-shadow .2s ease;}
.home-review-product-link:hover .home-review-product-image,.home-review-product-link:focus-visible .home-review-product-image{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,23,42,.16);}


@media(max-width:640px){.product-restock-availability-row{grid-template-columns:1fr}.footer-payment-terms span+span:before{content:none}}


/* Kanonische systemweite Kachelgestaltung für Startseitenblöcke. */
.home-global-card-block > .container,
.home-global-card-block > .home-block-container-full{
  box-sizing:border-box;
  border-radius:var(--card-radius,var(--radius,12px));
  border:var(--design-card-border-width,1px) solid color-mix(in srgb,currentColor 18%,transparent);
  box-shadow:var(--surface-shadow);
  padding:var(--design-card-padding,20px);
}
.home-testimonial-grid,.home-faq-list{gap:var(--design-card-gap,22px)!important;}

/* Produktkopf: flache, sehr breite und einzeilige Statuskacheln. */
.admin-product-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.product-head-choice-cards{align-items:stretch;display:flex;flex-wrap:wrap;gap:10px;align-items:center;}
.product-head-choice{min-width:150px;max-width:210px;min-width:195px!important;max-width:273px!important;min-width:281px!important;max-width:394px!important;justify-content:center;text-align:center;
  width:clamp(360px,38vw,560px)!important;
  min-width:360px!important;
  max-width:560px!important;
  min-height:42px!important;
  height:42px!important;
  box-sizing:border-box;
  padding:6px 14px!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  justify-content:stretch!important;
  gap:10px;}
.product-head-choice span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.25;max-height:2.5em;display:block!important;max-height:none!important;overflow:visible!important;-webkit-line-clamp:unset!important;text-align:center;white-space:normal;
  display:block!important;
  min-width:0;
  max-height:none!important;
  overflow:visible!important;
  white-space:nowrap!important;
  text-overflow:clip;
  text-align:center!important;
  line-height:1.1!important;}
.product-head-choice:has(input:checked){background:#eef9f0!important;border-color:#65a873!important;background:#e7f6ea!important;border-color:#58a66a!important;box-shadow:0 0 0 2px rgba(88,166,106,.08);background:#e7f6ea!important;border-color:#58a66a!important;box-shadow:0 0 0 2px rgba(88,166,106,.08);}

/* Produktstammdaten: Gewicht, Material und Herkunft in einer gemeinsamen Reihe. */
.product-weight-material-origin-row{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  align-items:start;
}
.product-weight-material-origin-row>div{min-width:0}
.product-weight-material-origin-row label{display:block;text-align:left;margin-bottom:5px}
.product-weight-material-origin-row input{width:100%;min-width:0}
@media(max-width:1100px){.product-head-choice{width:min(100%,460px)!important;min-width:320px!important}.product-weight-material-origin-row{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.product-head-choice{min-width:100%!important;max-width:none!important;width:100%!important;min-width:100%!important;max-width:none!important;}.product-head-choice span{white-space:normal!important}.product-weight-material-origin-row{grid-template-columns:1fr}}

/* Product master data rows */

.product-master-second-row{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.product-master-second-row>div{min-width:0}.product-master-second-row label{display:block;margin-bottom:5px}.product-master-second-row input{width:100%}
@media(max-width:1350px){.product-master-fields-five,.product-master-second-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.product-master-fields-five,.product-master-second-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.product-master-fields-five,.product-master-second-row{grid-template-columns:1fr}}

.footer-payment-item span{font-size:.86em}


/* 1.0.10.71: Abfertigungs-Karten höher und Social-Proof-Inhalt unabhängig von globalen Kachelwerten. */
@media(min-width:721px){
  .fulfillment-layout{
    --fulfillment-queue-height:374px;
    grid-template-rows:var(--fulfillment-queue-height) auto auto;
    --fulfillment-queue-height:411px;
    --fulfillment-top-height:411px;
    grid-template-rows:411px auto auto;}
  .fulfillment-queue,
  .fulfillment-sidebar-label{
    height:411px;
    min-height:411px;
    max-height:411px;
  }
  .fulfillment-recipient-documents-stack{
    height:411px;
    min-height:411px;
    max-height:411px;
  }
  .fulfillment-recipient-documents-stack .fulfillment-recipient-card{
    min-height:0;
  }
}

/* Social Proof behält nur sein Layout; Oberfläche und Abstände kommen aus der globalen Kachelsteuerung. */
.home-review-section .home-testimonial-grid{
  gap:var(--design-card-gap,22px)!important;
}
.home-review-section .home-testimonial{
  position:relative;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-rows:auto auto auto minmax(0,1fr) auto!important;
  column-gap:14px;
  row-gap:10px;
  height:290px;
  min-height:290px;
  max-height:290px;
  align-content:stretch;
  overflow:hidden;
}
.home-review-section .home-review-product-link,
.home-review-section .home-review-product-image{
  grid-column:2;
  grid-row:1 / span 2;
  width:52px;
  height:52px;
  max-width:52px;
  object-fit:cover;
  border-radius:10px;
  align-self:start;
}
.home-review-section .home-review-stars-row{
  grid-column:1;
  grid-row:1;
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
  overflow:hidden;
}
.home-review-section .home-review-stars-row .review-product-name{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.home-review-section .home-review-meta{
  grid-column:1;
  grid-row:2;
  min-width:0;
}
.home-review-section .home-review-title{
  grid-column:1 / -1;
  grid-row:3;
  margin:0;
  min-height:1.25em;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.home-review-section .home-testimonial blockquote{
  grid-column:1 / -1;
  grid-row:4;
  margin:0;
  min-height:0;
  max-height:none;
  overflow:hidden;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
}
.home-review-section .home-review-date{
  grid-column:1 / -1;
  grid-row:5;
  align-self:end;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.home-faq-section .home-faq-list{gap:var(--design-card-gap,22px)!important;}
@media(max-width:900px){
  .home-review-section .home-testimonial{
    height:290px;
    min-height:290px;
    max-height:290px;
  }
}

/* Footer-Zahlungsarten: ausschließlich kompakte Logos ohne Text oder Trenner. */

.footer-payment-terms span+span:before{content:"·";margin-right:18px;opacity:.55;content:none!important;margin:0!important;}

.footer-payment-item>span{display:none!important}

@media(max-width:640px){.footer-payment-terms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));white-space:normal;gap:6px 14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-items:center;white-space:normal;display:flex!important;grid-template-columns:none!important;gap:7px!important;}}

/* 1.0.10.72: Optionale FAQ-Gesamtbox und Footer-Zahlungslogos auf Navigationshöhe. */
.home-global-card-block.home-outer-card-disabled > .container,
.home-global-card-block.home-outer-card-disabled > .home-block-container-full{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:0!important;
}
.footer-grid.has-payment-logos{
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
}
.footer-grid.has-payment-logos .footer-left{justify-self:start}
.footer-grid.has-payment-logos .footer-payment-terms{justify-self:center}
.footer-grid.has-payment-logos .footer-right{justify-self:end}
.footer-payment-terms{display:flex;justify-content:center;align-items:center;gap:8px 18px;flex-wrap:nowrap;margin:16px auto 4px;text-align:center;white-space:nowrap;font-size:.92em;display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:nowrap;display:flex!important;justify-content:center;align-items:center;gap:8px!important;flex-wrap:wrap!important;white-space:normal!important;
  margin:0!important;
  min-height:32px;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  flex-wrap:nowrap!important;}
.footer-payment-item{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;display:inline-flex!important;align-items:center;justify-content:center;gap:0!important;line-height:1;display:inline-flex;align-items:center;justify-content:center;line-height:1;}
.footer-payment-item svg{width:28px;height:18px;display:block;width:30px!important;height:20px!important;display:block;width:42px!important;height:27px!important;display:block;}
@media(max-width:760px){
  .footer-grid.has-payment-logos{grid-template-columns:1fr 1fr;align-items:start}
  .footer-grid.has-payment-logos .footer-payment-terms{grid-column:1/-1;grid-row:2;justify-self:center;margin-top:12px!important;display:flex!important;flex-wrap:wrap!important}
  .footer-grid.has-payment-logos .footer-right{justify-self:end}
}
.footer-payment-terms .footer-payment-item+.footer-payment-item::before{content:none!important;display:none!important}


/* 1.0.10.74: Social Proof ohne doppelte äußere Gesamtbox.
   Bei deaktivierter Außenbox bleibt ausschließlich der Bewertungsinhalt bestehen. */
.home-review-section.home-outer-card-disabled{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
  margin-left:0!important;
  margin-right:0!important;
  max-width:none!important;
}
.home-review-section.home-outer-card-disabled::before,
.home-review-section.home-outer-card-disabled::after{
  display:none!important;
}
.home-review-section.home-outer-card-disabled > .container,
.home-review-section.home-outer-card-disabled > .home-block-container-full{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding-left:0!important;
  padding-right:0!important;
}

/* Einstellungen: Sicherheitskarten, drei Hauptbereiche und mobile Footer-Rechtslinks. */

.settings-card-grid-v2>.settings-admin-security,
.settings-card-grid-v2>.settings-analysis-security{grid-column:span 3;margin:0;height:100%}

.settings-card-grid-v2>.settings-section-full,
.settings-card-grid-v2>.system-mail-settings{grid-column:1/-1}
@media(max-width:1180px){
  
  .settings-card-grid-v2>.settings-admin-security,
  .settings-card-grid-v2>.settings-analysis-security,
  .settings-card-grid-v2>.settings-main-shop,
  .settings-card-grid-v2>.settings-main-orders,
  .settings-card-grid-v2>.settings-main-email,
  .settings-card-grid-v2>.settings-main-international{grid-column:span 1}
  .settings-card-grid-v2>.settings-main-email,
  .settings-card-grid-v2>.settings-main-international{grid-column:1/-1}
}
@media(max-width:760px){
  .settings-card-grid-v2{grid-template-columns:1fr}
  .settings-card-grid-v2>*{grid-column:1!important}
  .footer-right a{display:block;margin:.22rem 0}
  .footer-right .footer-legal-separator{display:none}
}
.settings-card-grid-v2{
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:18px;
  align-items:stretch;grid-template-areas:"shop shop shop shop shop shop" "orders orders orders email email email" "orders orders orders international international international";}
.settings-card-grid-v2>.settings-admin-security{grid-area:security}
.settings-card-grid-v2>.settings-analysis-security{grid-area:analysis}
.settings-card-grid-v2>.settings-main-shop{grid-area:shop}
.settings-card-grid-v2>.settings-main-orders{grid-area:orders}
.settings-card-grid-v2>.settings-main-email{grid-area:email}
.settings-card-grid-v2>.settings-main-international{grid-area:international}
@media(max-width:1180px){.settings-card-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:none;}.settings-card-grid-v2>.settings-admin-security,.settings-card-grid-v2>.settings-analysis-security,.settings-card-grid-v2>.settings-main-shop,.settings-card-grid-v2>.settings-main-orders,.settings-card-grid-v2>.settings-main-email,.settings-card-grid-v2>.settings-main-international{grid-area:auto}}

/* Keep the Social-Proof carousel stable regardless of global card spacing. */
.home-testimonial-carousel{position:relative;--social-proof-card-gap:18px;overflow:hidden;max-width:100%;}
.home-testimonial-carousel .home-testimonial-grid{display:flex;grid-template-columns:none;align-items:stretch;will-change:transform;gap:var(--social-proof-card-gap)!important;width:100%;max-width:100%;min-width:0;box-sizing:border-box;}
.home-testimonial-carousel .home-testimonial{height:290px;min-height:290px;max-height:290px;display:grid;align-content:stretch;overflow:hidden;grid-template-rows:auto auto auto minmax(0,1fr) auto!important;flex:0 0 calc((100% - (2 * var(--social-proof-card-gap))) / 3)!important;width:calc((100% - (2 * var(--social-proof-card-gap))) / 3)!important;max-width:calc((100% - (2 * var(--social-proof-card-gap))) / 3)!important;min-width:0!important;box-sizing:border-box!important;}
.home-testimonial-carousel .home-testimonial>*{min-width:0;max-width:100%;box-sizing:border-box;}
.home-testimonial-carousel .home-testimonial img{max-width:100%;height:auto;}


.product-quantity-control{display:flex;flex-direction:column;align-items:center;text-align:center}.product-quantity-control>label{width:100%;text-align:center;margin-bottom:6px}.product-quantity-control .quantity-stepper{margin-inline:auto}

.admin-menu-count{font-weight:800;color:inherit}

.dashboard-priority-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:18px;margin-bottom:18px}.dashboard-priority-stack>article{min-width:0;height:100%}.security-hint-lines{display:grid;gap:0;margin-top:8px}.security-hint-lines>div{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:11px 0;border-bottom:1px solid #e5e7eb}.security-hint-lines>div:last-child{border-bottom:0}.security-hint-lines span{color:#64748b}.security-hint-lines strong{text-align:right}@media(max-width:980px){.dashboard-priority-stack,.dashboard-priority-stack.dashboard-priority-stack-three{grid-template-columns:1fr}.dashboard-priority-stack.dashboard-priority-stack-three .dashboard-security-card{grid-column:auto}}

.range-with-output{display:grid;grid-template-columns:minmax(180px,1fr) 86px;align-items:center;gap:12px}.range-with-output output{font-weight:700;text-align:right}

/* Funnel: ohne Bild darf die Bild-/Text-Anordnung die Inhaltsausrichtung nicht beeinflussen. */
body[class*="funnel-template-"] .funnel-section.funnel-no-media .funnel-section-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"content"!important}
body[class*="funnel-template-"] .funnel-section.funnel-no-media .funnel-section-content{grid-column:1!important;grid-row:1!important;order:initial!important;width:100%;max-width:var(--funnel-text-width,860px)}
body[class*="funnel-template-"] .funnel-section.funnel-no-media.funnel-align-left .funnel-section-content{margin-left:0!important;margin-right:auto!important;text-align:left!important}
body[class*="funnel-template-"] .funnel-section.funnel-no-media.funnel-align-center .funnel-section-content{margin-left:auto!important;margin-right:auto!important;text-align:center!important}
body[class*="funnel-template-"] .funnel-section.funnel-no-media.funnel-align-right .funnel-section-content{margin-left:auto!important;margin-right:0!important;text-align:right!important}
body[class*="funnel-template-"] .funnel-section.funnel-no-media.funnel-align-center .funnel-trust-line{justify-content:center}
body[class*="funnel-template-"] .funnel-section.funnel-no-media.funnel-align-right .funnel-trust-line{justify-content:flex-end}




.funnel-logo-items-editor{display:grid;gap:10px}.funnel-logo-item-row label{margin:0}.funnel-logo-item-row button{margin-bottom:1px}
@media(max-width:900px){.funnel-logo-item-row{grid-template-columns:1fr}}

/* Admin-Sicherheit und Analyse/Datenschutz dauerhaft als gemeinsame Reihe. */
.settings-security-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch;margin-bottom:18px}
.settings-security-row>.settings-section{margin:0;height:100%;min-width:0}
@media(max-width:980px){.settings-security-row{grid-template-columns:1fr}}

/* Partnerlogos: sichere SVG-Karten, maximal sechs pro Zeile und mindestens 25 px Seitenabstand. */




.funnel-partner-logo-card .funnel-partner-logo-break{display:block;content:"";height:0}

.funnel-logo-settings-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.funnel-logo-item-row{display:grid;grid-template-columns:1fr 1.2fr 1.2fr auto;gap:8px;align-items:end;padding:10px;border:1px solid var(--border,#d8dee8);border-radius:10px;grid-template-columns:minmax(190px,1.15fr) minmax(160px,1fr) minmax(180px,1fr) auto;align-items:end;}
.funnel-logo-upload-field{display:grid;gap:7px;min-width:0}
.funnel-logo-upload-label{font-weight:700;font-size:.76rem}
.funnel-logo-admin-preview{display:grid;place-items:center;min-height:86px;padding:10px;border:1px dashed var(--border,#d8dee8);border-radius:10px;background:#f8fafc;overflow:hidden}
.funnel-logo-admin-preview img{display:block;width:100%;height:66px;object-fit:contain;object-position:center}
.funnel-logo-admin-preview span{color:#64748b;font-size:.78rem}
.funnel-logo-upload-actions{display:flex;flex-wrap:wrap;gap:6px}
@media(max-width:1100px){.funnel-logo-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.funnel-logo-item-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.funnel-partner-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-columns:repeat(min(3,var(--funnel-logo-columns,3)),minmax(0,1fr));width:100%;}}
@media(max-width:640px){body[class*="funnel-template-"] .funnel-section.funnel-type-logo_bar.funnel-content-width-full > .container{width:calc(100% - 50px)}.funnel-partner-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.funnel-logo-settings-grid,.funnel-logo-item-row{grid-template-columns:1fr}}


/* Partnerlogos: breite, anzahlabhängige Karten; maximal 7 pro Zeile; 50 px Seitenabstand. */
body[class*="funnel-template-"] .funnel-section.funnel-type-logo_bar > .container{
  box-sizing:border-box;
  width:min(var(--funnel-block-width,1180px),calc(100% - 100px));
  max-width:none;
  margin-inline:auto;
  padding-inline:0;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-logo_bar.funnel-content-width-full > .container{
  width:calc(100% - 50px);
  max-width:none;
  margin-inline:auto;
  width:calc(100% - 100px);
  max-width:none;}




@media(max-width:760px){
  
  
  .funnel-partner-logo-card{min-height:130px;padding:16px}
}


/* 2026-08-06: Partnerlogos anzahlabhängig über die verfügbare Breite verteilen. */
body[class*="funnel-template-"] .funnel-section.funnel-type-logo_bar > .container,
body[class*="funnel-template-"] .funnel-section.funnel-type-logo_bar.funnel-content-width-full > .container{
  box-sizing:border-box;
  width:calc(100% - 100px);
  max-width:none;
  margin-inline:auto;
  padding-inline:0;
}
.funnel-partner-logo-grid{display:grid;grid-template-columns:repeat(var(--funnel-logo-visible,4),minmax(0,var(--funnel-logo-card-width,220px)));justify-content:center;gap:var(--funnel-block-gap,20px);align-items:stretch;
  width:min(100%,calc((var(--funnel-logo-columns,4) * var(--funnel-logo-card-width,220px)) + ((var(--funnel-logo-columns,4) - 1) * var(--funnel-block-gap,20px))));
  margin-inline:auto;
  grid-template-columns:repeat(var(--funnel-logo-columns,4),minmax(0,1fr));
  display:grid;
  width:100%;
  max-width:none;
  margin-inline:auto;
  grid-template-columns:repeat(var(--funnel-logo-columns,4),minmax(0,1fr));
  gap:clamp(12px,var(--funnel-block-gap,20px),28px);
  align-items:stretch;
  display:grid;
  width:100%;
  max-width:none;
  grid-template-columns:repeat(var(--funnel-logo-columns,4),minmax(0,1fr));
  gap:clamp(14px,1.7vw,26px);
  align-items:stretch;}
.funnel-partner-logo-card{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:18px;border:var(--funnel-block-border,0px) solid var(--funnel-border,#e2e8f0);border-radius:var(--funnel-block-radius,18px);background:var(--funnel-custom-card,#fff);text-align:center;text-decoration:none;color:inherit;min-height:130px;overflow:hidden;
  width:100%;
  min-width:0;
  min-height:150px;
  padding:clamp(16px,2vw,26px);
  width:100%;
  max-width:none;
  min-width:0;
  min-height:160px;
  padding:clamp(18px,2vw,30px);
  overflow:hidden;}
.funnel-partner-logo-card img{display:block;max-width:100%;height:72px;object-fit:contain;margin:auto;width:100%;max-width:100%;height:82px;object-fit:contain;object-position:center;flex:0 0 auto;
  width:100%;
  max-width:180px;
  height:88px;
  margin-inline:auto;max-width:min(100%,200px);height:92px;object-fit:contain;}
.funnel-partner-logo-card span{margin-top:10px;font-weight:700;display:block;width:100%;margin-top:12px;line-height:1.35;overflow-wrap:anywhere;overflow-wrap:normal;word-break:normal;hyphens:auto;}
@media(max-width:1100px){.funnel-partner-logo-grid{grid-template-columns:repeat(min(4,var(--funnel-logo-columns,4)),minmax(0,1fr));grid-template-columns:repeat(min(4,var(--funnel-logo-columns,4)),minmax(0,1fr));}}
@media(max-width:760px){
  body[class*="funnel-template-"] .funnel-section.funnel-type-logo_bar > .container,
  body[class*="funnel-template-"] .funnel-section.funnel-type-logo_bar.funnel-content-width-full > .container{
    width:calc(100% - 50px);width:calc(100% - 50px);}
  .funnel-partner-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
}
@media(max-width:430px){.funnel-partner-logo-grid{grid-template-columns:1fr;grid-template-columns:1fr;}}

/* E-Mail-Vorlagen direkt unter den drei Hauptboxen einordnen. */
.settings-card-grid-v2>.settings-main-shop,
.settings-card-grid-v2>.settings-main-orders,
.settings-card-grid-v2>.settings-main-email,
.settings-card-grid-v2>.settings-main-international{margin:0;height:100%;order:1;}
.settings-card-grid-v2>.system-mail-settings{order:2}
.settings-card-grid-v2>.settings-section:not(.settings-main-shop):not(.settings-main-orders):not(.settings-main-email):not(.settings-main-international):not(.system-mail-settings){order:3}


/* 2026-08-06: Partnerlogo-Block darf nicht von der allgemeinen Textbreite begrenzt werden. */
body[class*="funnel-template-"] .funnel-section.funnel-type-logo_bar .funnel-section-layout{
  display:block!important;
  width:100%!important;
  max-width:none!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-logo_bar .funnel-section-content{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-inline:0!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-type-logo_bar .funnel-partner-logo-grid{
  width:100%!important;
  max-width:none!important;
  justify-content:stretch!important;
}
/* Explizite responsive Spaltenzahlen; CSS min() als repeat-Zähler ist nicht browserübergreifend gültig. */
@media(max-width:1100px){
  body[class*="funnel-template-"] .funnel-section.funnel-type-logo_bar .funnel-partner-logo-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}
@media(max-width:760px){
  body[class*="funnel-template-"] .funnel-section.funnel-type-logo_bar .funnel-partner-logo-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:430px){
  body[class*="funnel-template-"] .funnel-section.funnel-type-logo_bar .funnel-partner-logo-grid{
    grid-template-columns:1fr!important;
  }
}

/* 2026-08-06: stabile Reihenfolge der allgemeinen Einstellungen. */
.settings-main-form{display:grid;gap:18px;min-width:0}
.settings-main-form>.settings-primary-three{width:100%;min-width:0}
.settings-main-form>.system-mail-settings{width:100%;min-width:0;margin:0}

/* Funnel-Vertrauenszeile: Symbol und Text können separat eingefärbt werden. */
.funnel-trust-line{margin-top:20px;color:var(--funnel-success);font-weight:800;display:flex;align-items:center;gap:8px;align-items:flex-start;white-space:normal;line-height:1.5;color:var(--funnel-trust-text-color,var(--funnel-success));}
.funnel-trust-line .funnel-trust-icon{color:var(--funnel-trust-icon-color,var(--funnel-success))}
.funnel-trust-line .funnel-trust-text{color:var(--funnel-trust-text-color,var(--funnel-success))}
.funnel-trust-color-row{display:grid;grid-template-columns:minmax(140px,180px) minmax(140px,180px) minmax(220px,1fr);gap:14px;align-items:end;margin-top:10px}
.funnel-trust-color-row>label:not(.settings-checkbox-row){display:grid;gap:6px}.funnel-trust-color-row input[type=color]{width:100%;min-height:42px;padding:3px}
@media(max-width:760px){.funnel-trust-color-row{grid-template-columns:1fr 1fr}.funnel-trust-default-color{grid-column:1/-1}}
/* Funnel alignment controls: header and content positioning are intentionally independent. */
body[class*="funnel-template-"] .funnel-section.funnel-align-left .funnel-section-content{text-align:left!important}
body[class*="funnel-template-"] .funnel-section.funnel-align-center .funnel-section-content{text-align:center!important}
body[class*="funnel-template-"] .funnel-section.funnel-align-right .funnel-section-content{text-align:right!important}
body[class*="funnel-template-"] .funnel-section.funnel-type-newsletter.funnel-align-left .funnel-newsletter-card{text-align:left!important}
body[class*="funnel-template-"] .funnel-section.funnel-type-newsletter.funnel-align-center .funnel-newsletter-card{text-align:center!important}
body[class*="funnel-template-"] .funnel-section.funnel-type-newsletter.funnel-align-right .funnel-newsletter-card{text-align:right!important}
body[class*="funnel-template-"] .funnel-section.funnel-type-newsletter.funnel-align-center .home-newsletter-input-row{justify-content:center;}
body[class*="funnel-template-"] .funnel-section.funnel-type-newsletter.funnel-align-right .home-newsletter-input-row{justify-content:flex-end;}

/* 2026-08-07: Funnel-Ausrichtung zuverlässig pro Header-Element und sichere Vollbreite. */
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-section-heading{
  width:100%!important;
  max-width:100%!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-section-heading > .funnel-eyecatcher-text,
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-section-heading > h1,
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-section-heading > h2,
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-section-heading > .funnel-subheading{
  align-self:stretch!important;
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
/* "Gesamte Inhaltsbreite" nutzt die konfigurierte maximale Funnelbreite,
   hält auf Desktop aber immer 150 px Sicherheitsabstand zu beiden Außenrändern. */
body[class*="funnel-template-"] .funnel-section.funnel-content-width-full > .container,
body[class*="funnel-template-"] .funnel-section.funnel-type-logo_bar.funnel-content-width-full > .container{
  box-sizing:border-box!important;
  width:min(var(--funnel-container,1600px),calc(100% - 300px))!important;
  max-width:var(--funnel-container,1600px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-content-width-full .funnel-section-content{
  width:100%!important;
  max-width:none!important;
}
@media(max-width:1100px){
  body[class*="funnel-template-"] .funnel-section.funnel-content-width-full > .container,
  body[class*="funnel-template-"] .funnel-section.funnel-type-logo_bar.funnel-content-width-full > .container{
    width:calc(100% - 100px)!important;
  }
}
@media(max-width:700px){
  body[class*="funnel-template-"] .funnel-section.funnel-content-width-full > .container,
  body[class*="funnel-template-"] .funnel-section.funnel-type-logo_bar.funnel-content-width-full > .container{
    width:calc(100% - 48px)!important;
  }
}

/* 2026-08-07: Funnel-Header-Steuerung kompakt oberhalb der Abstandsregler. */
.funnel-header-alignment-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 10px}
.funnel-header-alignment-controls label{display:grid;gap:5px;font-size:.82rem;font-weight:700}
.funnel-header-alignment-controls select{min-height:34px;padding:5px 30px 5px 9px;font-size:.82rem}
@media(max-width:760px){.funnel-header-alignment-controls{grid-template-columns:1fr}}

/* Funnelblock- und Inhaltsbreite verwenden dieselbe wirksame Breite. Template-Textlimits
   dürfen individuell konfigurierte Blöcke nicht zusätzlich verengen. */
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom:not(.funnel-content-width-full) > .container{
  box-sizing:border-box!important;
  width:min(calc(100% - 40px),var(--funnel-block-width,1180px))!important;
  max-width:var(--funnel-block-width,1180px)!important;
  margin-inline:auto!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-section-heading,
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-section-content{
  width:100%!important;
  max-width:100%!important;
}
@media(max-width:640px){body[class*="funnel-template-"] .funnel-section.funnel-phase-custom:not(.funnel-content-width-full) > .container{width:calc(100% - 24px)!important}}
/* Funnel WYSIWYG rich images */
.funnel-rich-image{max-width:100%;height:auto}
.funnel-rich-image-left{display:block;margin:12px auto 12px 0}
.funnel-rich-image-center{display:block;margin:12px auto}
.funnel-rich-image-right{display:block;margin:12px 0 12px auto}
.prose img.funnel-rich-image,.funnel-copy img.funnel-rich-image,.newsletter-stage-content img.funnel-rich-image{max-width:100%;height:auto}

/* Dashboard: obere Kennzahlen und Prioritaetskarten teilen dasselbe 3-Spalten-Raster. */
.dashboard-metrics.dashboard-metrics-primary{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.dashboard-metrics.dashboard-metrics-primary>.dashboard-today-card{grid-column:1/-1}
.dashboard-priority-stack.dashboard-priority-stack-three{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr));width:100%;}
@media(max-width:1180px){
 .dashboard-metrics.dashboard-metrics-primary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dashboard-metrics.dashboard-metrics-primary>.dashboard-today-card{grid-column:1/-1}
 .dashboard-priority-stack.dashboard-priority-stack-three{grid-template-columns:1fr 1fr;grid-template-columns:repeat(2,minmax(0,1fr));}
 .dashboard-priority-stack.dashboard-priority-stack-three .dashboard-security-card{grid-column:1/-1;grid-column:1/-1;}
}
@media(max-width:700px){
 .dashboard-metrics.dashboard-metrics-primary,.dashboard-priority-stack.dashboard-priority-stack-three{grid-template-columns:1fr}
 .dashboard-metrics.dashboard-metrics-primary>.dashboard-today-card,.dashboard-priority-stack.dashboard-priority-stack-three .dashboard-security-card{grid-column:auto}
}

/* 2026-08-07: Individuelle Funnel-Inhaltsbreite darf nicht durch die alte 760px Copy-Grenze blockiert werden. */
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom .funnel-section-content > .funnel-copy,
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom.funnel-no-media .funnel-section-content > .funnel-copy{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  margin-top:20px!important;
  margin-bottom:20px!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom.funnel-align-left .funnel-section-content > .funnel-copy{
  margin-left:0!important;
  margin-right:0!important;
  text-align:left!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom.funnel-align-center .funnel-section-content > .funnel-copy{
  margin-left:0!important;
  margin-right:0!important;
  text-align:center!important;
}
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom.funnel-align-right .funnel-section-content > .funnel-copy{
  margin-left:0!important;
  margin-right:0!important;
  text-align:right!important;
}
/* Ohne Bild muss die Inhaltsflaeche exakt der konfigurierten Blockbreite folgen. */
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom.funnel-no-media .funnel-section-layout,
body[class*="funnel-template-"] .funnel-section.funnel-phase-custom.funnel-no-media .funnel-section-content{
  width:100%!important;
  max-width:100%!important;
}

.review-discount-code-used del{opacity:.72}.review-discount-used-check{color:#16803a;font-weight:800;font-size:1.15em;margin-left:4px}

/* 2026-08: Warenkorb folgt der globalen Shop-Inhaltsbreite wie Header und Hauptinhalt. */
body.public-page.page-cart .cart-container,
body.public-page .cart-container{
  width:min(var(--container-width,1180px),96%)!important;
  max-width:none!important;
  margin-inline:auto!important;
}
@media(max-width:760px){
  body.public-page.page-cart .cart-container,
  body.public-page .cart-container{width:min(var(--container-width,1180px),96%)!important;}
}

/* Monitoring: Datenbankverwaltung bleibt standardmäßig zugeklappt und wird erst nach 2FA freigegeben. */
.monitoring-database-manager{padding:0;overflow:hidden}.monitoring-database-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;cursor:pointer;list-style:none}.monitoring-database-summary::-webkit-details-marker{display:none}.monitoring-database-summary>span:first-child{display:grid;gap:3px}.monitoring-database-summary>span:first-child:before{content:"▸";display:inline-block;margin-right:8px}.monitoring-database-manager[open] .monitoring-database-summary>span:first-child:before{content:"▾"}.monitoring-database-content{padding:0 20px 20px;border-top:1px solid var(--border,#e2e8f0)}.monitoring-security-gate{margin:16px 0;padding:16px;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc}.monitoring-security-gate.is-warning{background:#fff7ed;border-color:#fdba74}.monitoring-security-gate.is-ok{background:#f0fdf4;border-color:#86efac}.monitoring-db-2fa-actions{display:grid;grid-template-columns:auto minmax(260px,420px);gap:14px;align-items:end}.monitoring-db-2fa-actions form:last-child{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:10px;align-items:end}.monitoring-db-totp-form{display:grid;grid-template-columns:minmax(220px,420px) auto;gap:10px;align-items:end;max-width:620px}.newsletter-pillow-toggle{display:flex!important;align-items:center!important;gap:9px!important;margin:0!important;min-height:42px}.newsletter-pillow-toggle input{order:0!important;margin:0!important;flex:0 0 auto}.newsletter-pillow-toggle span{order:1!important}@media(max-width:760px){.monitoring-db-2fa-actions,.monitoring-db-2fa-actions form:last-child,.monitoring-db-totp-form{grid-template-columns:1fr}}

/* Bewertungsrabatte: bereits genutzte Codes eindeutig deaktiviert darstellen */
.review-discount-actions button:disabled,
.review-discount-actions input:disabled {
  opacity: 1;
  cursor: not-allowed !important;
  pointer-events: none;
  filter: none;
}
.review-discount-actions button.btn:disabled,
.review-discount-actions button.btn.danger:disabled {
  background: #e5e7eb !important;
  border-color: #d1d5db !important;
  color: #6b7280 !important;
  box-shadow: none !important;
}
.review-discount-actions input:disabled {
  background: #f3f4f6 !important;
  border-color: #d1d5db !important;
  color: #9ca3af !important;
}




/* Produkt-Warenkorb: dezentes synchrones Erfolgsfeedback */
.product-cart-button.is-cart-success{font-size:1.35rem;line-height:1;animation:productCartSuccessGlow 2s ease-in-out both;}
.product-cart-success-thumb{display:inline-block;animation:productCartSuccessThumb 2s ease-in-out both}
@keyframes productCartSuccessThumb{0%,100%{opacity:0;transform:scale(.9)}18%,78%{opacity:1;transform:scale(1)}}
@keyframes productCartSuccessGlow{0%,100%{box-shadow:0 0 0 0 rgba(255,255,255,0);outline-color:transparent}18%,78%{box-shadow:0 0 0 3px rgba(255,255,255,.38),0 0 16px rgba(255,255,255,.18);outline:1px solid rgba(255,255,255,.52);outline-offset:2px}}

/* Kopfzeile: Warenkorb, Konto, Logout und Admin typografisch angleichen */
body.public-page .header-actions .nav-links a,body.public-page .header-actions .nav-links span,body.public-page .header-actions .logout-link{font:inherit;font-size:var(--header-font-size);line-height:1.35;font-weight:inherit}

/* Aftersales-Archiv: eingeklappte Vorgänge und kompakte 10er-Paginierung */
.aftersales-collapsible{overflow:hidden}.aftersales-collapsible-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;cursor:pointer;list-style:none}.aftersales-collapsible-summary::-webkit-details-marker{display:none}.aftersales-collapsible-summary>span:first-child{display:grid;gap:3px}.aftersales-collapsible-summary small{font-weight:400}.aftersales-collapsible-summary:after{content:"⌄";font-size:1.25rem;transition:transform .18s ease}.aftersales-collapsible[open]>.aftersales-collapsible-summary:after{transform:rotate(180deg)}.aftersales-collapsible-body{border-top:1px solid var(--card-border,#dfe5ec)}.aftersales-pagination{display:flex;justify-content:center;align-items:center;gap:12px;margin:20px 0}.aftersales-pagination .btn{min-width:44px;text-align:center}.aftersales-pagination .is-disabled{opacity:.4;pointer-events:none}

/* Produktkarten: Kategorie und Produktname immer in festen Zeilen, damit Preise ausgerichtet bleiben */
body.public-page .product-card-kicker{align-items:baseline;flex-wrap:wrap;margin:0;display:grid;grid-template-rows:auto auto;align-content:start;gap:2px;min-height:3.9em;}
body.public-page .product-card-kicker .product-card-category,
body.public-page .product-card-kicker .product-card-name{display:block;width:100%;min-width:0;}
body.public-page .product-card-kicker .product-card-category{font-size:var(--product-category-font-size);font-weight:650;color:var(--muted);min-height:1.3em;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
body.public-page .product-card-kicker .product-card-category.is-empty{visibility:hidden;}
body.public-page .product-card-kicker .product-card-name{font-size:var(--product-title-font-size);font-weight:800;color:var(--heading);min-height:2.6em;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
body.public-page .product-card-kicker .product-card-separator{font-size:var(--product-category-font-size);color:var(--muted);font-weight:500;display:none!important;}

/* Mein Konto – Nochmal kaufen: Bestelldaten links, bis zu drei eindeutige Hauptbilder rechts */
.reorder-order-table{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px;align-items:center}
.reorder-order-main{display:flex;align-items:center;gap:30px;min-width:0}
.reorder-order-content{min-width:260px;flex:0 1 auto}
.reorder-order-images{display:flex;justify-content:flex-start;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}
.reorder-order-images a{display:block;line-height:0}
.reorder-order-images img{width:112px;height:112px;object-fit:contain;border:1px solid var(--border);border-radius:4px;background:#fff}
.reorder-order-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;max-width:280px}
.reorder-unavailable-message{margin:0;max-width:280px;text-align:center;font-size:.86rem;color:var(--muted);line-height:1.35}
.aftersales-archive-picker{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:12px 0 18px}
.aftersales-archive-picker label{display:grid;gap:5px;font-weight:700}
.aftersales-archive-picker select{min-width:190px}
.aftersales-archive-action{display:flex;justify-content:flex-end;margin-top:12px}
@media(max-width:700px){.reorder-order-table{grid-template-columns:1fr;gap:18px}.reorder-order-main{display:grid;grid-template-columns:1fr;gap:12px}.reorder-order-images{justify-content:flex-start}.reorder-order-images img{width:96px;height:96px}.reorder-order-action{align-items:flex-start;max-width:none}.reorder-unavailable-message{text-align:left;max-width:none}}

/* Mein Konto – Bewertungen: kompakt einklappbar, fünf pro Seite */
.account-review-card{margin-bottom:16px;padding:0;overflow:hidden;}.account-review-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;cursor:pointer;list-style:none}.account-review-summary::-webkit-details-marker{display:none}.account-review-summary>span:first-child{display:grid;gap:4px;min-width:0}.account-review-summary small{display:block;font-weight:400;color:var(--muted)}.account-review-summary:after{content:"⌄";font-size:1.2rem;transition:transform .18s ease}.account-review-card[open]>.account-review-summary:after{transform:rotate(180deg)}.account-review-body{border-top:1px solid var(--card-border,#dfe5ec)}.account-pagination-arrows .btn{min-width:44px;text-align:center}

.monitoring-db-help{display:block}.monitoring-db-help>summary{display:flex;align-items:center;gap:8px;width:max-content;max-width:100%;cursor:pointer;list-style:none}.monitoring-db-help>summary::-webkit-details-marker{display:none}.monitoring-db-help-icon{display:inline-grid;place-items:center;width:20px;height:20px;border:1px solid currentColor;border-radius:50%;font-weight:800;font-size:12px;line-height:1;flex:0 0 auto}.monitoring-db-help-text{display:none;margin-top:8px;max-width:520px;padding:10px 12px;border:1px solid var(--border,#d8dee8);border-radius:10px;background:var(--card,#fff);color:var(--text,#1f2937);font-size:.88rem;line-height:1.45}.monitoring-db-help[open]>.monitoring-db-help-text{display:block}.monitoring-db-clear-form{display:flex;align-items:center;gap:12px;min-width:280px;flex-wrap:nowrap}.monitoring-db-clear-form .btn{margin:0;flex:0 0 auto}.monitoring-db-clear-form .btn:disabled{opacity:.48;filter:grayscale(1);cursor:not-allowed;box-shadow:none}.monitoring-db-confirm{display:inline-flex!important;align-items:center!important;gap:7px!important;margin:0!important;white-space:nowrap;line-height:1.2}.monitoring-db-confirm input{margin:0!important;flex:0 0 auto}.monitoring-db-confirm span{display:inline-block}.monitoring-db-table td{vertical-align:middle}@media(max-width:720px){.monitoring-db-clear-form{flex-wrap:wrap;min-width:0}}
/* Monitoring Datenbankhilfe: separate Tabellenzeile statt überlagerndem Popup */
.monitoring-db-name{display:flex;align-items:center;gap:8px;min-width:0}.monitoring-db-name code{overflow-wrap:anywhere}.monitoring-db-help-toggle{appearance:none;border:0;background:transparent;padding:0;margin:0;display:inline-grid;place-items:center;color:inherit;cursor:pointer;flex:0 0 auto}.monitoring-db-help-toggle:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:50%}.monitoring-db-help-row[hidden]{display:none!important}.monitoring-db-help-row td{padding-top:0!important;background:color-mix(in srgb,var(--card,#fff) 92%,var(--border,#d8dee8) 8%)}.monitoring-db-help-row .monitoring-db-help-text{display:block!important;max-width:none!important;width:100%;box-sizing:border-box;margin:0 0 10px;padding:12px 14px;border:1px solid var(--border,#d8dee8);border-radius:10px;background:var(--card,#fff);overflow-wrap:anywhere}.monitoring-db-help-row .monitoring-db-help-text strong{display:block;margin-bottom:5px}.monitoring-db-help-row .monitoring-db-help-text p{margin:0;line-height:1.5}.monitoring-db-main-row td{vertical-align:middle}
.lexware-worker-dead-note{margin:10px 0 14px;padding:11px 13px;border:1px solid #e4b9b9;border-radius:10px;background:#fff7f7}.lexware-worker-dead-note strong{display:block;margin-bottom:4px}.lexware-worker-dead-note p{margin:0;line-height:1.5}.lexware-dead-value{color:#b42318}


/* 2026.08.23.7.4: Produktdetail – Desktop-Zwischenraum kompakter. Nur der Grid-Gap wird reduziert. */
@media(min-width:901px){body.public-page.shop-system-active .product-detail-layout{gap:clamp(20px,2.6vw,40px)!important;}}


/* Admin section tabs: shared neutral/accent navigation for Belegjournal and Lexware. */
.admin-section-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:18px 0}
.admin-section-tabs a{display:inline-flex;align-items:center;min-height:40px;padding:9px 13px;border:1px solid var(--card-border,#dbe3ed);border-radius:9px;background:var(--card-bg,#fff);box-shadow:var(--surface-shadow);color:var(--body-text,#1f2937)!important;font-weight:700;text-decoration:none!important;transition:border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease}
.admin-section-tabs a:hover{border-color:var(--accent,#2563eb);background:color-mix(in srgb,var(--accent,#2563eb) 5%,var(--card-bg,#fff));color:var(--accent,#2563eb)!important}
.admin-section-tabs a.active{border-color:var(--accent,#2563eb);background:color-mix(in srgb,var(--accent,#2563eb) 9%,var(--card-bg,#fff));color:var(--accent,#2563eb)!important;box-shadow:inset 0 -2px 0 var(--accent,#2563eb),var(--surface-shadow)}
@media(max-width:900px){.admin-section-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.admin-section-tabs a{white-space:nowrap;flex:0 0 auto}}

/* Admin-Oberfläche: einheitlicher vertikaler Blockabstand und kompakte Zeitraumfilter */
body.admin-page .content{background:#f7f8fa;transition:opacity .14s ease;--admin-block-gap:38px;}
body.admin-page .content>:is(div,section,article,details,form):not([hidden]):not(.flash){margin-bottom:0}
body.admin-page .content>:is(div,section,article,details,form):not([hidden]):not(.flash)~:is(div,section,article,details,form):not([hidden]):not(.flash){margin-top:var(--admin-block-gap)!important}
.admin-period-filter{display:grid!important;grid-template-columns:minmax(170px,220px) minmax(170px,220px) auto!important;align-items:end;justify-content:start;gap:12px!important;width:max-content;max-width:100%;margin-left:0!important;margin-right:0!important}
.admin-period-field,.admin-period-field input{width:100%}.admin-period-apply{width:auto!important;min-width:0;white-space:nowrap;align-self:end}
.stats-period-filter{display:grid;grid-template-columns:minmax(170px,220px) minmax(170px,220px) auto auto;align-items:end;justify-content:start;gap:12px;display:grid;grid-template-columns:minmax(170px,220px) minmax(170px,220px) auto auto;align-items:end;justify-content:start;grid-template-columns:minmax(170px,220px) minmax(170px,220px) auto auto!important;}
.tax-export .admin-period-filter{margin-top:0!important}.tax-export-actions{margin-top:16px}
@media(max-width:800px){.admin-period-filter,.stats-period-filter{grid-template-columns:1fr 1fr!important;width:100%}.admin-period-apply{width:max-content!important}}
@media(max-width:560px){.admin-period-filter,.stats-period-filter{grid-template-columns:1fr!important}.admin-period-apply{width:100%!important}}

/* Monitoring: Ereignisse links (35 %), private Protokolle rechts (65 %). */

.monitoring-log-row{display:grid;grid-template-columns:minmax(0,35fr) minmax(0,65fr);gap:18px;align-items:start}
.monitoring-log-row>section{margin:0!important;min-width:0;height:100%}
.monitoring-log-row .monitoring-filter{grid-template-columns:minmax(105px,.65fr) minmax(145px,1fr);gap:10px}
.monitoring-log-row .monitoring-filter-action{grid-column:1/-1}.monitoring-log-row .monitoring-filter-action .btn{width:auto}
.monitoring-log-row .table-wrap{max-width:100%}
.journey-visitor-overview{min-width:0}.journey-visitor-grid{margin-bottom:18px}
@media(max-width:1100px){.monitoring-log-row{grid-template-columns:1fr}.monitoring-log-row>section{height:auto}}


/* Admin detail polish 2026-08-23.7.4.7 */
.monitoring-summary{margin-bottom:18px;margin-bottom:0!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;}
.maintenance-top-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:38px;align-items:stretch}.maintenance-top-grid>.card{margin:0!important;min-width:0;height:100%}
.payment-toggle-card--mollie-enabled:has(input:checked){border-color:#86efac!important;background:#f0fdf4!important}.payment-toggle-card--mollie-test:has(input:checked){border-color:#fdba74!important;background:#fff7ed!important}
.journal-summary-metrics{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:18px!important}.journal-summary-metrics>.metric-card{min-width:0}
.customer-file-history-grid .customer-history-list{flex:1;max-height:360px;overflow-y:auto;overscroll-behavior:contain;padding-right:5px;scrollbar-gutter:stable;}.customer-file-history-grid .customer-history-list>div{min-height:72px;box-sizing:border-box}
.system-mail-layout{display:grid;grid-template-columns:minmax(0,70fr) minmax(260px,30fr);gap:18px;align-items:start}.system-mail-main{min-width:0}.system-mail-wysiwyg{height:900px;display:flex;flex-direction:column;min-height:0}.system-mail-wysiwyg .system-mail-toolbar{flex:0 0 auto}.system-mail-wysiwyg .system-mail-editor{flex:1 1 auto;height:auto;min-height:0!important;overflow:auto}.system-mail-placeholder-panel{min-width:0;height:900px;box-sizing:border-box;border:1px solid var(--border,#dbe3ec);border-radius:12px;background:#f8fafc;padding:14px;display:flex;flex-direction:column;overflow:hidden}.system-mail-placeholder-head h3{margin:0}.system-mail-placeholder-head p{margin:4px 0 10px}.system-mail-placeholder-list{min-height:0;flex:1 1 auto;overflow-y:auto;display:grid;grid-auto-rows:55px;align-content:start;gap:6px;padding-right:4px;scrollbar-gutter:stable}.system-mail-placeholder-item{display:grid;align-content:center;gap:1px;width:100%;height:55px;padding:6px 9px;text-align:left;border:1px solid #dbe3ec;border-radius:9px;background:#fff;cursor:pointer;overflow:hidden}.system-mail-placeholder-item:hover,.system-mail-placeholder-item:focus-visible{border-color:var(--primary,#2563eb);background:#eff6ff;outline:none}.system-mail-placeholder-item code{font-weight:800;color:var(--primary,#1d4ed8);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.system-mail-placeholder-item span{font-size:.75rem;color:var(--muted,#64748b);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.system-mail-placeholder-status{display:block;min-height:1.2em;margin-top:8px}
@media(max-width:1100px){.journal-summary-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important}.system-mail-layout{grid-template-columns:1fr}.system-mail-placeholder-panel{height:900px}.maintenance-top-grid{gap:24px}}
@media(max-width:900px){.monitoring-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.maintenance-top-grid{grid-template-columns:1fr}.journal-summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){.monitoring-summary,.journal-summary-metrics{grid-template-columns:1fr!important}}

/* Detailpolitur 7.4.8 */
.newsletter-reward-design-grid .newsletter-pillow-toggle{display:grid!important;grid-template-columns:auto auto!important;align-items:center!important;justify-content:start!important;justify-self:start!important;column-gap:9px!important;width:max-content!important;min-width:0!important}.newsletter-reward-design-grid .newsletter-pillow-toggle input{grid-column:1!important;margin:0!important}.newsletter-reward-design-grid .newsletter-pillow-toggle span{grid-column:2!important;white-space:nowrap!important}

/* Admin design dependencies */
.design-admin-form [data-gallery-align-field].is-disabled{opacity:.5}
.design-admin-form [data-gallery-align-field].is-disabled select{cursor:not-allowed}

/* Zahlungsübersicht: zentrale Darstellung für Loader, Kennzahlen und Pagination. */
.payment-overview-loading{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center}
.payment-overview-loading-copy{display:grid;justify-items:center;gap:8px;width:min(100%,680px);margin-inline:auto;text-align:center}
.payment-overview-loading-copy strong,.payment-overview-loading-copy p{margin:0;text-align:center}
.payment-overview-spinner{width:48px;height:48px;flex:0 0 48px;border:5px solid rgba(15,23,42,.14);border-top-color:var(--primary,#2563eb);border-radius:50%;animation:payment-overview-spin .8s linear infinite}
@keyframes payment-overview-spin{to{transform:rotate(360deg)}}
.payment-overview-tabs{margin:18px 0}
.payment-overview-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}
.payment-overview-metrics article{display:grid;gap:7px}
.payment-overview-metrics strong{font-size:1.45rem}
.payment-overview-metrics small{color:var(--muted,#687080)}
.payment-overview-pagination{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:16px}
.payment-overview-pagination .btn{min-width:44px;padding:8px 13px}
.payment-overview-pagination button:disabled{opacity:.4;cursor:not-allowed}
[data-payment-row][hidden]{display:none!important}
@media(max-width:850px){.payment-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.payment-overview-metrics{grid-template-columns:1fr}}

/* Admin Darstellung: einziges Einstellungs-/Vorschau-Layout; die Vorschau selbst kommt aus dem Live-Builder. */
#appearance-form .appearance-workspace{display:grid;align-items:start;}
#appearance-form .appearance-settings-column,#appearance-form .appearance-preview-column{min-width:0;}
#appearance-form .appearance-settings-column{display:grid;gap:18px;}
#appearance-form .appearance-settings-column>.appearance-section{margin:0;height:100%;}
#appearance-form .appearance-color-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:14px;grid-auto-rows:1fr;align-items:stretch;}
#appearance-form .color-control{height:100%;min-height:76px;}
#appearance-form .appearance-preview-column{position:sticky;top:12px;align-self:start;max-height:calc(100vh - 24px);overflow:auto;}
.appearance-gradient-direction{display:grid;grid-template-columns:1fr minmax(180px,260px);align-items:center;gap:12px;margin-top:14px;}
.appearance-compact-group{padding:0!important;overflow:hidden;}
.appearance-compact-group>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;cursor:pointer;font-weight:800;list-style:none;}
.appearance-compact-group>summary::-webkit-details-marker{display:none;}
.appearance-compact-group>summary:after{content:"＋";font-size:18px;}
.appearance-compact-group[open]>summary:after{content:"−";}
.appearance-compact-group>summary small{margin-left:auto;color:var(--muted);font-weight:600;}
.appearance-compact-group>.card-body{padding-top:4px;}
.appearance-savebar{border:1px solid var(--card-border);box-shadow:var(--surface-shadow);display:flex;justify-content:flex-end;align-items:center;gap:10px;position:sticky;bottom:10px;z-index:5;margin-top:18px;padding:12px;background:color-mix(in srgb,var(--admin-content-bg,#f7f8fa) 92%,transparent);backdrop-filter:blur(8px);border-radius:var(--radius,12px);}
.appearance-savebar .muted{margin-right:auto;}
@media(max-width:1100px){#appearance-form .appearance-preview-column{position:static;max-height:none;overflow:visible;}}
@media(max-width:700px){.appearance-gradient-direction{grid-template-columns:1fr;}.appearance-savebar .muted{width:100%;}}

@media (max-width:1100px){.design-workspace,#appearance-form .appearance-workspace,.shop-checkout-builder-workspace{grid-template-columns:1fr!important;}}

@media (max-width:700px){.appearance-savebar{flex-direction:column;flex-wrap:wrap;}}



@media (max-width:900px){.product-detail-info{gap:18px;grid-template-columns:1fr!important;grid-template-rows:auto!important;}}

@media (max-width:900px){.home-testimonial-carousel .home-testimonial{height:290px;min-height:290px;max-height:290px;flex-basis:100%!important;width:100%!important;max-width:100%!important;}}

/* Journaldiagnose: ausschließlich die Status-Pills farblich umranden. */
.journal-diagnostic-status{background:transparent!important;color:inherit!important;border:2px solid currentColor!important;box-shadow:none!important;}
.journal-diagnostic-status-pass{border-color:#16a34a!important;}
.journal-diagnostic-status-fail{border-color:#dc2626!important;}
.journal-diagnostic-status-warn{border-color:#ea580c!important;}

/* Lexware-Diagnose: wie Journal nur die Status-Pills farblich umranden. */
.lexware-check-status{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;border:2px solid currentColor;border-radius:999px;background:transparent!important;color:inherit!important;box-shadow:none!important;font-weight:800;line-height:1;}
.lexware-check-status.is-pass{border-color:#16a34a!important;}
.lexware-check-status.is-fail{border-color:#dc2626!important;}
.lexware-check-status.is-warn{border-color:#ea580c!important;}

/* Funnel-Farbregie: globale Buttonfarben und Farbset-Karussell. */
.funnel-color-control--button{border-top:1px solid var(--card-border);padding-top:10px}
.funnel-color-library{margin:18px 0 22px;padding:16px;border:1px solid var(--card-border);border-radius:14px;background:color-mix(in srgb,var(--card-bg) 94%,var(--accent) 6%)}
.funnel-color-library-head,.funnel-color-library-subhead{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:12px}.funnel-color-library-head strong,.funnel-color-library-subhead strong{display:block}.funnel-color-library-head small{display:block;margin-top:3px;color:var(--muted);line-height:1.45}.funnel-color-library-subhead span,.funnel-color-preset-counter{font-size:.78rem;color:var(--muted);white-space:nowrap}
.funnel-color-carousel{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;gap:8px;align-items:center}.funnel-color-carousel-viewport{min-width:0;overflow:hidden}.funnel-color-carousel-track{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.funnel-color-preset-wrap{position:relative;min-width:0}.funnel-color-carousel-arrow{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--card-border);border-radius:50%;background:var(--card-bg);color:var(--text);font-size:1.45rem;line-height:1;cursor:pointer}.funnel-color-carousel-arrow:disabled{opacity:.3;cursor:not-allowed}
.funnel-color-preset{width:100%;height:100%;min-width:0;padding:11px 36px 11px 11px;border:1px solid var(--card-border);border-radius:12px;background:var(--card-bg);color:var(--text);text-align:left;cursor:pointer;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}.funnel-color-preset:hover:not(:disabled){transform:translateY(-1px);border-color:var(--accent);box-shadow:0 8px 22px rgba(15,23,42,.08)}.funnel-color-preset.is-applied{outline:2px solid var(--accent);outline-offset:1px}.funnel-color-preset:disabled{opacity:.58;cursor:not-allowed}.funnel-color-preset>strong,.funnel-color-preset>small{display:block}.funnel-color-preset>strong{margin-top:8px;font-size:.84rem}.funnel-color-preset>small{margin-top:2px;color:var(--muted);font-size:.72rem;line-height:1.35}.funnel-color-preset-swatches{display:grid;grid-template-columns:repeat(8,1fr);height:20px;overflow:hidden;border:1px solid var(--card-border);border-radius:7px}.funnel-color-preset-swatches i{display:block;background:var(--palette-color)}
.funnel-color-preset-delete{position:absolute;right:7px;top:7px;z-index:2;width:24px;height:24px;padding:0;border:1px solid var(--card-border);border-radius:50%;background:var(--card-bg);color:var(--muted);cursor:pointer;line-height:1}.funnel-color-preset-delete:hover{color:#b42318;border-color:#f0b7b1}.funnel-color-library-saved{margin-top:16px;padding-top:15px;border-top:1px solid var(--card-border)}.funnel-color-library-empty{margin:0 0 12px;font-size:.82rem}.funnel-color-library-save{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-top:12px}.funnel-color-library-save label{margin:0}.funnel-color-library-save input{margin-top:6px}
@media(max-width:620px){.funnel-color-library-save{grid-template-columns:1fr}.funnel-color-library-head,.funnel-color-library-subhead{flex-direction:column;gap:4px}.funnel-color-carousel{grid-template-columns:30px minmax(0,1fr) 30px}.funnel-color-carousel-arrow{width:30px;height:30px}.funnel-color-carousel-track{gap:8px}}

/* WYSIWYG image resizing: one global editor behaviour for all admin rich-text editors. */
.wysiwyg-editor img.is-wysiwyg-resize-target,
.funnel-wysiwyg-editor img.is-wysiwyg-resize-target{
  outline:2px solid var(--accent,#2563eb);
  outline-offset:2px;
}
.wysiwyg-image-resize-handle{
  position:fixed;
  z-index:10050;
  width:18px;
  height:18px;
  padding:0;
  border:2px solid #fff;
  border-radius:4px;
  background:#2563eb;
  box-shadow:0 1px 5px rgba(15,23,42,.35);
  cursor:nwse-resize;
  touch-action:none;
  display:none;
}
.wysiwyg-image-resize-handle::before{
  content:"";
  position:absolute;
  right:3px;
  bottom:3px;
  width:7px;
  height:7px;
  border-right:2px solid #fff;
  border-bottom:2px solid #fff;
}
.wysiwyg-image-resize-handle.is-visible{display:block}
body.is-wysiwyg-image-resizing,
body.is-wysiwyg-image-resizing *{cursor:nwse-resize!important;user-select:none!important}

/* Round 33: produktindividueller E-Mail-Inhalt für digitale Produkte */
.digital-product-mail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.78fr);gap:20px;align-items:start}.digital-product-mail-editor-column,.digital-product-mail-preview-column{min-width:0}.digital-product-mail-wysiwyg{height:560px;display:flex;flex-direction:column;min-height:0}.digital-product-mail-wysiwyg .system-mail-toolbar{flex:0 0 auto}.digital-product-mail-wysiwyg .digital-product-mail-editor{flex:1 1 auto;height:auto;min-height:0!important;overflow:auto}.digital-product-download-link{display:grid;gap:7px;margin-top:16px}.digital-product-mail-preview-column{position:sticky;top:18px;border:1px solid var(--border,#dbe3ec);border-radius:14px;background:#f8fafc;overflow:hidden}.digital-product-mail-preview-head{display:grid;gap:3px;padding:12px 14px;border-bottom:1px solid var(--border,#dbe3ec);background:#fff}.digital-product-mail-preview-head small{color:var(--muted,#64748b);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.digital-product-mail-preview-column iframe{display:block;width:100%;height:620px;border:0;background:#fff}@media(max-width:1100px){.digital-product-mail-layout{grid-template-columns:1fr}.digital-product-mail-preview-column{position:static}.digital-product-mail-preview-column iframe{height:560px}}

/* Round 33: Tabellen-Highlight im Funnel-Builder – Checkbox und Text einzeilig. */
.funnel-comparison-header-field .funnel-comparison-highlight-toggle{
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  width:auto!important;
  min-width:0!important;
  margin:4px 0 6px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  white-space:nowrap!important;
}
.funnel-comparison-header-field .funnel-comparison-highlight-toggle input[type="checkbox"]{
  display:inline-block!important;
  width:14px!important;
  height:14px!important;
  min-width:14px!important;
  flex:0 0 14px!important;
  margin:0!important;
  padding:0!important;
}
.funnel-comparison-header-field .funnel-comparison-highlight-toggle>span{
  display:inline-block!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  font-size:.72rem!important;
  line-height:14px!important;
  font-weight:700!important;
  text-transform:none!important;
  letter-spacing:0!important;
  color:#475569!important;
  white-space:nowrap!important;
}

/* Round33 pricing sale price editor */
.funnel-pricing-editor-price-fields{display:grid;gap:6px}.funnel-pricing-editor-price-fields label+input+label{margin-top:4px}




.funnel-newsletter-align-left .funnel-newsletter-email-label,.funnel-newsletter-align-center .funnel-newsletter-email-label,.funnel-newsletter-align-right .funnel-newsletter-email-label,.funnel-newsletter-align-left .home-newsletter-consent--newsletter-spacing,.funnel-newsletter-align-center .home-newsletter-consent--newsletter-spacing,.funnel-newsletter-align-right .home-newsletter-consent--newsletter-spacing{text-align:left!important;justify-content:flex-start!important}
@media(max-width:760px){.home-newsletter-input-row--newsletter-split{grid-template-columns:1fr!important}.home-newsletter-input-row--newsletter-split .btn{width:100%}}

/* Round 33: Bewertungs-Vorschau mit zwei zusätzlichen Zeilen + sichtbarer Mehr-Anzeigen-Hinweis */
.home-testimonial blockquote,.funnel-review-card blockquote{-webkit-line-clamp:6!important;line-clamp:6!important;max-height:calc(6 * 1.55em)!important;overflow-wrap:break-word!important;word-break:normal!important}.home-testimonial .review-more-indicator,.funnel-review-card .review-more-indicator{display:none;align-self:flex-start;margin:-2px 0 0;padding:0;border:0;background:transparent;color:var(--link,#2563eb);font:inherit;font-size:.82em;font-weight:700;line-height:1.3;cursor:pointer;text-decoration:none!important}.home-testimonial .review-more-indicator.is-visible,.funnel-review-card .review-more-indicator.is-visible{display:inline-flex}.review-detail-card .review-more-indicator{display:none!important}

/* Technische Funnel-Newsletter-Regeln: Honeypot + ausrichtbare E-Mail-Zeile */
body.funnel-runtime-page .newsletter-honeypot,body[class*="funnel-template-"] .newsletter-honeypot{position:fixed!important;top:-10000px!important;left:-10000px!important;right:auto!important;bottom:auto!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;max-width:1px!important;max-height:1px!important;margin:0!important;padding:0!important;border:0!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important;z-index:-1!important}
.funnel-newsletter-field-grid{display:grid!important;grid-template-columns:minmax(220px,50%) auto 1fr;grid-template-rows:auto auto;column-gap:10px;row-gap:7px;align-items:stretch;width:100%;min-width:0}.funnel-newsletter-field-grid .funnel-newsletter-email-label{grid-column:1;grid-row:1;display:block!important;width:auto!important;margin:0!important;text-align:left!important;justify-self:stretch}.funnel-newsletter-field-grid .funnel-newsletter-email-input{grid-column:1;grid-row:2;width:100%!important;min-width:0}.funnel-newsletter-field-grid .funnel-newsletter-submit{grid-column:2;grid-row:2;margin:0!important;align-self:stretch;white-space:nowrap;text-align:center!important}.funnel-newsletter-align-left .funnel-newsletter-field-grid{grid-template-columns:minmax(220px,50%) auto 1fr}.funnel-newsletter-align-center .funnel-newsletter-field-grid{grid-template-columns:1fr minmax(220px,50%) auto 1fr}.funnel-newsletter-align-center .funnel-newsletter-field-grid .funnel-newsletter-email-label,.funnel-newsletter-align-center .funnel-newsletter-field-grid .funnel-newsletter-email-input{grid-column:2}.funnel-newsletter-align-center .funnel-newsletter-field-grid .funnel-newsletter-submit{grid-column:3}.funnel-newsletter-align-right .funnel-newsletter-field-grid{grid-template-columns:1fr minmax(220px,50%) auto}.funnel-newsletter-align-right .funnel-newsletter-field-grid .funnel-newsletter-email-label,.funnel-newsletter-align-right .funnel-newsletter-field-grid .funnel-newsletter-email-input{grid-column:2}.funnel-newsletter-align-right .funnel-newsletter-field-grid .funnel-newsletter-submit{grid-column:3}.funnel-newsletter-align-left .home-newsletter-consent--newsletter-spacing,.funnel-newsletter-align-center .home-newsletter-consent--newsletter-spacing,.funnel-newsletter-align-right .home-newsletter-consent--newsletter-spacing{margin-top:16px!important;text-align:left!important;justify-content:flex-start!important}
@media(max-width:760px){.funnel-newsletter-field-grid,.funnel-newsletter-align-left .funnel-newsletter-field-grid,.funnel-newsletter-align-center .funnel-newsletter-field-grid,.funnel-newsletter-align-right .funnel-newsletter-field-grid{grid-template-columns:1fr auto!important}.funnel-newsletter-field-grid .funnel-newsletter-email-label,.funnel-newsletter-field-grid .funnel-newsletter-email-input,.funnel-newsletter-align-center .funnel-newsletter-field-grid .funnel-newsletter-email-label,.funnel-newsletter-align-center .funnel-newsletter-field-grid .funnel-newsletter-email-input,.funnel-newsletter-align-right .funnel-newsletter-field-grid .funnel-newsletter-email-label,.funnel-newsletter-align-right .funnel-newsletter-field-grid .funnel-newsletter-email-input{grid-column:1!important}.funnel-newsletter-field-grid .funnel-newsletter-submit,.funnel-newsletter-align-center .funnel-newsletter-field-grid .funnel-newsletter-submit,.funnel-newsletter-align-right .funnel-newsletter-field-grid .funnel-newsletter-submit{grid-column:2!important}}

/* Round 33: Bewertungs-Preview per Zeichenanzahl + nicht scrollbares Popup */
.home-testimonial blockquote,.funnel-review-card blockquote{display:block!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;max-height:none!important;overflow:visible!important;overflow-wrap:break-word!important;word-break:normal!important}.home-testimonial .review-more-indicator,.funnel-review-card .review-more-indicator{display:inline!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:var(--link,#2563eb)!important;font:inherit!important;font-size:.92em!important;font-weight:700!important;line-height:inherit!important;cursor:pointer!important;text-decoration:none!important;vertical-align:baseline}.home-testimonial .review-more-indicator.is-visible,.funnel-review-card .review-more-indicator.is-visible{display:inline!important}.review-detail-dialog{width:min(680px,calc(100vw - 40px))!important;max-height:none!important;overflow:visible!important}.review-detail-card{overflow:visible!important;max-height:none!important}.review-detail-card blockquote{display:block!important;max-height:none!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;overflow:visible!important}.review-detail-card .review-more-indicator{display:none!important}@media(max-width:640px){.review-detail-dialog{width:min(92vw,560px)!important;max-height:none!important}.review-detail-card{max-height:none!important;overflow:visible!important}}

/* Round 33: Newsletter-Einwilligung bleibt immer exakt unter der E-Mail-Textbox */
.funnel-newsletter-field-grid .home-newsletter-consent--newsletter-spacing{grid-column:1;grid-row:3;margin:16px 0 0!important;width:100%!important;max-width:100%!important;justify-self:stretch!important;text-align:left!important;justify-content:flex-start!important;align-items:flex-start!important}.funnel-newsletter-align-center .funnel-newsletter-field-grid .home-newsletter-consent--newsletter-spacing{grid-column:2}.funnel-newsletter-align-right .funnel-newsletter-field-grid .home-newsletter-consent--newsletter-spacing{grid-column:2}.funnel-newsletter-field-grid .home-newsletter-consent-copy{text-align:left!important}.funnel-newsletter-field-grid .home-newsletter-consent--newsletter-spacing input{flex:0 0 auto!important}
@media(max-width:760px){.funnel-newsletter-field-grid .home-newsletter-consent--newsletter-spacing,.funnel-newsletter-align-center .funnel-newsletter-field-grid .home-newsletter-consent--newsletter-spacing,.funnel-newsletter-align-right .funnel-newsletter-field-grid .home-newsletter-consent--newsletter-spacing{grid-column:1!important;grid-row:3!important}}

/* Round 33: Newsletter-Einwilligung nutzt exakt die Breite von Eingabefeld + Button. */
.funnel-newsletter-align-left .funnel-newsletter-field-grid .home-newsletter-consent--newsletter-spacing{grid-column:1 / 3!important}
.funnel-newsletter-align-center .funnel-newsletter-field-grid .home-newsletter-consent--newsletter-spacing,.funnel-newsletter-align-right .funnel-newsletter-field-grid .home-newsletter-consent--newsletter-spacing{grid-column:2 / 4!important}
.funnel-newsletter-field-grid .home-newsletter-consent--newsletter-spacing{box-sizing:border-box!important;min-width:0!important;max-width:none!important;width:100%!important}
.funnel-newsletter-field-grid .home-newsletter-consent-copy{min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important}
@media(max-width:760px){.funnel-newsletter-align-left .funnel-newsletter-field-grid .home-newsletter-consent--newsletter-spacing,.funnel-newsletter-align-center .funnel-newsletter-field-grid .home-newsletter-consent--newsletter-spacing,.funnel-newsletter-align-right .funnel-newsletter-field-grid .home-newsletter-consent--newsletter-spacing{grid-column:1 / -1!important}}

/* Round 33: optionale Interessentenangaben im Newsletter-Funnel */
.funnel-newsletter-field-grid .funnel-newsletter-interest-toggle{grid-row:4;margin:8px 0 0!important;text-align:left!important;justify-content:flex-start!important;align-items:flex-start!important;min-width:0!important}.funnel-newsletter-align-left .funnel-newsletter-field-grid .funnel-newsletter-interest-toggle{grid-column:1 / 3!important}.funnel-newsletter-align-center .funnel-newsletter-field-grid .funnel-newsletter-interest-toggle,.funnel-newsletter-align-right .funnel-newsletter-field-grid .funnel-newsletter-interest-toggle{grid-column:2 / 4!important}.funnel-newsletter-interest-fields{grid-row:5;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;width:100%;min-width:0;margin-top:8px;text-align:left!important}.funnel-newsletter-interest-fields[hidden]{display:none!important}.funnel-newsletter-align-left .funnel-newsletter-interest-fields{grid-column:1 / 3}.funnel-newsletter-align-center .funnel-newsletter-interest-fields,.funnel-newsletter-align-right .funnel-newsletter-interest-fields{grid-column:2 / 4}.funnel-newsletter-interest-fields label{display:grid!important;gap:7px!important;min-width:0;text-align:left!important;font-weight:700}.funnel-newsletter-interest-fields input{width:100%!important;min-width:0!important;box-sizing:border-box!important}
@media(max-width:760px){.funnel-newsletter-align-left .funnel-newsletter-field-grid .funnel-newsletter-interest-toggle,.funnel-newsletter-align-center .funnel-newsletter-field-grid .funnel-newsletter-interest-toggle,.funnel-newsletter-align-right .funnel-newsletter-field-grid .funnel-newsletter-interest-toggle,.funnel-newsletter-align-left .funnel-newsletter-interest-fields,.funnel-newsletter-align-center .funnel-newsletter-interest-fields,.funnel-newsletter-align-right .funnel-newsletter-interest-fields{grid-column:1 / -1!important}.funnel-newsletter-interest-fields{grid-template-columns:1fr}}

/* Round33: Bewertungs-Detaildialog ohne seitlichen Überstand */
.review-detail-dialog{box-sizing:border-box!important;padding:0!important;overflow:hidden!important;background:transparent!important;border-radius:16px!important}.review-detail-card{box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0!important;overflow:visible!important;border-radius:16px!important}.review-detail-card [data-review-detail-content]{box-sizing:border-box!important;width:100%!important;max-width:100%!important;overflow:hidden!important}.review-detail-card .funnel-review-card,.review-detail-card .home-testimonial{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;overflow:visible!important;border-radius:0!important;background:transparent!important}

/* Round 42: Ausgewählte Produktkacheln – blockbezogene, rückwärtskompatible Gestaltung */
body.public-page .home-product-tiles-grid{display:grid;grid-template-columns:repeat(var(--home-product-columns,4),minmax(0,1fr));gap:22px;margin-top:24px;align-items:stretch}
body.public-page .home-product-tiles-grid.tile-gap-compact{gap:12px}
body.public-page .home-product-tiles-grid.tile-gap-large{gap:32px}
body.public-page .home-product-tiles-grid.tile-ratio-square .product-image,body.public-page .home-product-tiles-grid.tile-ratio-square .product-card-image{aspect-ratio:1/1!important}
body.public-page .home-product-tiles-grid.tile-ratio-portrait .product-image,body.public-page .home-product-tiles-grid.tile-ratio-portrait .product-card-image{aspect-ratio:4/5!important}
body.public-page .home-product-tiles-grid.tile-ratio-landscape .product-image,body.public-page .home-product-tiles-grid.tile-ratio-landscape .product-card-image{aspect-ratio:4/3!important}
.builder-subsection-title{display:grid;gap:3px;padding:10px 12px;border:1px solid var(--border,#dbe3ec);border-radius:10px;background:var(--surface-soft,#f8fafc)}
@media(max-width:1100px){body.public-page .home-product-tiles-grid{grid-template-columns:repeat(min(3,var(--home-product-columns,4)),minmax(0,1fr))}}
@media(max-width:760px){body.public-page .home-product-tiles-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media(max-width:480px){body.public-page .home-product-tiles-grid{grid-template-columns:1fr}}

/* Round 43: Startseiten-Bausteine – gezielte Erweiterungen ohne globale Designüberschreibung */
.home-hero-height-compact.home-hero-background{min-height:360px}
.home-hero-height-normal.home-hero-background{min-height:470px}
.home-hero-height-tall.home-hero-background{min-height:620px}
.home-hero-height-compact .home-hero-image{max-height:320px}
.home-hero-height-normal .home-hero-image{max-height:420px}
.home-hero-height-tall .home-hero-image{max-height:560px}
.home-image-fit-cover .home-hero-image{object-fit:cover}
.home-image-fit-contain .home-hero-image{object-fit:contain;background:color-mix(in srgb,var(--home-block-bg,#fff) 96%,currentColor 4%)}
.home-text-prose{margin-inline:0}
.home-align-center .home-text-prose{margin-inline:auto}
.home-align-right .home-text-prose{margin-left:auto}
.home-text-width-narrow .home-text-prose{max-width:680px}
.home-text-width-normal .home-text-prose{max-width:900px}
.home-text-width-wide .home-text-prose{max-width:1180px}
.home-image-block.image-align-start{align-items:start}
.home-image-block.image-align-center{align-items:center}
.home-image-block.image-align-end{align-items:end}
.home-image-block.image-ratio-square>img{aspect-ratio:1/1;object-fit:cover;max-height:none}
.home-image-block.image-ratio-portrait>img{aspect-ratio:4/5;object-fit:cover;max-height:none}
.home-image-block.image-ratio-landscape>img{aspect-ratio:16/9;object-fit:cover;max-height:none}
.home-category-cards{grid-template-columns:repeat(var(--category-columns,4),minmax(0,1fr))}
.home-category-minimal{display:grid;grid-template-columns:repeat(var(--category-columns,4),minmax(0,1fr));gap:10px 22px}
.home-category-minimal a{color:inherit;text-decoration:none;font-weight:750;padding:10px 0;border-bottom:1px solid color-mix(in srgb,currentColor 16%,transparent)}
.home-feature-grid.feature-style-plain .home-feature-item{border:0;background:transparent;padding:10px 0;border-radius:0}
.home-feature-grid.feature-style-plain .home-feature-item span{background:transparent;color:inherit;width:auto;height:auto;border-radius:0;font-size:1.05em}
.home-feature-grid.feature-icon-dot .home-feature-item span{font-size:1.4em}
.home-stat-grid{grid-template-columns:repeat(var(--stat-columns,4),minmax(0,1fr))}
.home-stat-grid.stat-style-plain .home-stat-item{border:0;background:transparent;padding-inline:8px}
.home-faq-list{grid-template-columns:repeat(var(--faq-columns,1),minmax(0,1fr));max-width:none}
.home-divider{border-top-width:var(--home-divider-thickness,1px)}
.home-divider.divider-solid{border-top-style:solid}
.home-divider.divider-dashed{border-top-style:dashed}
.home-divider.divider-dotted{border-top-style:dotted}
.home-divider.divider-width-half{width:50%}
.home-divider.divider-width-third{width:33.333%}
.home-spacer-xlarge{height:150px}
@media(max-width:900px){
 .home-category-cards,.home-category-minimal{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-faq-list{grid-template-columns:1fr}
 .home-hero-height-tall.home-hero-background{min-height:520px}
}
@media(max-width:580px){
 .home-category-cards,.home-category-minimal,.home-stat-grid{grid-template-columns:1fr}
 .home-spacer-xlarge{height:110px}
}

/* Round 44: Kurzbeschreibung im Produktkopf, auf drei Zeilen begrenzt. */
body.public-page.shop-system-active .product-detail-main .product-detail-description.product-detail-description-clamped{
  display:block!important;
  margin:12px 0 0!important;
  padding:0!important;
  max-width:62ch;
  color:color-mix(in srgb,var(--body-text) 84%,var(--muted));
  font-size:var(--product-detail-description-size,16px);
  line-height:1.55;
}
.product-detail-description-text{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  max-height:calc(1.55em * 3);
  white-space:normal;
  overflow-wrap:anywhere;
}
.product-detail-description-more{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  margin-top:8px;
  color:inherit;
  font-weight:700;
  font-size:.9rem;
  text-decoration:underline;
  text-underline-offset:3px;
}
.product-detail-description-more:hover,.product-detail-description-more:focus-visible{color:var(--accent,#2563eb)}
.product-long-description#produktbeschreibung{scroll-margin-top:100px}
.product-long-description#produktbeschreibung:focus{outline:none}

/* Round45: Produktdetail – Bewertungsdialog, Review-Zitat und Reihenfolge */
.product-review-proof{display:grid;gap:8px;margin-top:8px}.product-review-summary-button{appearance:none;-webkit-appearance:none;cursor:pointer;text-align:left;font:inherit}.product-review-summary-button:hover strong,.product-review-summary-button:focus-visible strong{text-decoration:underline}.product-review-summary-button:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:4px}.product-review-featured-quote{margin:0;padding:10px 12px;border-left:3px solid color-mix(in srgb,var(--body-text) 18%,transparent);background:color-mix(in srgb,var(--card-bg) 78%,transparent);border-radius:0 10px 10px 0;font-size:.86rem;line-height:1.45;color:var(--muted)}.product-review-featured-quote cite{font-style:normal;font-weight:700;color:var(--body-text)}.product-purchase-history-notice-before-variants{margin-top:14px;margin-bottom:0}.product-reviews-dialog{width:min(760px,calc(100vw - 32px));max-height:min(82vh,820px);padding:0;border:1px solid var(--card-border);border-radius:18px;background:var(--card-bg);color:var(--body-text);box-shadow:0 24px 70px rgba(15,23,42,.24)}.product-reviews-dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}.product-reviews-dialog-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:20px 22px;border-bottom:1px solid var(--card-border);background:var(--card-bg)}.product-reviews-dialog-head small{color:var(--muted)}.product-reviews-dialog-head h2{margin:3px 0 2px;font-size:1.3rem}.product-reviews-dialog-head p{margin:0;color:var(--muted)}.product-reviews-dialog-close{width:38px;height:38px;border:1px solid var(--card-border);border-radius:50%;background:var(--card-bg);color:var(--body-text);font-size:1.45rem;line-height:1;cursor:pointer}.product-reviews-dialog-list{display:grid;padding:4px 22px 22px;overflow:auto}.product-reviews-dialog-item{padding:18px 0;border-bottom:1px solid var(--card-border)}.product-reviews-dialog-item:last-child{border-bottom:0}.product-reviews-dialog-stars{letter-spacing:.08em;color:#15803d}.product-reviews-dialog-meta{display:flex;gap:8px;align-items:center;margin-top:6px;font-size:.84rem}.product-reviews-dialog-meta span{color:var(--muted)}.product-reviews-dialog-item h3{margin:10px 0 4px;font-size:1rem}.product-reviews-dialog-item p{margin:6px 0 0;line-height:1.55}@media(max-width:640px){.product-reviews-dialog{width:calc(100vw - 20px);max-height:88vh;border-radius:14px}.product-reviews-dialog-head,.product-reviews-dialog-list{padding-left:16px;padding-right:16px}}

/* Round54: stabile Produktgalerie, ausgerichtete Vertrauenskacheln und skalierbare Verfügbarkeit */
body.public-page.shop-system-active .product-detail-stock-status,
body.public-page.shop-system-active .product-detail-stock-status strong{
  font-size:var(--product-detail-availability-size,16px)!important;
}

/* Round55: Bewertungsbox, Kleinunternehmer-Anzeige und symmetrische Produktdetail-Thumbnails */
body.public-page.shop-system-active .product-review-proof{
  display:block!important;
  margin-top:10px!important;
}
body.public-page.shop-system-active .product-review-summary.product-review-summary-button{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  padding:13px 15px!important;
  margin:0!important;
  border:1px solid var(--card-border)!important;
  border-radius:var(--card-radius,var(--radius,12px))!important;
  background:var(--card-bg)!important;
  color:var(--body-text)!important;
  box-shadow:none!important;
  text-align:left!important;
}
body.public-page.shop-system-active .product-review-summary.product-review-summary-button .product-review-summary-stars{
  flex:0 0 auto!important;
  font-size:1rem!important;
  line-height:1!important;
}
body.public-page.shop-system-active .product-review-summary.product-review-summary-button .product-review-summary-text{
  min-width:0!important;
  font-size:.95rem!important;
  line-height:1.35!important;
  font-weight:500!important;
}
body.public-page.shop-system-active .product-review-featured-quote{display:none!important;}

/* Kategorie-Kacheln: eigener Shop-Startseitenblock mit Bildinszenierung. */
.builder-category-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.builder-category-picker label{display:flex;align-items:center;gap:8px;min-width:0;padding:9px 10px;border:1px solid var(--card-border,#dbe3ed);border-radius:9px;background:var(--card-bg,#fff);cursor:pointer}
.builder-category-picker input{flex:0 0 auto;margin:0}.builder-category-picker span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:900px){.builder-category-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.builder-category-picker{grid-template-columns:1fr}}
.home-category-showcase-intro{margin-bottom:18px}
.home-category-showcase-grid{display:grid;grid-template-columns:repeat(var(--category-showcase-columns,4),minmax(0,1fr));gap:var(--card-gap,16px)}
.home-category-showcase-card{position:relative;display:block;overflow:hidden;min-width:0;border:1px solid var(--card-border);border-radius:var(--card-radius,var(--radius,12px));background:var(--card-bg);color:inherit;text-decoration:none;box-shadow:var(--surface-shadow);isolation:isolate}
.home-category-showcase-card::before{content:"";position:absolute;inset:0;z-index:1;background:rgba(0,0,0,var(--category-showcase-overlay,.28));pointer-events:none;transition:opacity .2s ease}
.home-category-showcase-card:hover::before{opacity:.82}.home-category-showcase-card img,.home-category-showcase-placeholder{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.home-category-showcase-card:hover img{transform:scale(1.035)}
.home-category-showcase-grid.ratio-landscape .home-category-showcase-card{aspect-ratio:4/3}.home-category-showcase-grid.ratio-square .home-category-showcase-card{aspect-ratio:1}.home-category-showcase-grid.ratio-portrait .home-category-showcase-card{aspect-ratio:3/4}
.home-category-showcase-placeholder{display:grid;place-items:center;background:color-mix(in srgb,var(--card-bg) 86%,var(--accent) 14%);font-size:2rem}
.home-category-showcase-copy{position:absolute;z-index:2;left:14px;right:14px;bottom:13px;display:grid;gap:3px;color:#fff;text-shadow:0 1px 5px rgba(0,0,0,.35)}.home-category-showcase-copy strong{font-size:clamp(1rem,1.3vw,1.25rem)}.home-category-showcase-copy small{font-size:.82rem}
.home-category-showcase-grid.style-footer .home-category-showcase-card{display:grid;grid-template-rows:minmax(0,1fr) auto}.home-category-showcase-grid.style-footer .home-category-showcase-card::before{bottom:48px}.home-category-showcase-grid.style-footer .home-category-showcase-copy{position:relative;left:auto;right:auto;bottom:auto;padding:12px 14px;color:var(--body-text);text-shadow:none;background:var(--card-bg)}
@media(max-width:900px){.home-category-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.home-category-showcase-grid{grid-template-columns:1fr}}

/* Round57: ruhige Produktgalerie, feste 60/40-Struktur und einheitliche Produkt-Infokacheln. */
body.public-page.shop-system-active .product-detail-layout{
  grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr)!important;
}

/* Bewertungszusammenfassung exakt mittig in ihrer Kachel. */
body.public-page.shop-system-active .product-review-summary.product-review-summary-button{
  justify-content:center!important;
  text-align:center!important;
}
body.public-page.shop-system-active .product-review-summary.product-review-summary-button .product-review-summary-text{
  text-align:center!important;
}

/* Die Designoption "Produkt-Infokacheln" steuert alle zusammengehörigen Karten. */
body.product-detail-buybox-card.public-page.shop-system-active .product-review-summary.product-review-summary-button,
body.product-detail-buybox-card.public-page.shop-system-active .product-purchase-history-notice,
body.product-detail-buybox-card.public-page.shop-system-active .product-variant-picker,
body.product-detail-buybox-card.public-page.shop-system-active .product-detail-buybox,
body.product-detail-buybox-card.public-page.shop-system-active .product-detail-benefits>span,
body.product-detail-buybox-card.public-page.shop-system-active .product-purchase-facts{
  border:1px solid var(--card-border)!important;
  border-radius:var(--card-radius,var(--radius,12px))!important;
  background:var(--card-bg)!important;
  box-shadow:var(--surface-shadow)!important;
}
body.product-detail-buybox-minimal.public-page.shop-system-active .product-review-summary.product-review-summary-button,
body.product-detail-buybox-minimal.public-page.shop-system-active .product-purchase-history-notice,
body.product-detail-buybox-minimal.public-page.shop-system-active .product-variant-picker,
body.product-detail-buybox-minimal.public-page.shop-system-active .product-detail-buybox,
body.product-detail-buybox-minimal.public-page.shop-system-active .product-detail-benefits>span,
body.product-detail-buybox-minimal.public-page.shop-system-active .product-purchase-facts{
  border-color:transparent!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* Round58: Kategorie-Kacheln – aufgeräumte Auswahl, echte Innenabstände und erweiterte Gestaltung */
.builder-category-picker{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.builder-category-option{position:relative;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;min-height:48px;padding:10px 38px 10px 11px!important;user-select:none}
.builder-category-option>input{grid-column:1;margin:0!important}
.builder-category-option>.builder-category-name{grid-column:2;display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.builder-category-drag{position:absolute;top:6px;right:7px;width:27px;height:27px;display:grid;place-items:center;padding:0;border:1px solid var(--card-border,#dbe3ed);border-radius:7px;background:var(--card-bg,#fff);color:var(--muted,#667085);cursor:grab;font-size:15px;line-height:1}
.builder-category-drag:active{cursor:grabbing}.builder-category-option.is-dragging{opacity:.48}.builder-category-option.is-drag-over{outline:2px solid var(--accent,#2563eb);outline-offset:1px}

.home-category-showcase-grid{grid-template-columns:repeat(var(--category-showcase-columns,4),minmax(0,1fr));gap:var(--category-showcase-gap,16px);align-items:start}
.home-category-showcase-card{width:min(100%,var(--category-image-size,280px));justify-self:center;aspect-ratio:1/1!important;border-radius:var(--category-card-radius,14px)!important;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease;border-width:1px}
.home-category-showcase-grid.no-border .home-category-showcase-card{border-color:transparent!important}
.home-category-showcase-grid.shadow-none .home-category-showcase-card{box-shadow:none!important}.home-category-showcase-grid.shadow-soft .home-category-showcase-card{box-shadow:0 8px 22px rgba(15,23,42,.08)!important}.home-category-showcase-grid.shadow-strong .home-category-showcase-card{box-shadow:0 16px 36px rgba(15,23,42,.16)!important}
.home-category-showcase-media{display:block;width:100%;aspect-ratio:1/1;overflow:hidden;background:color-mix(in srgb,var(--card-bg) 90%,var(--accent) 10%)}
.home-category-showcase-media>img,.home-category-showcase-media>.home-category-showcase-placeholder{display:block;width:100%;height:100%}
.home-category-showcase-grid.fit-cover .home-category-showcase-media>img{object-fit:cover}.home-category-showcase-grid.fit-contain .home-category-showcase-media>img{object-fit:contain;background:var(--card-bg)}
.home-category-showcase-copy{left:var(--category-inner-padding,14px)!important;right:var(--category-inner-padding,14px)!important;bottom:var(--category-inner-padding,14px)!important;padding:0!important;text-align:inherit}
.home-category-showcase-grid.text-left .home-category-showcase-copy{text-align:left}.home-category-showcase-grid.text-center .home-category-showcase-copy{text-align:center}.home-category-showcase-grid.text-right .home-category-showcase-copy{text-align:right}
.home-category-showcase-grid.style-footer .home-category-showcase-card{aspect-ratio:auto!important;grid-template-rows:auto auto!important}.home-category-showcase-grid.style-footer .home-category-showcase-copy{padding:var(--category-inner-padding,14px)!important;left:auto!important;right:auto!important;bottom:auto!important}.home-category-showcase-grid.style-footer .home-category-showcase-card::before{display:none}
.home-category-showcase-grid.hover-none .home-category-showcase-card:hover img{transform:none!important}.home-category-showcase-grid.hover-lift .home-category-showcase-card:hover{transform:translateY(-5px)}.home-category-showcase-grid.hover-lift .home-category-showcase-card:hover img{transform:none!important}.home-category-showcase-grid.hover-zoom .home-category-showcase-card:hover img{transform:scale(1.035)}

/* Gleichmäßige Mindestabstände im verdichteten Produktkopf. */
body.public-page.shop-system-active .product-detail-main{row-gap:10px!important}
body.public-page.shop-system-active .product-review-proof{margin-top:10px!important;margin-bottom:0!important;min-height:48px}
body.public-page.shop-system-active .product-purchase-actions{gap:10px!important}
body.public-page.shop-system-active .product-purchase-history-notice-before-variants{margin:0!important;min-height:56px;display:flex;align-items:center}
body.public-page.shop-system-active .product-purchase-actions>.product-variant-picker,body.public-page.shop-system-active .product-purchase-actions>.product-detail-buybox{margin:0!important}

/* Round59: konsolidierte Produktgalerie. Dies ist die einzige aktuelle Layout-Regel
   für Hauptbild + Vorschaubilder; ältere Round54–58-Galerie-Overrides wurden entfernt. */
body.public-page.shop-system-active .product-detail-visual[data-product-gallery]{
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  align-self:start!important;
  position:relative!important;
}
body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-media{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:clamp(390px,46vw,560px)!important;
  min-height:0!important;
  max-height:560px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-media .product-detail-image{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:var(--product-detail-image-fit,contain)!important;
  object-position:center!important;
}
body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-thumbnails{
  position:static!important;
  inset:auto!important;
  transform:none!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,var(--product-detail-thumbnail-size,72px)))!important;
  grid-auto-rows:var(--product-detail-thumbnail-size,72px)!important;
  justify-content:center!important;
  justify-items:center!important;
  align-items:center!important;
  align-content:center!important;
  gap:10px!important;
  width:100%!important;
  min-width:100%!important;
  max-width:100%!important;
  align-self:stretch!important;
  min-height:calc(var(--product-detail-thumbnail-size,72px) + 22px)!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  padding:10px 12px!important;
  overflow:visible!important;
  box-sizing:border-box!important;
  border:1px solid var(--card-border)!important;
  border-radius:var(--card-radius,var(--radius,12px))!important;
  background:var(--card-bg)!important;
  box-shadow:var(--surface-shadow)!important;
}
body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-thumbnails-count-1{grid-template-columns:repeat(1,var(--product-detail-thumbnail-size,72px))!important}
body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-thumbnails-count-2{grid-template-columns:repeat(2,var(--product-detail-thumbnail-size,72px))!important}
body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-thumbnails-count-3{grid-template-columns:repeat(3,var(--product-detail-thumbnail-size,72px))!important}
body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-thumbnails-count-4{grid-template-columns:repeat(4,var(--product-detail-thumbnail-size,72px))!important}
body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-thumbnails .product-detail-thumbnail{
  width:var(--product-detail-thumbnail-size,72px)!important;
  height:var(--product-detail-thumbnail-size,72px)!important;
  min-width:0!important;
  margin:0!important;
  box-sizing:border-box!important;
  cursor:pointer!important;
}
body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-thumbnails .product-detail-thumbnail img{
  display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;pointer-events:none!important;
}
/* Ab Bild 5 bleibt das Raster vier Spalten breit. Dadurch beginnt Zeile 2 exakt unter Spalte 1. */
body.public-page.shop-system-active .product-detail-visual[data-gallery-thumb-count="5"]>.product-detail-thumbnails,
body.public-page.shop-system-active .product-detail-visual[data-gallery-thumb-count="6"]>.product-detail-thumbnails,
body.public-page.shop-system-active .product-detail-visual[data-gallery-thumb-count="7"]>.product-detail-thumbnails,
body.public-page.shop-system-active .product-detail-visual[data-gallery-thumb-count="8"]>.product-detail-thumbnails{
  grid-template-columns:repeat(4,var(--product-detail-thumbnail-size,72px))!important;
  justify-content:center!important;
}
/* Round60: Galerie bleibt fest an ihrer Layoutposition. Keine Sticky-/Fixed-
   Scroll-Kopplung. Zwei Thumbnail-Zeilen vergrößern die linke Spalte natürlich;
   dadurch verschieben sich nachfolgende Inhalte ohne künstliche Höhenwerte. */
@media(min-width:901px){
  body.public-page.shop-system-active .product-detail-visual[data-product-gallery]{
    position:relative!important;left:auto!important;top:auto!important;transform:none!important;
  }
  body.public-page.shop-system-active .product-detail-info{min-height:0!important}
  .product-gallery-fixed-placeholder{display:none!important}
}
@media(max-width:900px){
  body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-media{height:clamp(320px,76vw,500px)!important}
  body.public-page.shop-system-active .product-detail-info{min-height:0!important}
  .product-gallery-fixed-placeholder{display:none!important}
}
@media(max-width:560px){
  body.public-page.shop-system-active .product-detail-visual[data-product-gallery]{gap:9px!important}
  body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-media{height:clamp(300px,96vw,430px)!important}
  body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-thumbnails{
    --product-detail-thumbnail-size:min(64px,18vw);
    grid-template-columns:repeat(4,var(--product-detail-thumbnail-size))!important;
    grid-auto-rows:var(--product-detail-thumbnail-size)!important;
    gap:7px!important;padding:8px!important;
  }
  body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-thumbnails-count-1{grid-template-columns:repeat(1,var(--product-detail-thumbnail-size))!important}
  body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-thumbnails-count-2{grid-template-columns:repeat(2,var(--product-detail-thumbnail-size))!important}
  body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-thumbnails-count-3{grid-template-columns:repeat(3,var(--product-detail-thumbnail-size))!important}
  body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-thumbnails-count-4{grid-template-columns:repeat(4,var(--product-detail-thumbnail-size))!important}
}


/* Round62: Produktdetail nur mobil sauber untereinander. Desktop bleibt unverändert. */
@media (max-width:760px){
  body.public-page.shop-system-active .product-detail-layout{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:16px!important;
    align-items:start!important;
  }
  body.public-page.shop-system-active .product-detail-visual[data-product-gallery],
  body.public-page.shop-system-active .product-detail-info{
    grid-column:1!important;
    width:100%!important;
    min-width:0!important;
  }
  body.public-page.shop-system-active .product-detail-info{
    display:flex!important;
    flex-direction:column!important;
    gap:12px!important;
  }
  body.public-page.shop-system-active .product-detail-heading,
  body.public-page.shop-system-active .product-detail-main,
  body.public-page.shop-system-active .product-purchase-actions,
  body.public-page.shop-system-active .product-purchase-facts,
  body.public-page.shop-system-active .product-detail-benefits{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.public-page.shop-system-active .product-detail-heading{order:1!important}
  body.public-page.shop-system-active .product-detail-main{order:2!important}
  body.public-page.shop-system-active .product-purchase-actions{order:3!important}
  body.public-page.shop-system-active .product-purchase-facts{order:4!important}
  body.public-page.shop-system-active .product-detail-benefits{order:5!important}

  body.public-page.shop-system-active .product-purchase-layout{
    display:block!important;
    width:100%!important;
    margin:0!important;
  }
  body.public-page.shop-system-active .product-purchase-actions{
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
  }
  body.public-page.shop-system-active .product-purchase-actions>.product-variant-picker,
  body.public-page.shop-system-active .product-purchase-actions>.product-detail-buybox,
  body.public-page.shop-system-active .product-purchase-history-notice-before-variants{
    width:100%!important;
    box-sizing:border-box!important;
  }
  body.public-page.shop-system-active .product-purchase-facts{
    align-self:stretch!important;
    height:auto!important;
    min-height:0!important;
  }
  body.public-page.shop-system-active .product-detail-benefits{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  body.public-page.shop-system-active .product-detail-benefits>span{
    width:100%!important;
    box-sizing:border-box!important;
  }
  body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-thumbnails{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
  }
}

/* Round63: Produktgalerie auf Desktop bewusst kompakter (75 %), mobil unverändert. */
@media (min-width:901px){
  body.public-page.shop-system-active .product-detail-visual[data-product-gallery]{
    width:75%!important;
    max-width:75%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    align-self:start!important;
  }
  body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-media{
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    aspect-ratio:1/1!important;
  }
  body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-thumbnails{
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
  }
}

/* Round64: Desktop-Galerie 85 % und kompakterer Übergang zu Produktinformationen. */
@media (min-width:901px){
  body.public-page.shop-system-active .product-detail-layout{
    grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr)!important;
    gap:clamp(16px,1.6vw,24px)!important;
  }
  body.public-page.shop-system-active .product-detail-visual[data-product-gallery]{
    width:85%!important;
    max-width:85%!important;
    margin-left:auto!important;
    margin-right:0!important;
    align-self:start!important;
  }
  body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-media,
  body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-thumbnails{
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
  }
}

/* Round65: Desktop-Galerie bündig zur Unterkante der Service-Kacheln.
   Die rechte Produktinformation behält ihre natürliche Höhe. Die Galerie übernimmt
   exakt diese Höhe; zusätzlicher Platz wächst ausschließlich im Hauptbild. */
@media (min-width:901px){
  body.public-page.shop-system-active .product-detail-layout{
    align-items:start!important;
  }
  body.public-page.shop-system-active .product-detail-info{
    align-self:start!important;
    height:auto!important;
    min-height:0!important;
  }
  body.public-page.shop-system-active .product-detail-visual[data-product-gallery]{
    height:var(--product-gallery-sync-height,auto)!important;
    min-height:0!important;
    align-self:start!important;
    gap:12px!important;
  }
  body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-media{
    flex:1 1 0!important;
    width:100%!important;
    height:auto!important;
    min-height:240px!important;
    max-height:none!important;
    aspect-ratio:auto!important;
  }
  body.public-page.shop-system-active .product-detail-visual[data-product-gallery]>.product-detail-thumbnails{
    flex:0 0 auto!important;
    margin:0!important;
  }
}


/* Round67: Kategorien-Baustein – eigene Medien/Logos und vollständige Blockgestaltung */
.home-category-rich-intro{margin-bottom:18px}.home-category-rich-grid{display:grid;grid-template-columns:repeat(var(--category-columns,4),minmax(0,1fr));gap:var(--category-gap,16px);align-items:stretch}.home-category-rich-card{position:relative;display:flex;flex-direction:column;width:min(100%,var(--category-card-max,420px));min-width:0;justify-self:center;overflow:hidden;border:1px solid var(--category-border-color,#dbe3ed);border-radius:var(--category-radius,16px);background:var(--category-card-bg,#fff);color:var(--category-card-text,#17202a);text-decoration:none;box-shadow:0 8px 22px rgba(15,23,42,.08);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.home-category-rich-grid.has-border .home-category-rich-card{border-color:var(--category-border-color,#dbe3ed)}.home-category-rich-grid.no-border .home-category-rich-card{border-color:transparent}.home-category-rich-grid.shadow-none .home-category-rich-card{box-shadow:none}.home-category-rich-grid.shadow-soft .home-category-rich-card{box-shadow:0 8px 22px rgba(15,23,42,.08)}.home-category-rich-grid.shadow-strong .home-category-rich-card{box-shadow:0 16px 36px rgba(15,23,42,.15)}
.home-category-rich-media{position:relative;display:grid;place-items:center;width:100%;overflow:hidden;background:color-mix(in srgb,var(--category-card-bg,#fff) 88%,var(--category-accent,#1d4ed8) 12%)}.home-category-rich-grid.ratio-landscape .home-category-rich-media{aspect-ratio:4/3}.home-category-rich-grid.ratio-square .home-category-rich-media{aspect-ratio:1}.home-category-rich-grid.ratio-portrait .home-category-rich-media{aspect-ratio:3/4}.home-category-rich-image,.home-category-rich-placeholder{display:block;width:100%;height:100%;transition:transform .25s ease,filter .25s ease}.home-category-rich-grid.fit-cover .home-category-rich-image{object-fit:cover}.home-category-rich-grid.fit-contain .home-category-rich-image{object-fit:contain;background:var(--category-card-bg,#fff)}.home-category-rich-placeholder{display:grid;place-items:center;font-size:2.2rem;color:var(--category-accent,#1d4ed8)}
.home-category-rich-copy{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 9px;align-items:center;padding:var(--category-padding,16px);color:inherit}.home-category-rich-copy strong{font-size:clamp(1rem,1.25vw,1.2rem);line-height:1.2}.home-category-rich-copy small{grid-column:1;color:color-mix(in srgb,var(--category-card-text,#17202a) 68%,transparent);font-size:.82rem}.home-category-rich-arrow{grid-column:2;grid-row:1 / span 2;color:var(--category-accent,#1d4ed8);font-size:1.3rem}.home-category-rich-grid.text-left .home-category-rich-copy{text-align:left}.home-category-rich-grid.text-center .home-category-rich-copy{text-align:center}.home-category-rich-grid.text-right .home-category-rich-copy{text-align:right}.home-category-rich-grid.text-center .home-category-rich-copy strong,.home-category-rich-grid.text-center .home-category-rich-copy small{justify-self:center}.home-category-rich-grid.text-right .home-category-rich-copy strong,.home-category-rich-grid.text-right .home-category-rich-copy small{justify-self:end}
.home-category-rich-grid.text-pos-overlay.style-media .home-category-rich-card::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,var(--category-overlay,.24)),transparent 62%);pointer-events:none}.home-category-rich-grid.text-pos-overlay.style-media .home-category-rich-copy{position:absolute;z-index:2;left:0;right:0;bottom:0;color:var(--category-overlay-text,#fff);text-shadow:0 1px 5px rgba(0,0,0,.35)}.home-category-rich-grid.text-pos-overlay.style-media .home-category-rich-copy small{color:color-mix(in srgb,var(--category-overlay-text,#fff) 82%,transparent)}.home-category-rich-grid.text-pos-overlay.style-media .home-category-rich-arrow{color:var(--category-overlay-text,#fff)}
.home-category-rich-grid.style-logo .home-category-rich-media{aspect-ratio:4/3!important}.home-category-rich-grid.style-compact .home-category-rich-card{min-height:54px;justify-content:center}.home-category-rich-grid.style-compact .home-category-rich-copy{min-height:54px}.home-category-rich-grid.style-minimal{gap:8px 18px}.home-category-rich-grid.style-minimal .home-category-rich-card{border:0!important;border-radius:0;background:transparent;box-shadow:none!important}.home-category-rich-grid.style-minimal .home-category-rich-copy{padding:8px 0;border-bottom:1px solid var(--category-border-color,#dbe3ed)}
.home-category-rich-grid.hover-none .home-category-rich-card:hover{transform:none}.home-category-rich-grid.hover-lift .home-category-rich-card:hover{transform:translateY(-5px);box-shadow:0 16px 34px rgba(15,23,42,.14)}.home-category-rich-grid.hover-zoom .home-category-rich-card:hover .home-category-rich-image{transform:scale(1.045)}.home-category-rich-grid.hover-glow .home-category-rich-card:hover{border-color:var(--category-accent,#1d4ed8);box-shadow:0 0 0 2px color-mix(in srgb,var(--category-accent,#1d4ed8) 22%,transparent)}.home-category-rich-grid.hover-scale .home-category-rich-card:hover{transform:scale(1.025);box-shadow:0 16px 34px rgba(15,23,42,.13)}.home-category-rich-grid.hover-lift_zoom .home-category-rich-card:hover{transform:translateY(-5px);box-shadow:0 16px 34px rgba(15,23,42,.14)}.home-category-rich-grid.hover-lift_zoom .home-category-rich-card:hover .home-category-rich-image{transform:scale(1.045)}.home-category-rich-grid.hover-dim .home-category-rich-card:hover .home-category-rich-image{filter:brightness(.82)}.home-category-rich-grid.hover-accent_shadow .home-category-rich-card:hover{box-shadow:0 14px 34px color-mix(in srgb,var(--category-accent,#1d4ed8) 28%,transparent)}
@media(max-width:900px){.home-category-rich-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.home-category-rich-grid{grid-template-columns:1fr}.home-category-rich-card{--category-card-max:100%}}


/* Round68: Kategorien-Auswahl konsolidiert – Checkbox, einzeiliger Name, Sortiergriff. */
.builder-category-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.builder-category-picker .builder-category-option{position:relative;display:grid!important;grid-template-columns:18px minmax(0,1fr) 30px!important;align-items:center!important;column-gap:9px!important;min-width:0!important;min-height:44px!important;padding:8px 8px 8px 10px!important}
.builder-category-picker .builder-category-option>input[type=checkbox]{position:static!important;grid-column:1!important;width:16px!important;height:16px!important;margin:0!important}
.builder-category-picker .builder-category-option>.builder-category-name{grid-column:2!important;display:block!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1.25!important}
.builder-category-picker .builder-category-option>.builder-category-drag{position:static!important;grid-column:3!important;justify-self:end!important;align-self:center!important;width:27px!important;height:27px!important;margin:0!important}
@media(max-width:900px){.builder-category-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.builder-category-picker{grid-template-columns:1fr}}

/* Round69: Produktkategorie-Bilder */
.category-image-form{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.category-image-preview{display:block;width:54px;height:42px;border:1px solid var(--card-border,#dbe3ed);border-radius:8px;overflow:hidden;background:#fff}.category-image-preview img{width:100%;height:100%;object-fit:cover;display:block}.category-image-cell{min-width:210px}

/* Round70: Systemshop-Kundenstimmen – blockbezogene Darstellung und optionale Inhalte. */
.home-review-section .home-testimonial-summary{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:18px 0 4px;padding:10px 14px;border:1px solid color-mix(in srgb,currentColor 12%,transparent);border-radius:999px;background:color-mix(in srgb,var(--card-bg,#fff) 88%,transparent);width:max-content;max-width:100%;box-sizing:border-box}
.home-review-section .home-testimonial-summary-score{font-weight:850;font-size:1.05rem}.home-review-section .home-testimonial-summary-stars{color:#d97706;letter-spacing:.08em}.home-review-section .home-testimonial-summary-count{font-size:.88rem;opacity:.75}
.home-review-section .home-testimonial-carousel{--social-proof-card-gap:var(--design-card-gap,18px)}
.home-review-section .home-testimonial-carousel .home-testimonial{flex:0 0 calc((100% - ((var(--testimonial-columns,3) - 1) * var(--social-proof-card-gap))) / var(--testimonial-columns,3))!important;width:calc((100% - ((var(--testimonial-columns,3) - 1) * var(--social-proof-card-gap))) / var(--testimonial-columns,3))!important;max-width:calc((100% - ((var(--testimonial-columns,3) - 1) * var(--social-proof-card-gap))) / var(--testimonial-columns,3))!important}
.home-review-section.testimonial-height-auto .home-testimonial-carousel .home-testimonial,.home-review-section.testimonial-height-auto .home-testimonial{height:auto!important;min-height:0!important;max-height:none!important}
.home-review-section.testimonial-height-compact .home-testimonial-carousel .home-testimonial,.home-review-section.testimonial-height-compact .home-testimonial{height:235px!important;min-height:235px!important;max-height:235px!important}
.home-review-section.testimonial-height-normal .home-testimonial-carousel .home-testimonial,.home-review-section.testimonial-height-normal .home-testimonial{height:290px!important;min-height:290px!important;max-height:290px!important}
.home-review-section.testimonial-height-large .home-testimonial-carousel .home-testimonial,.home-review-section.testimonial-height-large .home-testimonial{height:350px!important;min-height:350px!important;max-height:350px!important}
.home-review-section.testimonial-style-soft .home-testimonial{background:color-mix(in srgb,var(--card-bg,#fff) 90%,var(--link,#2563eb) 10%)!important;border-color:transparent!important}
.home-review-section.testimonial-style-minimal .home-testimonial{background:transparent!important;box-shadow:none!important;border-color:transparent!important;border-radius:0!important;padding-left:0!important;padding-right:0!important}
.home-review-section.testimonial-style-accent .home-testimonial{border-left:4px solid var(--link,#2563eb)!important}
.home-review-section .home-testimonial:has(.home-review-stars-row:first-child) .home-review-title{margin-top:0}
.home-review-section .home-testimonial .home-review-date{font-size:.78rem;opacity:.65}
.home-testimonial-carousel.effect-none .home-testimonial{animation:none!important;transition:none!important}
.testimonial-option-grid label{min-width:0}
@media(max-width:1100px) and (min-width:901px){.home-review-section .home-testimonial-carousel{--testimonial-columns:min(2,var(--testimonial-columns,3))}}
@media(max-width:900px){.home-review-section .home-testimonial-carousel .home-testimonial{flex-basis:100%!important;width:100%!important;max-width:100%!important}.home-review-section .home-testimonial-summary{width:100%;border-radius:14px}}
@media(max-width:1100px) and (min-width:901px){.home-review-section .home-testimonial-carousel .home-testimonial{flex:0 0 calc((100% - var(--social-proof-card-gap)) / 2)!important;width:calc((100% - var(--social-proof-card-gap)) / 2)!important;max-width:calc((100% - var(--social-proof-card-gap)) / 2)!important}}
.home-review-section .home-testimonial-carousel.is-static{overflow:visible}
.home-review-section .home-testimonial-carousel.is-static .home-testimonial-grid{display:grid!important;grid-template-columns:repeat(var(--testimonial-columns,3),minmax(0,1fr))!important;transform:none!important;will-change:auto}
.home-review-section .home-testimonial-carousel.is-static .home-testimonial{width:auto!important;max-width:none!important;min-width:0!important;flex:none!important}
@media(max-width:1100px) and (min-width:901px){.home-review-section .home-testimonial-carousel.is-static .home-testimonial-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:900px){.home-review-section .home-testimonial-carousel.is-static .home-testimonial-grid{grid-template-columns:1fr!important}}

/* Round72: Produktseiten-Templates – Auswahl im Admin und Template 2 strikt namespaced. */
.product-detail-template-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0 18px}
.product-detail-template-choice{position:relative;display:grid;grid-template-columns:116px minmax(0,1fr);grid-template-rows:auto auto;gap:4px 14px;align-items:center;padding:14px;border:1px solid var(--card-border,#dbe3ed);border-radius:14px;background:#fff;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.product-detail-template-choice:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(15,23,42,.08)}
.product-detail-template-choice:has(input:checked){border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.12)}
.product-detail-template-choice>input{position:absolute;opacity:0;pointer-events:none}
.product-detail-template-choice>strong,.product-detail-template-choice>small{grid-column:2}.product-detail-template-choice>small{color:var(--muted,#667085);line-height:1.35}
.product-detail-template-choice-preview{grid-row:1/span 2;position:relative;display:grid;grid-template-columns:44% 1fr 22%;gap:4px;width:116px;height:76px;padding:6px;border:1px solid #d9e0e8;border-radius:9px;background:#f8fafc;overflow:hidden;box-sizing:border-box}
.product-detail-template-choice-preview i,.product-detail-template-choice-preview b,.product-detail-template-choice-preview em{display:block;border-radius:4px;background:#e7edf4}.product-detail-template-choice-preview i{grid-row:1/4}.product-detail-template-choice-preview b{grid-column:2;grid-row:1/3}.product-detail-template-choice-preview em{grid-column:3;grid-row:1/4}.product-detail-template-choice-preview.template-current{grid-template-columns:38% 1fr}.product-detail-template-choice-preview.template-current em{display:none}.product-detail-template-choice-preview.template-current b{grid-column:2;grid-row:1/4}.product-detail-template-choice:has(input:checked) .product-detail-template-choice-preview{border-color:#2563eb;background:#eff6ff}
.product-template-settings-panel[hidden]{display:none!important}.product-template-settings-panel-showcase{padding-top:4px}.showcase-benefit-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:900px){.product-detail-template-choices{grid-template-columns:1fr}.product-detail-template-choice{grid-template-columns:96px minmax(0,1fr)}.product-detail-template-choice-preview{width:96px}.showcase-benefit-settings-grid{grid-template-columns:1fr}}

/* Template-2-Frontendregeln liegen ab Round74 ausschließlich in assets/product-detail-template-showcase.css. */


/* Round74: Footer-Inhaltsvorlagen. Nur Anordnung/Inhalt; Farben und Typografie kommen aus den bestehenden Designwerten. */
.footer-template-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0 20px}
.footer-template-choice{position:relative;display:grid;grid-template-columns:112px minmax(0,1fr);grid-template-rows:auto auto;gap:4px 14px;align-items:center;padding:14px;border:1px solid var(--card-border);border-radius:14px;background:var(--card-bg);cursor:pointer}
.footer-template-choice>input{position:absolute;opacity:0;pointer-events:none}
.footer-template-choice:has(input:checked){border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.12)}
.footer-template-choice>strong,.footer-template-choice>small{grid-column:2}.footer-template-choice>small{color:var(--muted);line-height:1.35}
.footer-template-choice-preview{grid-row:1/span 2;width:112px;height:70px;position:relative;border:1px solid #d8e0e8;border-radius:8px;background:#f8fafc;overflow:hidden}
.footer-template-choice-preview i,.footer-template-choice-preview b,.footer-template-choice-preview em{position:absolute;display:block;background:#cbd5e1;border-radius:3px}
.footer-template-choice-preview i{left:9px;top:12px;width:35px;height:24px}.footer-template-choice-preview b{right:9px;top:12px;width:39px;height:16px}.footer-template-choice-preview em{left:9px;right:9px;bottom:10px;height:5px}
.footer-template-choice-preview-custom i{height:42px}.footer-template-choice-preview-custom b{height:42px}.footer-template-choice-preview-custom em{display:none}
.footer-template-panel[hidden]{display:none!important}.footer-template-panel{margin-top:8px}.footer-content-options h3{margin:10px 0 0}
@media(max-width:800px){.footer-template-choices{grid-template-columns:1fr}.footer-template-choice{grid-template-columns:96px minmax(0,1fr)}.footer-template-choice-preview{width:96px}}

/* Öffentlicher kompakter Footer nach der Inhaltsvorlage. */
.footer.footer-content-template-compact .footer-compact-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start}
.footer.footer-content-template-compact .footer-compact-shopdata,.footer.footer-content-template-compact .footer-compact-right{display:flex;flex-direction:column;gap:8px;min-width:0}
.footer.footer-content-template-compact .footer-compact-right{align-items:flex-end;text-align:right}
.footer.footer-content-template-compact .footer-compact-address{white-space:normal}
.footer.footer-content-template-compact .footer-compact-legal{display:flex;align-items:center;justify-content:flex-end;gap:0;flex-wrap:wrap}
.footer.footer-content-template-compact .footer-compact-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:28px;padding-top:18px;border-top:1px solid color-mix(in srgb,currentColor 28%,transparent)}
.footer.footer-content-template-compact .footer-payment-terms-compact{display:flex!important;align-items:center!important;justify-content:inherit!important;gap:8px!important;flex-wrap:wrap!important;margin:4px 0 0!important;white-space:normal!important}
.footer.footer-content-template-compact .footer-compact-right .footer-payment-terms-compact{justify-content:flex-end!important}
.footer.footer-content-template-compact .footer-compact-bottom .footer-payment-terms-compact{margin:0!important}
@media(max-width:700px){
 .footer.footer-content-template-compact .footer-compact-main{grid-template-columns:1fr;gap:18px}
 .footer.footer-content-template-compact .footer-compact-right{align-items:flex-start;text-align:left}
 .footer.footer-content-template-compact .footer-compact-legal{justify-content:flex-start}
 .footer.footer-content-template-compact .footer-compact-right .footer-payment-terms-compact{justify-content:flex-start!important}
 .footer.footer-content-template-compact .footer-compact-bottom{align-items:flex-start;flex-direction:column}
}
\n\n/* Round76: Footer-Editor aufgeräumt + Rechtstexte als echte WYSIWYG-Inhalte. */\nbody.admin-page .footer-template-panel .checkbox-row,\nbody.admin-page .footer-payment-content-control .checkbox-row{\n  display:inline-flex;align-items:center;justify-content:flex-start;gap:9px;min-height:34px;margin:0;font-weight:600;white-space:nowrap;\n}\nbody.admin-page .footer-template-panel .checkbox-row input[type=checkbox],\nbody.admin-page .footer-payment-content-control .checkbox-row input[type=checkbox]{\n  flex:0 0 auto;width:auto!important;height:auto!important;margin:0!important;\n}\nbody.admin-page .footer-template-panel .checkbox-row span,\nbody.admin-page .footer-payment-content-control .checkbox-row span{display:inline;min-width:0;white-space:nowrap;}\nbody.admin-page .footer-content-options{align-items:start;gap:12px 18px;}\nbody.admin-page .footer-content-options h3{margin:14px 0 2px;}\nbody.admin-page .footer-payment-position-field{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;justify-self:start;width:min(100%,420px);}\nbody.admin-page .footer-payment-position-field>label,\nbody.admin-page .footer-payment-position-field>small{text-align:left;width:100%;}\nbody.admin-page .footer-payment-position-field>select{width:100%;max-width:420px;}\nbody.admin-page .footer-payment-content-control{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin-top:18px;}\nbody.admin-page .footer-editor-actions{margin-top:22px;}\nbody.admin-page .footer-editor-actions>.full{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:6px;}\nbody.admin-page .footer-template-panel .wysiwyg-toolbar{margin-top:5px;}\nbody.admin-page .funnel-legal-rich-field{display:grid;gap:7px;}\nbody.admin-page .funnel-legal-rich-field>.wysiwyg-editor{min-height:320px;max-height:620px;overflow:auto;border:1px solid var(--input-border);border-radius:var(--input-radius);background:var(--input-bg);padding:12px;}\nbody.admin-page .funnel-legal-wysiwyg-toolbar{margin-top:0;}\n@media(max-width:760px){\n body.admin-page .footer-template-panel .checkbox-row,body.admin-page .footer-payment-content-control .checkbox-row,body.admin-page .footer-template-panel .checkbox-row span,body.admin-page .footer-payment-content-control .checkbox-row span{white-space:normal;}\n}\n
/* Round77: Konfiguration > Allgemein – Checkbox einzeilig */
.settings-checkbox-row-inline{display:inline-flex!important;align-items:center!important;gap:8px!important;white-space:nowrap!important}
.settings-checkbox-row-inline input{flex:0 0 auto!important;margin:0!important}
@media(max-width:640px){.settings-checkbox-row-inline{white-space:normal!important}}

/* Round79: Mobile Footer-Rechtlinks ohne Trennpunkte; Kategorie-Bilder vollständig sichtbar. */
@media(max-width:700px){
  .footer .footer-legal-separator{display:none!important}
  .footer .footer-legal-links{gap:10px 14px!important}
}
@media(max-width:560px){
  .home-category-rich-grid:not(.style-logo) .home-category-rich-media{aspect-ratio:auto!important;height:auto!important}
  .home-category-rich-grid:not(.style-logo) .home-category-rich-image{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
}
/* Round79: Servicehinweis-Untertext nutzt unter Symbol + Haupttext die volle Eingabebreite. */
.showcase-benefit-settings-grid .product-benefit-setting-fields>input:nth-of-type(2){grid-column:1 / -1!important}


/* Round80: stabile mobile Rechtlinks, Settings-Kacheln und Checkout-Bereich. */
@media(max-width:900px){
  body.public-page .footer .footer-legal-separator{display:none!important;font-size:0!important;width:0!important;margin:0!important;padding:0!important}
  body.public-page .footer .footer-legal-links{display:flex!important;flex-wrap:wrap!important;gap:10px 14px!important}
}
body.admin-page .settings-content-link-grid .action-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;min-height:132px}
body.admin-page .settings-content-link-grid .action-card strong{display:block}
body.admin-page .settings-content-link-grid .action-card .muted{display:block;margin-top:8px;line-height:1.45}
body.admin-page .checkout-progress-settings{padding:18px;margin:4px 0 0}
body.admin-page .checkout-progress-settings h2{margin-top:0}


/* Round80: Startseiten-Suchblock */
.home-search-section .home-search-copy{max-width:var(--home-search-max-width,760px);margin:0 auto 18px}
.home-search-shell{width:min(100%,var(--home-search-max-width,760px));margin-inline:auto}
.home-product-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch;position:relative}
.home-product-search:has(select){grid-template-columns:minmax(0,1fr) minmax(160px,220px) auto}
.home-product-search input,.home-product-search select,.home-product-search .btn{min-height:48px}
.home-search-section.search-size-compact .home-product-search input,.home-search-section.search-size-compact .home-product-search select,.home-search-section.search-size-compact .home-product-search .btn{min-height:40px;padding-block:8px}
.home-search-section.search-size-large .home-product-search input,.home-search-section.search-size-large .home-product-search select,.home-search-section.search-size-large .home-product-search .btn{min-height:58px;font-size:1.04em}
.home-search-section.search-style-card .home-search-shell{padding:18px;border:1px solid var(--card-border);border-radius:var(--card-radius);background:var(--card-bg);box-shadow:var(--surface-shadow)}
.home-search-section.search-style-soft .home-search-shell{padding:18px;border-radius:var(--card-radius);background:color-mix(in srgb,var(--card-bg) 84%,var(--body-bg))}
.home-search-section.search-style-minimal .home-search-shell{padding:0}
.home-product-search-input-wrap{position:relative;min-width:0}
.home-search-suggestions{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:30;border:1px solid var(--card-border);border-radius:12px;background:var(--card-bg);box-shadow:0 14px 34px rgba(15,23,42,.14);overflow:hidden}
.home-search-suggestion{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 13px;border-bottom:1px solid color-mix(in srgb,var(--card-border) 72%,transparent);color:var(--body-text)!important}
.home-search-suggestion:last-child{border-bottom:0}
.home-search-suggestion:hover{background:color-mix(in srgb,var(--accent) 7%,var(--card-bg))}
.home-search-suggestion strong{white-space:nowrap}
.home-search-quick-categories{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:12px}
.home-search-quick-categories a{display:inline-flex;align-items:center;padding:7px 11px;border:1px solid var(--card-border);border-radius:999px;background:var(--card-bg);font-size:.9em}
.home-search-quick-categories a:hover{border-color:var(--accent);color:var(--accent)}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:760px){
 .home-product-search,.home-product-search:has(select){grid-template-columns:1fr}
 .home-search-section.search-mobile-full-button .home-product-search .btn{width:100%}
 .home-search-suggestions{position:absolute}
}


/* Round81: Layout-Editor konsolidiert, Hintergrundbild, Checkout inline, Suchblock und Footer mobil. */
body.admin-page .appearance-page-background-settings{display:grid;gap:14px;margin-top:18px;padding-top:16px;border-top:1px solid var(--card-border)}
body.admin-page .appearance-template-card.is-builtin{border-style:solid}
body.admin-page .settings-content-action-card{display:grid!important;grid-template-columns:1fr!important;align-content:start!important;justify-items:start!important;gap:5px!important;text-align:left!important}
body.admin-page .settings-content-action-card strong,body.admin-page .settings-content-action-card span{display:block!important;width:100%;margin:0!important}
body.admin-page .checkout-progress-settings{padding:0!important;margin:4px 0 0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.admin-page .checkout-progress-settings h2{display:none}
body.admin-page .new-products-system-settings{padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.admin-page .new-products-system-settings>h3{display:none!important}
.home-product-search .btn{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-width:max-content;height:100%;align-self:stretch}
.home-product-search input,.home-product-search select,.home-product-search .btn{box-sizing:border-box;margin:0}
.home-search-quick-categories a{min-height:34px;box-sizing:border-box;align-items:center;justify-content:center}
@media(max-width:900px){
 body.public-page .footer .footer-legal-separator,body.public-page .footer-legal-separator,.footer .footer-legal-separator{display:none!important;visibility:hidden!important;font-size:0!important;line-height:0!important;width:0!important;height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
 body.public-page .footer .footer-legal-links,.footer .footer-legal-links{column-gap:14px!important;row-gap:8px!important}
}



/* Round83: Seitenaktionen und öffentliche Formularabstände. */
body.public-page main form.card.card-body:not(.product-detail-buybox):not(.cart-quantity-form):not(.reorder-form):not(.inline-form)>button.btn{margin-top:1em}
body.public-page.page-customer-login main form.card.card-body>.btn,
body.public-page.page-password-forgot main form.card.card-body>.btn,
body.public-page.page-password-reset main form.card.card-body>.btn{margin-top:1em!important}
body.public-page main .card-body>p+form:not(.inline-form),
body.public-page main .choice-action-form{margin-top:1em}




/* Round87: getrennte Ausrichtung von Text und Block-Elementen. */
.home-category-rich-grid.elements-left .home-category-rich-card{justify-self:start}
.home-category-rich-grid.elements-center .home-category-rich-card{justify-self:center}
.home-category-rich-grid.elements-right .home-category-rich-card{justify-self:end}
.home-search-section.elements-left .home-search-shell{margin-left:0;margin-right:auto}
.home-search-section.elements-center .home-search-shell{margin-left:auto;margin-right:auto}
.home-search-section.elements-right .home-search-shell{margin-left:auto;margin-right:0}
.home-search-section.elements-left .home-search-quick-categories{justify-content:flex-start}
.home-search-section.elements-center .home-search-quick-categories{justify-content:center}
.home-search-section.elements-right .home-search-quick-categories{justify-content:flex-end}
@media(max-width:560px){
  .home-category-rich-grid.elements-left .home-category-rich-card,
  .home-category-rich-grid.elements-center .home-category-rich-card,
  .home-category-rich-grid.elements-right .home-category-rich-card{justify-self:stretch}
  .home-search-section.elements-left .home-search-shell,
  .home-search-section.elements-center .home-search-shell,
  .home-search-section.elements-right .home-search-shell{margin-inline:0;width:100%}
}


/* Round 99: Einheitliche Startseiten-Blockflaechen.
   Jeder aktive Home-Builder-Baustein traegt seine Hintergrundflaeche auf der Section selbst –
   identisch zum Kategorie-Block. Die vorhandene innere Gesamtbox behaelt ausschließlich ihre
   bestehende Rahmen/Radius/Schatten/Padding-Funktion; ihre Fuellung wird nicht mehr als zweite,
   schmalere Blockflaeche benutzt. Damit bleiben Blocktypen und Grundfunktionen unveraendert. */
body.public-page.shop-system-active .home-global-card-block.home-block-instance:not(.home-hero-background):not(.home-global-gradient-mode){
  background:var(--home-block-surface,var(--home-block-bg,#fff))!important;
  color:var(--home-block-color,#17202a);
}
body.public-page.shop-system-active .home-global-card-block.home-block-instance:not(.home-hero-background):not(.home-global-gradient-mode) > .container,
body.public-page.shop-system-active .home-global-card-block.home-block-instance:not(.home-hero-background):not(.home-global-gradient-mode) > .home-block-container-full{
  background:transparent!important;
  color:inherit;
}
/* Auch Kundenbewertungen duerfen bei deaktivierter Gesamtbox nicht mehr ihre Section-Flaeche verlieren.
   Die alte Spezialregel fuer .home-review-section.home-outer-card-disabled wird hier bewusst nur fuer
   den Startseiten-Blockhintergrund uebersteuert; Bewertungs-Karten, Carousel und Inhalte bleiben unangetastet. */
body.public-page.shop-system-active .home-review-section.home-block-instance.home-outer-card-disabled:not(.home-global-gradient-mode){
  background:var(--home-block-surface,var(--home-block-bg,#fff))!important;
}
/* Ein Gesamtverlauf bleibt genau eine Flaeche auf <main>. Die einzelnen Sections und Innenboxen
   sind dann transparent, damit der Verlauf ohne Neustart durch alle aktiven Bloecke durchlaeuft. */
body.public-page.shop-system-active .home-global-card-block.home-block-instance.home-global-gradient-mode:not(.home-hero-background),
body.public-page.shop-system-active .home-global-card-block.home-block-instance.home-global-gradient-mode:not(.home-hero-background) > .container,
body.public-page.shop-system-active .home-global-card-block.home-block-instance.home-global-gradient-mode:not(.home-hero-background) > .home-block-container-full{
  background:transparent!important;
}


/* Round 100: automatische Farbe-1/Farbe-2-Bloecke bleiben echte, direkt aneinanderliegende Blockflaechen.
   Bei einem am Block gespeicherten "Abgerundet" darf dessen Aussenmargin keinen scheinbaren
   Zwischenblock mit dem Seitenhintergrund erzeugen. Die automatische Flaeche bleibt deshalb
   auf voller Blockbreite; die vorhandene Innenbox behaelt ihre Card-Rundung. */
body.public-page.shop-system-active .home-auto-alternating-solid.home-block-rounded{
  margin-top:0!important;
  margin-bottom:0!important;
  max-width:none!important;
  border-radius:0!important;
  overflow:visible!important;
}


/* Round 101: Kategorie-Kartenfarben strikt getrennt. Kartenhintergrund fuellt die Karte,
   Rahmenfarbe den normalen Rahmen; der Glow-Hover verwendet weiterhin die Akzentfarbe. */
body.public-page.shop-system-active .home-category-rich-grid .home-category-rich-card{background:var(--category-card-bg,#fff);}
body.public-page.shop-system-active .home-category-rich-grid.has-border .home-category-rich-card{border-color:var(--category-border-color,#dbe3ed);}
body.public-page.shop-system-active .home-category-rich-grid.hover-glow.has-border .home-category-rich-card:hover{border-color:var(--category-accent,#1d4ed8);}


/* Round 103: zentraler Abstand zwischen allen aktiven Startseiten-Bausteinen.
   Der globale Regler ersetzt nur den vertikalen Aussenabstand; horizontale Breite und Rundung
   eines Blocks bleiben unveraendert. Dadurch greift derselbe Wert auch bei abgerundeten Bloecken. */
body.public-page.shop-system-active main>.home-block-instance.home-block-rounded{margin-top:0!important;margin-bottom:0!important;}
body.public-page.shop-system-active main>.home-block-instance+.home-block-instance{margin-top:var(--home-block-gap,18px)!important;}
.appearance-range-control{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:12px;align-items:center;width:100%;}
.appearance-range-control input[type=range]{width:100%;margin:0;}
.appearance-range-control output{min-width:58px;text-align:right;font-variant-numeric:tabular-nums;font-weight:700;}

/* Round104: Mobile Header-Suche ist nur ein Link zur Such-/Produktseite; Desktop-Suche bleibt unverändert. */
.header-search-mobile-link{display:none;width:40px;height:40px;align-items:center;justify-content:center;color:inherit;border-radius:999px;text-decoration:none}
.header-search-mobile-link:hover,.header-search-mobile-link:focus-visible{background:color-mix(in srgb,currentColor 8%,transparent)}
.header-search-mobile-link svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
@media(max-width:760px){
  .header-search-desktop{display:none!important}
  .header-search-mobile-link{display:inline-flex;flex:0 0 40px}
}


/* Round105: Admin-Link dauerhaft aus dem Shop-Header entfernt; mobile Konto-/Warenkorb-Anordnung kompakt in einer Zeile. */
.account-label-mobile{display:none}
@media(max-width:760px){
  body.public-page .header-actions{flex-wrap:nowrap!important;justify-content:center!important;align-items:center!important}
  body.public-page .header-search-mobile-link{order:1}
  body.public-page .nav-account{order:2;width:auto!important;flex:0 0 auto!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;margin:0!important;padding:0!important;border:0!important;white-space:nowrap}
  body.public-page .nav-cart{order:3;width:auto!important;flex:0 0 auto!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;margin:0!important;padding:0!important;border:0!important;white-space:nowrap}
  .account-label-desktop{display:none}
  .account-label-mobile{display:inline}
}

/* Round106: Artikel-nach-Kategorie-Block. Aufbau und Kartenlogik orientieren sich am Kategorien-Block,
   aber mit produktbezogenen Inhalten und einer eigenen mobilen Darstellungswahl. */
body.public-page.shop-system-active .home-category-products-grid{
  display:grid;
  grid-template-columns:repeat(var(--category-products-columns,4),minmax(0,1fr));
  gap:var(--category-products-gap,16px);
  align-items:stretch;
}
body.public-page.shop-system-active .home-category-product-card{
  display:flex;
  flex-direction:column;
  width:100%;
  max-width:var(--category-products-max,340px);
  min-width:0;
  justify-self:center;
  overflow:hidden;
  border-radius:var(--category-products-radius,16px);
  background:var(--category-products-bg,#fff);
  color:var(--category-products-text,#17202a);
  text-decoration:none;
  border:1px solid transparent;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
body.public-page.shop-system-active .home-category-products-grid.has-border .home-category-product-card{border-color:var(--category-products-border,#dbe3ed)}
body.public-page.shop-system-active .home-category-products-grid.shadow-soft .home-category-product-card{box-shadow:0 8px 24px rgba(15,23,42,.08)}
body.public-page.shop-system-active .home-category-products-grid.shadow-strong .home-category-product-card{box-shadow:0 14px 34px rgba(15,23,42,.16)}
body.public-page.shop-system-active .home-category-product-media{position:relative;display:block;width:100%;overflow:hidden;background:color-mix(in srgb,var(--category-products-bg,#fff) 92%,#000 8%)}
body.public-page.shop-system-active .home-category-products-grid.ratio-square .home-category-product-media{aspect-ratio:1/1}
body.public-page.shop-system-active .home-category-products-grid.ratio-portrait .home-category-product-media{aspect-ratio:3/4}
body.public-page.shop-system-active .home-category-products-grid.ratio-landscape .home-category-product-media{aspect-ratio:4/3}
body.public-page.shop-system-active .home-category-product-media img{display:block;width:100%;height:100%;transition:transform .25s ease,filter .25s ease}
body.public-page.shop-system-active .home-category-products-grid.fit-cover .home-category-product-media img{object-fit:cover}
body.public-page.shop-system-active .home-category-products-grid.fit-contain .home-category-product-media img{object-fit:contain}
body.public-page.shop-system-active .home-category-product-placeholder{display:grid;place-items:center;width:100%;height:100%;min-height:140px;font-size:38px;opacity:.45}
body.public-page.shop-system-active .home-category-product-badges{position:absolute;top:10px;left:10px;display:flex;gap:6px;flex-wrap:wrap}
body.public-page.shop-system-active .home-category-product-badges span{padding:4px 7px;border-radius:999px;background:var(--category-products-accent,#1d4ed8);color:#fff;font-size:.72rem;font-weight:700;line-height:1}
body.public-page.shop-system-active .home-category-product-copy{display:flex;flex-direction:column;gap:6px;padding:var(--category-products-padding,14px);min-height:0;text-align:left}
body.public-page.shop-system-active .home-category-products-grid.text-center .home-category-product-copy{text-align:center;align-items:center}
body.public-page.shop-system-active .home-category-products-grid.text-right .home-category-product-copy{text-align:right;align-items:flex-end}
body.public-page.shop-system-active .home-category-product-category{opacity:.68;font-size:.78rem}
body.public-page.shop-system-active .home-category-product-name{font-size:1rem;line-height:1.3}
body.public-page.shop-system-active .home-category-product-description{font-size:.88rem;line-height:1.45;opacity:.78}
body.public-page.shop-system-active .home-category-product-price{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;margin-top:auto;padding-top:3px}
body.public-page.shop-system-active .home-category-product-price del{opacity:.6;font-size:.84rem}
body.public-page.shop-system-active .home-category-product-price b{font-size:1rem}
body.public-page.shop-system-active .home-category-products-grid.hover-lift .home-category-product-card:hover{transform:translateY(-5px)}
body.public-page.shop-system-active .home-category-products-grid.hover-zoom .home-category-product-card:hover img{transform:scale(1.055)}
body.public-page.shop-system-active .home-category-products-grid.hover-scale .home-category-product-card:hover{transform:scale(1.025)}
body.public-page.shop-system-active .home-category-products-grid.hover-lift_zoom .home-category-product-card:hover{transform:translateY(-5px)}
body.public-page.shop-system-active .home-category-products-grid.hover-lift_zoom .home-category-product-card:hover img{transform:scale(1.055)}
body.public-page.shop-system-active .home-category-products-grid.hover-accent_shadow .home-category-product-card:hover{box-shadow:0 12px 28px color-mix(in srgb,var(--category-products-accent,#1d4ed8) 28%,transparent);border-color:var(--category-products-accent,#1d4ed8)}

@media(max-width:760px){
  body.public-page.shop-system-active .home-category-products-grid.mobile-scroll{
    display:flex;
    overflow-x:auto;
    overflow-y:hidden;
    gap:var(--category-products-gap,16px);
    scroll-snap-type:x proximity;
    overscroll-behavior-inline:contain;
    scrollbar-width:thin;
    padding-bottom:6px;
  }
  body.public-page.shop-system-active .home-category-products-grid.mobile-scroll .home-category-product-card{
    flex:0 0 min(78vw,var(--category-products-max,340px));
    max-width:min(78vw,var(--category-products-max,340px));
    scroll-snap-align:start;
  }
  body.public-page.shop-system-active .home-category-products-grid.mobile-two{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.public-page.shop-system-active .home-category-products-grid.mobile-one{grid-template-columns:minmax(0,1fr)}
  body.public-page.shop-system-active .home-category-products-grid.mobile-two .home-category-product-card,
  body.public-page.shop-system-active .home-category-products-grid.mobile-one .home-category-product-card{max-width:none}
  body.public-page.shop-system-active .home-category-products-grid.mobile-two .home-category-product-copy{padding:min(var(--category-products-padding,14px),10px)}
  body.public-page.shop-system-active .home-category-products-grid.mobile-two .home-category-product-description{font-size:.8rem}
}

/* Round107: Mobile Konto und Warenkorb als reine Symbole in identischer Groesse zur Suchlupe.
   Desktop-Texte bleiben unveraendert. Der Warenkorb zeigt die Artikelanzahl als gut sichtbares Badge. */
.header-action-icon{display:none}
.header-account-label-desktop,.header-cart-label-desktop{display:inline}
@media(max-width:760px){
  body.public-page .header-account-label-desktop,
  body.public-page .header-cart-label-desktop{display:none!important}
  body.public-page .header-account-link,
  body.public-page .header-cart-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;min-width:40px!important;flex:0 0 40px!important;padding:0!important;margin:0!important;border-radius:999px!important;text-decoration:none!important;position:relative!important;color:inherit!important;line-height:1!important}
  body.public-page .header-account-link:hover,
  body.public-page .header-account-link:focus-visible,
  body.public-page a.header-cart-link:hover,
  body.public-page a.header-cart-link:focus-visible{background:color-mix(in srgb,currentColor 8%,transparent)}
  body.public-page .header-action-icon{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;position:relative}
  body.public-page .header-action-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  body.public-page .header-cart-badge{position:absolute;top:1px;right:0;display:flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--primary-bg,#111827);color:var(--primary-text,#fff);font-size:11px;font-weight:800;line-height:18px;font-variant-numeric:tabular-nums;box-shadow:0 0 0 2px var(--body-bg,#fff)}
  body.public-page .nav-cart.is-empty .header-cart-badge{opacity:.72}
  body.public-page .nav-account .logout-inline-form{margin-left:0}
}


/* Round108: Shopsystem-Seiten verwenden denselben konfigurierten Seitenhintergrund.
   Nur echte Komponentenflaechen (Karten, Buybox usw.) behalten ihre eigenen Layoutfarben. */
body.public-page.shop-system-active{
  background:var(--body-background,linear-gradient(var(--body-gradient-direction,135deg),var(--body-bg-start,#f7f8fa),var(--body-bg-end,#eef2ff)))!important;
  background-size:var(--body-background-size,auto)!important;
  background-repeat:var(--body-background-repeat,no-repeat)!important;
  background-position:var(--body-background-position,center top)!important;
  background-attachment:var(--body-background-attachment,fixed)!important;
}
body.public-page.shop-system-active>main{background:transparent!important;}

/* Anzahl bereits verbauter Bausteine direkt auf der jeweiligen Palette-Kachel. */
.builder-palette-card{position:relative;}
.builder-palette-count{
  position:absolute;top:8px;right:8px;display:inline-flex;align-items:center;justify-content:center;
  min-width:25px;height:25px;padding:0 6px;border-radius:999px;background:#111827;color:#fff;
  font-size:12px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums;box-shadow:0 1px 3px rgba(15,23,42,.18);
}

/* Desktop zeigt ausschliesslich den Warenkorb-Text; das mobile Mengen-Badge darf dort nie zusaetzlich erscheinen. */
@media(min-width:761px){
  body.public-page .header-action-icon,
  body.public-page .header-cart-badge{display:none!important;}
}

/* Round109: Mobile Header-Verhalten – Desktop bleibt unverändert. */
.mobile-header-toggle-bar{display:none}
@media(max-width:760px){
 body.public-page.mobile-header-sticky>.top{position:sticky;top:0;z-index:950;align-self:flex-start;width:100%;box-shadow:0 4px 20px rgba(0,0,0,.12)}
 body.public-page.mobile-header-collapsed>.top{min-height:34px}
 body.public-page.mobile-header-collapsed .mobile-header-toggle-bar{display:flex;width:100%;height:34px;align-items:center;justify-content:center;gap:6px;border:0;border-radius:0;background:var(--header-bg);color:var(--header-text);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
 body.public-page.mobile-header-collapsed .mobile-header-toggle-bar svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;transition:transform .18s ease}
 body.public-page.mobile-header-collapsed:not(.mobile-header-expanded)>.top>.nav{display:none!important}
 body.public-page.mobile-header-collapsed.mobile-header-expanded .mobile-header-toggle-bar svg{transform:rotate(180deg)}
}

/* Round111: manuell kuratierte Produktkarten – Elementausrichtung und Kartengröße getrennt von Textausrichtung. */
body.public-page .home-product-tiles-grid.tile-elements-left{justify-items:start}
body.public-page .home-product-tiles-grid.tile-elements-center{justify-items:center}
body.public-page .home-product-tiles-grid.tile-elements-right{justify-items:end}
body.public-page .home-product-tiles-grid.tile-size-small .product-card{width:100%;max-width:220px}
body.public-page .home-product-tiles-grid.tile-size-medium .product-card{width:100%;max-width:300px}
body.public-page .home-product-tiles-grid.tile-size-large .product-card{width:100%;max-width:380px}
body.public-page .home-product-tiles-grid.tile-size-fluid .product-card{width:100%;max-width:none}
@media(max-width:760px){
 body.public-page .home-product-tiles-grid.tile-size-small .product-card,
 body.public-page .home-product-tiles-grid.tile-size-medium .product-card,
 body.public-page .home-product-tiles-grid.tile-size-large .product-card{max-width:100%}
}

/* Round111: Topseller/Reduziert-Badges im gesamten Shopsystem optisch wie im Block „Artikel nach Kategorie“. */
body.public-page.shop-system-active .bestseller-badge,
body.public-page.shop-system-active .product-detail-sale-badge,
body.public-page.shop-system-active .home-category-product-badges .bestseller-badge{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;
 margin:0!important;padding:4px 7px!important;border:0!important;border-radius:999px!important;
 box-shadow:none!important;font-size:.72rem!important;font-weight:700!important;line-height:1!important;
 letter-spacing:0!important;text-transform:none!important;white-space:nowrap!important;
 background:var(--bestseller-badge-bg,var(--product-badge-bg,#f59e0b))!important;
 color:var(--bestseller-badge-text,var(--product-badge-text,#111827))!important;
}
body.public-page.shop-system-active .reduced-badge,
body.public-page.shop-system-active .product-detail-sale-badge,
body.public-page.shop-system-active .home-category-product-badges .reduced-badge{
 background:var(--reduced-badge-bg,#dc2626)!important;color:var(--reduced-badge-text,#fff)!important;
}
body.public-page.shop-system-active .product-card-badges{display:flex;flex-direction:column;gap:6px;align-items:flex-start;width:auto;min-width:0;padding:10px}
body.public-page.shop-system-active .product-card-badges.badge-position-top_left{left:0;right:auto}
body.public-page.shop-system-active .product-card-badges.badge-position-top_right{left:auto;right:0;align-items:flex-end}
body.public-page.shop-system-active .product-detail-sale-badge{top:10px;left:10px}
body.public-page.shop-system-active .product-detail-media>.bestseller-badge{top:10px;right:10px}
body.public-page.shop-system-active .home-category-product-badges{gap:6px}

/* Round111: mobile Header-Modi zuverlässig sichtbar halten. Fixed wird hier mit dynamischem Inhalts-Offset gekoppelt,
   damit sich der Header beim Scrollen wie ein Sticky-Header verhält und keinen Seiteninhalt überdeckt. */
.mobile-header-collapse-bottom{display:none}
@media(max-width:760px){
 body.public-page.mobile-header-sticky>.top{position:fixed!important;top:0!important;left:0;right:0;z-index:950;width:100%;max-width:100%;box-shadow:0 4px 20px rgba(0,0,0,.12)}
 body.public-page.mobile-header-sticky>main{padding-top:var(--mobile-sticky-header-offset,68px)}
 body.public-page.mobile-header-collapsed>.top{min-height:44px}
 body.public-page.mobile-header-collapsed .mobile-header-toggle-bar{display:flex!important;align-items:center;justify-content:space-between;gap:8px;width:100%;height:44px;padding:2px 8px;border:0;border-radius:0;background:var(--header-bg);color:var(--header-text)}
 body.public-page.mobile-header-collapsed.mobile-header-expanded .mobile-header-toggle-bar{display:none!important}
 .mobile-header-toggle-main{display:inline-flex;align-items:center;gap:6px;width:auto;padding:8px;border:0;background:transparent;color:inherit;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
 .mobile-header-toggle-main svg,.mobile-header-collapse-bottom svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
 body.public-page.mobile-header-collapsed:not(.mobile-header-expanded) .mobile-header-toggle-main svg{transform:none}
 .mobile-header-compact-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-left:auto}
 body.public-page .mobile-header-compact-icon{position:relative;display:inline-flex!important;align-items:center;justify-content:center;width:38px;height:38px;min-width:38px;padding:0;border-radius:999px;color:var(--header-text)!important}
 body.public-page .mobile-header-compact-icon svg{width:21px!important;height:21px!important;fill:none;stroke:currentColor;stroke-width:1.8}
 body.public-page .mobile-header-compact-icon .header-cart-badge{display:flex!important;top:-1px;right:-2px}
 body.public-page.mobile-header-collapsed.mobile-header-expanded .mobile-header-collapse-bottom{display:flex;width:100%;height:34px;align-items:center;justify-content:center;gap:6px;border:0;border-radius:0;background:var(--header-bg);color:var(--header-text);font:inherit;font-size:12px;font-weight:700;cursor:pointer;border-top:1px solid color-mix(in srgb,currentColor 18%,transparent)}
 body.public-page:not(.mobile-header-collapsed) .mobile-header-toggle-bar,
 body.public-page:not(.mobile-header-collapsed) .mobile-header-collapse-bottom{display:none!important}
}

/* Round111: deaktivierte systemgebundene Einstellungs-Kacheln sind sichtbar, aber nicht klickbar. */
.settings-content-action-card.is-disabled{opacity:.58;cursor:not-allowed;filter:saturate(.55)}

/* Round111 follow-up: Ausrichtung bezieht sich auf die gesamte Gruppe der tatsächlich vorhandenen manuellen Produktkarten. */
body.public-page .home-product-tiles-grid.tile-size-small{--home-product-card-max:220px}
body.public-page .home-product-tiles-grid.tile-size-medium{--home-product-card-max:300px}
body.public-page .home-product-tiles-grid.tile-size-large{--home-product-card-max:380px}
body.public-page .home-product-tiles-grid:not(.tile-size-fluid){width:100%;max-width:min(100%,calc(var(--home-product-used-columns,1) * var(--home-product-card-max,300px) + (var(--home-product-used-columns,1) - 1) * var(--home-product-gap-px,22px)))}
body.public-page .home-product-tiles-grid.tile-elements-left{margin-left:0;margin-right:auto}
body.public-page .home-product-tiles-grid.tile-elements-center{margin-left:auto;margin-right:auto}
body.public-page .home-product-tiles-grid.tile-elements-right{margin-left:auto;margin-right:0}
@media(max-width:760px){body.public-page .home-product-tiles-grid{grid-template-columns:repeat(min(2,var(--home-product-used-columns,var(--home-product-columns,2))),minmax(0,1fr))}}
@media(max-width:480px){body.public-page .home-product-tiles-grid{grid-template-columns:1fr}}

/* Round112: Kategorie-Block erhält dieselben mobilen Darstellungsarten wie „Artikel nach Kategorie“. */
@media(max-width:760px){
 body.public-page .home-category-rich-grid.mobile-two{grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible}
 body.public-page .home-category-rich-grid.mobile-one{grid-template-columns:1fr!important;overflow:visible}
 body.public-page .home-category-rich-grid.mobile-scroll{display:grid!important;grid-auto-flow:column;grid-auto-columns:minmax(72vw,320px);grid-template-columns:none!important;justify-content:start!important;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding-bottom:8px;-webkit-overflow-scrolling:touch}
 body.public-page .home-category-rich-grid.mobile-scroll .home-category-rich-card{width:100%;max-width:none;scroll-snap-align:start}
}
@media(max-width:480px){
 body.public-page .home-category-rich-grid.mobile-two{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.public-page .home-category-rich-grid.mobile-one{grid-template-columns:1fr!important}
 body.public-page .home-category-rich-grid.mobile-scroll{grid-auto-columns:minmax(78vw,290px)}
}

/* Round112: Einheitliche Live-Builder-Steuerung nur im Shopsystem-Admin. Vollansicht steht vor Desktop/Mobil. */
body.has-maximized-shop-live-builder{overflow:hidden!important}
.shop-unified-live-builder .device-preview-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.shop-unified-live-builder .device-preview-stage{width:100%;max-width:100%}
.shop-unified-live-builder.is-maximized,
.shop-design-preview-card.is-maximized.shop-unified-live-builder{
 position:fixed!important;inset:0!important;z-index:20000!important;display:flex!important;flex-direction:column!important;
 padding:84px 18px 18px!important;border:0!important;border-radius:0!important;background:#e9eef5!important;overflow:hidden!important;box-shadow:none!important
}
.shop-unified-live-builder.is-maximized .shop-live-builder-toolbar,
.shop-design-preview-card.is-maximized.shop-unified-live-builder .shop-live-builder-toolbar{
 display:flex!important;position:fixed!important;top:18px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;
 z-index:20010!important;width:auto!important;max-width:calc(100vw - 36px)!important;min-height:0!important;margin:0!important;padding:10px 14px!important;
 align-items:center!important;justify-content:center!important;gap:12px!important;border:1px solid #dbe2ea!important;border-radius:14px!important;
 background:#fff!important;color:#17202a!important;box-shadow:0 12px 34px rgba(15,23,42,.18)!important
}
.shop-unified-live-builder.is-maximized .shop-live-builder-copy,
.shop-design-preview-card.is-maximized.shop-unified-live-builder .shop-live-builder-copy{display:none!important}
.shop-unified-live-builder.is-maximized .shop-preview-status,
.shop-design-preview-card.is-maximized.shop-unified-live-builder .shop-preview-status{display:none!important}
.shop-unified-live-builder.is-maximized .device-preview-stage,
.shop-design-preview-card.is-maximized.shop-unified-live-builder .device-preview-stage{
 position:relative!important;inset:auto!important;flex:1 1 auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
 margin:0 auto!important;padding:12px!important;overflow:auto!important;background:#dfe5ec!important
}
.shop-unified-live-builder.is-maximized .device-preview-stage.is-mobile,
.shop-design-preview-card.is-maximized.shop-unified-live-builder .device-preview-stage.is-mobile{width:min(390px,100%)!important;flex:0 1 390px!important}
.shop-unified-live-builder.is-maximized .device-preview-stage iframe,
.shop-design-preview-card.is-maximized.shop-unified-live-builder .device-preview-stage iframe{
 display:block!important;width:100%!important;min-width:0!important;height:calc(100vh - 126px)!important;min-height:560px!important;border:0!important;border-radius:10px!important;background:#fff!important;pointer-events:auto!important
}
.shop-unified-live-builder.is-maximized .preview-maximize-button{position:static!important}

/* Startseiten-Livebuilder nutzt dieselben Gerätestufen. */
.home-builder-live-preview .device-preview-stage iframe{display:block;width:100%;height:620px;border:0;border-radius:10px;background:#fff}
.home-builder-live-preview .device-preview-stage.is-mobile{width:min(390px,100%)}
.home-builder-live-preview .device-preview-stage.is-desktop{width:100%}

/* Produktseiten-Livebuilder: identische Vollansicht mit weißer Steuerkachel oben. */
.visual-product-builder.is-maximized{
 position:fixed!important;inset:0!important;z-index:20000!important;display:block!important;padding:86px 18px 18px!important;
 background:#e9eef5!important;overflow:hidden!important
}
.visual-product-builder.is-maximized .visual-builder-head{
 position:fixed!important;top:18px!important;left:50%!important;transform:translateX(-50%)!important;z-index:20010!important;
 width:auto!important;max-width:calc(100vw - 36px)!important;margin:0!important;padding:10px 14px!important;border:1px solid #dbe2ea!important;
 border-radius:14px!important;background:#fff!important;box-shadow:0 12px 34px rgba(15,23,42,.18)!important
}
.visual-product-builder.is-maximized .visual-builder-head>div:first-child{display:none!important}
.visual-product-builder.is-maximized .visual-builder-view-switch{display:flex!important;align-items:center!important;gap:6px!important;white-space:nowrap}
.visual-product-builder.is-maximized .visual-builder-studio{height:calc(100vh - 108px)!important;max-height:none!important;overflow:auto!important;background:#fff;border-radius:14px}
.visual-product-builder.is-maximized .builder-template-bar,.visual-product-builder.is-maximized>.builder-template-hint{display:none!important}

/* Eingeklappter mobiler Header: unten nur das ^-Symbol anzeigen. */
@media(max-width:760px){
 body.public-page.mobile-header-collapsed.mobile-header-expanded .mobile-header-collapse-bottom{font-size:20px!important;line-height:1!important;font-weight:800!important;gap:0!important}
 body.public-page.mobile-header-collapsed.mobile-header-expanded .mobile-header-collapse-bottom>span{display:block!important;transform:translateY(-1px)}
}

/* Round113: Shop-Live-Builder nutzen auf Desktop die verfuegbare Viewport-Hoehe.
   Ausschliesslich Shopsystem-Vorschauen; Funnel-Livebuilder bleiben unberuehrt. */
@media (min-width:1101px){
  #appearance-form .appearance-preview-column,
  .design-live-preview.has-real-shop-preview,
  .shop-checkout-preview-host.has-real-shop-preview{
    height:calc(100vh - 36px)!important;
    max-height:calc(100vh - 36px)!important;
    overflow:hidden!important;
  }

  .shop-design-preview-card.shop-unified-live-builder,
  .home-builder-live-preview.shop-unified-live-builder{
    display:flex!important;
    flex-direction:column!important;
    height:calc(100vh - 36px)!important;
    min-height:0!important;
    max-height:calc(100vh - 36px)!important;
    overflow:hidden!important;
  }

  .shop-design-preview-card.shop-unified-live-builder>.builder-preview-head,
  .home-builder-live-preview.shop-unified-live-builder>.builder-preview-head{
    flex:0 0 auto!important;
  }

  .shop-design-preview-card.shop-unified-live-builder>.device-preview-stage,
  .home-builder-live-preview.shop-unified-live-builder>.device-preview-stage{
    flex:1 1 auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:hidden!important;
  }

  .shop-design-preview-card.shop-unified-live-builder>.device-preview-stage>iframe,
  .home-builder-live-preview.shop-unified-live-builder>.device-preview-stage>iframe{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
  }

  /* Produktseiten-Livebuilder: die Live-Arbeitsflaeche nutzt ebenfalls die verfuegbare Desktophoehe. */
  .visual-product-builder:not(.is-maximized) .visual-builder-studio{
    min-height:calc(100vh - 180px);
  }
  .visual-product-builder:not(.is-maximized) .visual-builder-canvas-wrap{
    min-height:calc(100vh - 216px);
  }
}

/* Round114: optionale, isolierte Warenkorb-Aktion auf Produktkarten. */
.product-cart-hint-option{align-items:flex-start}
.product-cart-hint-copy{display:grid;gap:8px;min-width:0}
.product-cart-hint-copy label{display:grid;gap:2px;cursor:pointer}
.product-cart-hint-copy select{width:100%;min-width:0;margin:0;padding:.48rem .62rem;font-size:.82rem}
.product-card-action-shell{position:relative;min-width:0;height:100%}
.product-card-action-shell>.product-card-link{height:100%}
.product-card-action-shell>.product-card-link .card-body{padding-bottom:68px}
.product-card-cart-hint-form{position:absolute;right:12px;bottom:12px;z-index:7;margin:0}
.product-card-cart-hint{position:absolute;right:12px;bottom:12px;z-index:7;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:42px;height:42px;padding:0 13px;border:1px solid color-mix(in srgb,var(--primary-bg,#111827) 18%,transparent);border-radius:999px;background:var(--primary-bg,#111827);color:var(--primary-text,#fff)!important;text-decoration:none!important;box-shadow:0 6px 18px rgba(15,23,42,.16);font:inherit;font-size:.82rem;font-weight:800;line-height:1;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease}
.product-card-cart-hint-form .product-card-cart-hint{position:static}
.product-card-cart-hint:hover,.product-card-cart-hint:focus-visible{transform:translateY(-2px);box-shadow:0 9px 22px rgba(15,23,42,.22);outline:none;background:var(--primary-hover,#374151)}
.product-card-cart-hint:focus-visible{outline:3px solid color-mix(in srgb,var(--accent,#4f46e5) 30%,transparent);outline-offset:2px}
.product-card-cart-hint.is-disabled{opacity:.48;cursor:not-allowed;pointer-events:none}
.product-card-cart-hint svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.product-card-cart-hint-plus{display:grid;place-items:center;width:22px;height:22px;border:2px solid currentColor;border-radius:50%;font-size:18px;font-weight:500;line-height:1}
.product-card-cart-style-circled_plus .product-card-cart-hint,.product-card-cart-style-cart_icon .product-card-cart-hint{width:42px;padding:0}
.product-card-cart-style-compact_button .product-card-cart-hint{min-width:122px}
@media(max-width:760px){.product-card-action-shell>.product-card-link .card-body{padding-bottom:62px}.product-card-cart-hint,.product-card-cart-hint-form{right:10px;bottom:10px}.product-card-cart-style-compact_button .product-card-cart-hint{min-width:112px;height:40px;padding-inline:11px;font-size:.76rem}}
.product-card-cart-hint.is-preview{pointer-events:none}

/* Round115: Warenkorb-Hinweis sitzt auf derselben visuellen Zeile wie der Preis.
   Nur Karten mit aktivierter Warenkorb-Aktion werden beeinflusst. */
.product-card-action-shell>.product-card-link .card-body{
  padding-bottom:var(--design-card-padding,20px);
}
.product-card-action-shell>.product-card-link .product-card-price{
  min-height:42px;
  margin-bottom:0;
  padding-right:56px;
  align-items:center;
}
.product-card-action-shell>.product-card-cart-hint-form,
.product-card-action-shell>.product-card-cart-hint{
  right:var(--design-card-padding,20px);
  bottom:var(--design-card-padding,20px);
}
.product-card-action-shell.product-card-cart-style-compact_button>.product-card-link .product-card-price{
  padding-right:136px;
}
@media(max-width:760px){
  .product-card-action-shell>.product-card-link .card-body{padding-bottom:var(--design-card-padding,20px)}
  .product-card-action-shell>.product-card-cart-hint-form,
  .product-card-action-shell>.product-card-cart-hint{right:var(--design-card-padding,20px);bottom:var(--design-card-padding,20px)}
  .product-card-action-shell.product-card-cart-style-compact_button>.product-card-link .product-card-price{padding-right:126px}
}

/* Round115: Round113 darf nur die Höhe strecken, nicht den mobilen Gerätemodus aufheben.
   In Flex-Containern muss die mobile Bühne explizit zentriert und auf Telefonbreite begrenzt werden. */
@media(min-width:1101px){
  .shop-design-preview-card.shop-unified-live-builder:not(.is-maximized)>.device-preview-stage.is-mobile,
  .home-builder-live-preview.shop-unified-live-builder:not(.is-maximized)>.device-preview-stage.is-mobile{
    width:min(390px,100%)!important;
    max-width:390px!important;
    align-self:center!important;
    flex:1 1 auto!important;
  }
  .shop-design-preview-card.shop-unified-live-builder:not(.is-maximized)>.device-preview-stage.is-desktop,
  .home-builder-live-preview.shop-unified-live-builder:not(.is-maximized)>.device-preview-stage.is-desktop{
    width:100%!important;
    max-width:100%!important;
    align-self:stretch!important;
  }
  .visual-product-builder:not(.is-maximized) .visual-builder-canvas.is-mobile{
    width:min(390px,100%)!important;
    max-width:390px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}

/* Auch in der Vollansicht bleibt Mobil schmal, nutzt aber weiterhin die volle verfügbare Höhe.
   flex-basis:390px wäre in der Spalten-Flexbox eine HÖHENbegrenzung und wird deshalb ausdrücklich vermieden. */
.shop-unified-live-builder.is-maximized .device-preview-stage.is-mobile,
.shop-design-preview-card.is-maximized.shop-unified-live-builder .device-preview-stage.is-mobile{
  width:min(390px,100%)!important;
  max-width:390px!important;
  align-self:center!important;
  flex:1 1 auto!important;
}
.visual-product-builder.is-maximized .visual-builder-canvas.is-mobile{
  width:min(390px,100%)!important;
  max-width:390px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Round117: Header-Suche als eigener Konfigurationsbereich + Desktop-Autovervollständigung */
.shop-search-toggle-row{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.shop-search-toggle-row .checkbox-row{margin:0}.shop-search-settings [hidden]{display:none!important}
.header-search-suggestions{position:absolute;top:calc(100% + 6px);right:0;width:var(--header-search-open-width,220px);max-width:calc(100vw - 24px);background:var(--card-bg,#fff);border:1px solid var(--card-border,#dfe5ec);border-radius:10px;box-shadow:0 12px 28px rgba(15,23,42,.14);overflow:hidden;z-index:50}.header-search-suggestion,.header-search-all{display:flex;align-items:center;gap:8px;padding:7px 10px;color:var(--body-text,#17202a)!important;background:var(--card-bg,#fff);text-decoration:none;font-size:.88rem;line-height:1.25}.header-search-suggestion{border-bottom:1px solid color-mix(in srgb,var(--card-border,#dfe5ec) 72%,transparent)}.header-search-suggestion:hover,.header-search-suggestion:focus-visible,.header-search-all:hover,.header-search-all:focus-visible{background:color-mix(in srgb,var(--accent,#2563eb) 7%,var(--card-bg,#fff))}.header-search-suggestion span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-search-all{justify-content:center;font-weight:700;border-top:1px solid var(--card-border,#dfe5ec);padding-block:8px}
@media(max-width:760px){.header-search-suggestions{display:none!important}}


/* Round118: einheitliche, kompakte Suchvervollständigung in Header und Startseiten-Suchblock. */
body.public-page .home-search-suggestions{width:100%;max-width:100%;box-sizing:border-box;border-radius:10px;box-shadow:0 12px 28px rgba(15,23,42,.14)}
body.public-page .home-search-suggestion,body.public-page .home-search-all{display:flex;align-items:center;padding:7px 10px;color:var(--body-text)!important;background:var(--card-bg);text-decoration:none;font-size:.88rem;line-height:1.25}
body.public-page .home-search-suggestion span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.public-page .home-search-all{justify-content:center;font-weight:700;border-top:1px solid var(--card-border);padding-block:8px}
body.public-page .home-search-all:hover,body.public-page .home-search-all:focus-visible{background:color-mix(in srgb,var(--accent) 7%,var(--card-bg))}

/* Round119: Header-Suche bleibt nur innerhalb Lupe/Eingabe/Ergebnis offen; eingeklappter Zustand ohne Fokusrahmen. */
.header-search.is-search-open .header-search-suggestions{pointer-events:auto}
.header-search:not(.is-search-open) .header-search-suggestions{display:none!important}

/* Round123: Shopsystem-Newsletter Einwilligung */
.newsletter-consent-editor{margin-top:14px}.newsletter-consent-editor textarea{width:100%;resize:vertical}.home-newsletter-consent--shop{display:flex!important;margin-top:12px!important;max-width:100%!important}.home-newsletter-consent--shop .home-newsletter-consent-copy{line-height:1.45}

/* Round124: Header logo removal is a real action button; hidden desktop cart count must stay hidden at zero. */
.current-header-logo .header-logo-remove-button{margin-left:auto;white-space:nowrap}
body.public-page .nav-cart [data-cart-count-wrap][hidden]{display:none!important}

/* Round125: Im Modus "Einfarbig" ist die zweite Seitenhintergrundfarbe bewusst inaktiv. */
.appearance-color-grid .color-control.is-disabled{opacity:.45;filter:grayscale(.35);cursor:not-allowed}.appearance-color-grid .color-control.is-disabled input{cursor:not-allowed}

/* Round126: rekonstruierter Shop-Newsletter-Flow */
.newsletter-placement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 18px}.newsletter-account-offer-settings{display:grid;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid var(--card-border,#d8dde6)}.newsletter-account-create-offer{margin-top:18px;padding-top:16px;border-top:1px solid currentColor;border-color:color-mix(in srgb,currentColor 18%,transparent)}.newsletter-account-create-offer h3{margin:0 0 6px}.newsletter-account-create-offer p{margin:0 0 12px}.newsletter-pending-card{max-width:820px;margin-inline:auto}.account-newsletter-card{margin:18px 0}.account-newsletter-card form{display:grid;gap:12px}.account-newsletter-code{margin-left:6px}@media(max-width:760px){.newsletter-placement-grid{grid-template-columns:1fr}}

/* Round127: vollständige Newsletter-Rabattcode-Konfiguration */
.newsletter-stage-grid-full{grid-template-columns:repeat(2,minmax(0,1fr))!important}.newsletter-process-overview{margin-bottom:18px}.newsletter-code-style-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:end}.newsletter-location-copy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.newsletter-location-copy-grid>div{display:grid;gap:8px;padding:14px;border:1px solid var(--border,#dfe5ec);border-radius:12px}.newsletter-location-copy-grid h3{margin:0 0 4px}.newsletter-mail-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.newsletter-mail-link{text-decoration:none;color:inherit}.newsletter-mail-link:hover{border-color:var(--accent,#2563eb)}.newsletter-reward-placement-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.newsletter-reward-config h3{margin:18px 0 10px}.newsletter-resend-form{margin-top:12px}.newsletter-reward-code-wrap{margin-top:10px}.account-newsletter-card .newsletter-reward-code-wrap{margin:12px 0 0}.cart-newsletter-offer .newsletter-reward-code-wrap{margin-top:10px}
@media(max-width:1100px){.newsletter-code-style-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.newsletter-reward-placement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.newsletter-code-style-grid,.newsletter-location-copy-grid,.newsletter-mail-template-grid,.newsletter-reward-placement-grid{grid-template-columns:1fr}}

/* Round129: Newsletter admin top pair (stage 1 + stage 6) */
.newsletter-top-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:20px;align-items:stretch}
.newsletter-top-pair>.card{margin:0;height:100%;box-sizing:border-box}
.newsletter-placement-grid-stacked{grid-template-columns:1fr!important;gap:10px!important;margin:12px 0 0!important}
.newsletter-placement-grid-stacked .newsletter-enable-card{margin:0!important}
.newsletter-account-offer-card{display:flex;flex-direction:column}
.newsletter-account-offer-toggle{display:flex;align-items:center;gap:10px;margin:2px 0 0;padding:0}
.newsletter-account-offer-toggle input{width:18px;height:18px;flex:0 0 18px;margin:0}
.newsletter-account-offer-help{display:block;margin:5px 0 0 28px}
@media(max-width:980px){.newsletter-top-pair{grid-template-columns:1fr}}

/* Round132: Newsletter-Administration – kompakte Editoren und zentrale Newsletter-Einstellungen */
.newsletter-config-form .newsletter-wysiwyg-editor{height:130px!important;min-height:130px!important;max-height:130px!important;overflow:auto!important;padding:12px 14px!important}
.newsletter-config-form .newsletter-wysiwyg-editor>[data-newsletter-surface]{min-height:100px!important}
.newsletter-config-form .newsletter-inline-checkbox,
.newsletter-central-settings-form .newsletter-inline-checkbox{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;width:100%!important;box-sizing:border-box;text-align:left!important}
.newsletter-config-form .newsletter-inline-checkbox input,
.newsletter-central-settings-form .newsletter-inline-checkbox input{flex:0 0 18px!important;width:18px!important;height:18px!important;margin:0!important}
.newsletter-config-form .newsletter-inline-checkbox>span,
.newsletter-central-settings-form .newsletter-inline-checkbox>span{display:inline!important;min-width:0!important;margin:0!important}
.newsletter-config-form .newsletter-placement-grid-stacked .choice-card{min-height:44px!important;padding:10px 12px!important}
.newsletter-central-settings-form{display:grid;grid-template-columns:1fr;gap:16px;margin-top:14px}
.newsletter-central-setting-card{display:grid;gap:14px;padding:16px;border:1px solid var(--border,#d8dee8);border-radius:12px;background:var(--surface,#fff)}
.newsletter-central-setting-card h4,.newsletter-central-setting-card h5{margin:0}
.newsletter-central-setting-card h5{margin-top:4px}
.newsletter-central-checkbox-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.newsletter-central-checkbox-list .newsletter-inline-checkbox{padding:10px 12px;border:1px solid var(--border,#d8dee8);border-radius:10px;background:var(--card-bg,#fff)}
.newsletter-rich-text>:first-child{margin-top:0}.newsletter-rich-text>:last-child{margin-bottom:0}
@media(max-width:760px){.newsletter-central-checkbox-list{grid-template-columns:1fr}}

/* Round134: Newsletter admin flow order and account overview placement */
.newsletter-stage-grid-full>.newsletter-stage-wide{grid-column:1/-1}
.newsletter-location-copy-grid-account-only{grid-template-columns:1fr}
body.public-page.page-account .account-grid.has-newsletter{grid-template-columns:repeat(4,minmax(0,1fr))}
body.public-page.page-account .account-grid.has-newsletter>.account-newsletter-card{margin:0;min-width:0}
@media(max-width:900px){body.public-page.page-account .account-grid.has-newsletter{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.public-page.page-account .account-grid.has-newsletter{grid-template-columns:1fr}}
