/* ════════════════════════════════════════
   Stempel-Konfigurator — Storefront CSS
   Farben: #e8919a (Pink), #1a1a1a (Schwarz), #fff (Weiß)
   ════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700&display=swap');

:root {
    --sk-pink:        #e8919a;
    --sk-pink-dark:   #d4737c;
    --sk-black:       #1a1a1a;
    --sk-gray-light:  #f5f5f5;
    --sk-gray:        #e0e0e0;
    --sk-gray-mid:    #9e9e9e;
    --sk-white:       #ffffff;
    --sk-radius-lg:   10px;
    --sk-radius:      6px;
    --sk-shadow:      0 2px 12px rgba(0,0,0,0.08);
    --sk-font:        'Nunito', sans-serif;
    --sk-transition:  0.2s ease;
}

/* ── Wrapper ── */
.sk-wrap {
    font-family: var(--sk-font);
    color: var(--sk-black);
    max-width: 680px;
    margin: 24px 0;
}

/* ── Ladeindikator ── */
.sk-loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--sk-gray-mid);
}
.sk-loading-spinner {
    width: 36px; height: 36px;
    border: 3px solid var(--sk-gray);
    border-top-color: var(--sk-pink);
    border-radius: 50%;
    animation: sk-spin 0.8s linear infinite;
    margin: 0 auto 12px;
}
@keyframes sk-spin { to { transform: rotate(360deg); } }

/* ── Schritt-Indikator ── */
.sk-step-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.sk-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 56px;
    cursor: default;
}
.sk-step-item span {
    font-size: 11px;
    font-weight: 600;
    color: var(--sk-gray-mid);
    white-space: nowrap;
    transition: color var(--sk-transition);
}
.sk-step-dot {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--sk-gray);
    color: var(--sk-gray-mid);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--sk-transition), color var(--sk-transition);
}
.sk-step-item.active .sk-step-dot {
    background: var(--sk-pink);
    color: var(--sk-white);
}
.sk-step-item.active span { color: var(--sk-black); }
.sk-step-item.done .sk-step-dot {
    background: var(--sk-pink-dark);
    color: var(--sk-white);
}
.sk-step-item.done .sk-step-dot::after { content: '✓'; }
.sk-step-item.done span { color: var(--sk-black); }

.sk-step-divider {
    flex: 1;
    height: 2px;
    background: var(--sk-gray);
    margin: 0 4px;
    margin-bottom: 22px;
    min-width: 16px;
}

/* ── Live-Vorschau ── */
.sk-preview {
    background: #f0f0f0;
    border-radius: var(--sk-radius-lg);
    padding: 24px 20px 16px;
    margin-bottom: 20px;
    text-align: center;
}
.sk-preview-svg-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Höhe größer für runde Stempel — wurde sonst oben/unten abgeschnitten */
    min-height: 280px;
    padding: 12px 0;
}
.sk-preview-svg-wrap svg {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
}
.sk-preview-meta {
    margin-top: 8px;
    font-size: 12px;
    color: var(--sk-gray-mid);
    font-weight: 600;
}
.sk-preview-trust {
    font-size: 11px;
    color: var(--sk-gray-mid);
    margin-top: 6px;
}

/* ── Karten ── */
.sk-card {
    background: var(--sk-white);
    border: 1px solid var(--sk-gray);
    border-radius: var(--sk-radius-lg);
    padding: 24px;
    box-shadow: var(--sk-shadow);
}
.sk-card-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
}
.sk-card-desc {
    font-size: 13px;
    color: var(--sk-gray-mid);
    margin: 0 0 18px;
}

/* ── Eingabe ── */
.sk-input-wrap {
    position: relative;
}
.sk-input {
    width: 100%;
    border: 2px solid var(--sk-gray);
    border-radius: var(--sk-radius);
    padding: 12px 48px 12px 16px;
    font-size: 20px;
    font-family: var(--sk-font);
    outline: none;
    transition: border-color var(--sk-transition);
    box-sizing: border-box;
}
.sk-input:focus { border-color: var(--sk-pink); }
.sk-char-count {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--sk-gray-mid);
    font-weight: 600;
}
.sk-input-error {
    color: #c0392b;
    font-size: 13px;
    margin-top: 6px;
    padding: 6px 10px;
    background: #fdf2f2;
    border-radius: var(--sk-radius);
}

/* ── Buttons ── */
.sk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 24px;
    border-radius: var(--sk-radius);
    font-family: var(--sk-font);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all var(--sk-transition);
    min-height: 48px;
    text-decoration: none;
}
.sk-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.sk-btn-primary {
    background: var(--sk-black);
    color: var(--sk-white);
    width: 100%;
    margin-top: 18px;
}
.sk-btn-primary:hover:not(:disabled) { background: #333; }
.sk-btn-secondary {
    background: transparent;
    color: var(--sk-gray-mid);
    border: 1px solid var(--sk-gray);
    padding: 10px 18px;
    font-size: 13px;
}
.sk-btn-secondary:hover:not(:disabled) {
    border-color: var(--sk-gray-mid);
    color: var(--sk-black);
}
.sk-btn-release {
    background: var(--sk-pink);
    color: var(--sk-white);
    width: 100%;
    font-size: 16px;
    padding: 15px 24px;
}
.sk-btn-release:hover:not(:disabled) { background: var(--sk-pink-dark); }
.sk-btn-release.confirm-2 {
    background: var(--sk-black);
    color: var(--sk-white);
}
.sk-btn-release.confirm-2:hover:not(:disabled) { background: #333; }

/* ── Navigation ── */
.sk-step-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    gap: 12px;
}
.sk-step-nav .sk-btn-primary { margin-top: 0; flex: 1; }
.sk-step-nav-back-only { justify-content: flex-start; }

/* ── Font-Liste ── */
.sk-font-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 360px;
    overflow-y: auto;
    margin-bottom: 8px;
}
.sk-font-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid var(--sk-gray);
    border-radius: var(--sk-radius);
    cursor: pointer;
    transition: border-color var(--sk-transition), background var(--sk-transition);
    position: relative;
    gap: 12px;
}
.sk-font-item:hover { border-color: var(--sk-pink); background: #fef8f8; }
.sk-font-item.selected {
    border-color: var(--sk-pink);
    background: #fef0f1;
}
.sk-font-preview {
    font-size: 30px;
    line-height: 1;
    color: var(--sk-black);
    height: 40px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}
.sk-font-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--sk-gray-mid);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Kategorie-Tabs ── */
.sk-category-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.sk-cat-tab {
    padding: 7px 14px;
    border-radius: 20px;
    border: 1px solid var(--sk-gray);
    background: var(--sk-white);
    font-family: var(--sk-font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--sk-transition);
    min-height: 36px;
}
.sk-cat-tab:hover { border-color: var(--sk-pink); color: var(--sk-pink); }
.sk-cat-tab.active {
    background: var(--sk-pink);
    border-color: var(--sk-pink);
    color: var(--sk-white);
}

/* ── Symbol-Grid ── */
.sk-symbol-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 8px;
}
@media (max-width: 480px) {
    .sk-symbol-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Frame-Grid (Schritt 4 bei runden Stempeln): Raster wie Symbol-Grid,
   3 Spalten Desktop / 2 Spalten Mobile — Rahmen sind größer als Symbole.
   padding 8px: Platz für den ::after-Haken (-6px Offset), sonst clippt overflow-y: auto. */
.sk-frame-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-height: 460px;
    overflow-y: auto;
    margin-bottom: 8px;
    padding: 8px;
}
@media (max-width: 480px) {
    .sk-frame-grid { grid-template-columns: repeat(2, 1fr); }
}
.sk-frame-grid .sk-symbol-item .sk-symbol-inner {
    width: 80px;
    height: 80px;
}
.sk-frame-grid .sk-symbol-item .sk-symbol-label {
    font-size: 10px;
}

/* Deko-Grid (Schritt 4 bei rect-deco): 3 Spalten, damit Sebastiens 3 Top-Bottom-
   Motive in der ersten Reihe und 3 Sides-Motive in der zweiten Reihe stehen. */
.sk-deco-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-height: 460px;
    overflow-y: auto;
    margin-bottom: 8px;
    padding: 8px;
}
@media (max-width: 480px) {
    .sk-deco-grid { grid-template-columns: repeat(2, 1fr); }
}
.sk-deco-grid .sk-symbol-item .sk-symbol-inner {
    width: 100%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
    overflow: hidden;
}
.sk-deco-grid .sk-symbol-item .sk-symbol-inner svg {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
}
/* Top/Bottom-Decos sind horizontal lang — kleiner anzeigen,
   damit sie optisch zu den seitlichen Ranken passen */
.sk-deco-grid .sk-symbol-item[data-slot="top-bottom"] .sk-symbol-inner svg {
    max-width: 50%;
}
.sk-deco-grid .sk-symbol-item .sk-symbol-label {
    font-size: 11px;
    text-align: center;
}
.sk-symbol-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    border: 2px solid var(--sk-gray);
    border-radius: var(--sk-radius);
    cursor: pointer;
    transition: border-color var(--sk-transition), background var(--sk-transition);
    padding: 8px 6px 4px;
    background: var(--sk-white);
}
.sk-symbol-item:hover { border-color: var(--sk-pink); background: #fef8f8; }
.sk-symbol-item.selected {
    border-color: var(--sk-pink);
    background: #fef0f1;
}
.sk-symbol-item .sk-symbol-inner {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sk-symbol-item svg {
    width: 100%;
    height: 100%;
    display: block;
}
.sk-symbol-item .sk-symbol-none-icon {
    font-size: 22px;
    line-height: 1;
}
.sk-symbol-item .sk-symbol-label {
    font-size: 9px;
    text-align: center;
    color: var(--sk-gray-mid);
    overflow: hidden;
    max-width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ── Größen-Slider ── */
.sk-size-display {
    text-align: center;
    margin-bottom: 20px;
}
.sk-size-value {
    font-size: 32px;
    font-weight: 700;
}
.sk-size-x {
    font-size: 18px;
    color: var(--sk-gray-mid);
    margin: 0 8px;
}
.sk-size-height {
    font-size: 20px;
    font-weight: 600;
    color: var(--sk-gray-mid);
}
.sk-slider-wrap {
    position: relative;
    padding: 16px 0 8px;
}
.sk-tier-markers {
    position: absolute;
    top: 0;
    left: 0; right: 0;
    height: 16px;
    pointer-events: none;
}
.sk-tier-marker {
    position: absolute;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.sk-tier-marker-line {
    width: 2px;
    height: 8px;
    background: var(--sk-pink);
    border-radius: 1px;
}
.sk-tier-marker-label {
    font-size: 9px;
    font-weight: 700;
    color: var(--sk-pink);
    white-space: nowrap;
}
.sk-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, var(--sk-pink) 0%, var(--sk-pink) 50%, var(--sk-gray) 50%, var(--sk-gray) 100%);
    outline: none;
    cursor: pointer;
}
.sk-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--sk-white);
    border: 3px solid var(--sk-pink);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    cursor: grab;
}
.sk-slider::-webkit-slider-thumb:active { cursor: grabbing; }
.sk-slider::-moz-range-thumb {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--sk-white);
    border: 3px solid var(--sk-pink);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    cursor: grab;
}
.sk-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--sk-gray-mid);
    margin-top: 4px;
}

/* ── Schritt 4: Position & Symbol-Skala ── */
.sk-pos-ctrl {
    margin-top: 16px;
}
.sk-pos-ctrl:first-of-type {
    margin-top: 8px;
}
.sk-pos-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}
.sk-pos-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--sk-black);
    margin-bottom: 10px;
}
.sk-pos-head .sk-pos-label { margin-bottom: 0; }
.sk-pos-value {
    font-size: 13px;
    color: var(--sk-gray-mid);
    font-variant-numeric: tabular-nums;
}

/* Segmented Control (Links/Rechts) */
.sk-pos-segment {
    display: flex;
    background: var(--sk-gray);
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
}

/* Case-Toggle (Aa / AA) im Vorschau-Bereich während der Schrift-Auswahl —
   zentriert unter Preview, dezenter Style.  display=none default; JS toggelt auf inline-flex. */
.sk-case-toggle {
    display: none;
    justify-content: center;
    margin: 10px auto 0;
    gap: 6px;
}
.sk-case-btn {
    min-width: 48px;
    padding: 6px 14px;
    border: 1.5px solid var(--sk-gray);
    background: var(--sk-white);
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--sk-gray-mid);
    cursor: pointer;
    transition: border-color var(--sk-transition), color var(--sk-transition), background var(--sk-transition);
}
.sk-case-btn:hover:not(.active) {
    border-color: var(--sk-pink);
    color: var(--sk-black);
}
.sk-case-btn.active {
    border-color: var(--sk-pink-dark);
    background: rgba(232, 145, 154, 0.1);
    color: var(--sk-black);
}
.sk-pos-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    border-radius: 7px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--sk-gray-mid);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background var(--sk-transition), color var(--sk-transition), box-shadow var(--sk-transition);
}
.sk-pos-btn svg {
    width: 18px;
    height: 18px;
}
.sk-pos-btn.active {
    background: var(--sk-white);
    color: var(--sk-black);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.sk-pos-btn:hover:not(.active) {
    color: var(--sk-black);
}

/* Kompakterer Slider für Symbolgröße */
.sk-slider-sm {
    background: var(--sk-gray) !important;
}
.sk-slider-sm::-webkit-slider-thumb {
    width: 22px; height: 22px;
    background: var(--sk-black);
    border: 3px solid var(--sk-white);
}
.sk-slider-sm::-moz-range-thumb {
    width: 22px; height: 22px;
    background: var(--sk-black);
    border: 3px solid var(--sk-white);
}

/* Reset-Link */
.sk-pos-reset-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}
.sk-btn-link {
    background: none;
    border: none;
    color: var(--sk-gray-mid);
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background var(--sk-transition), color var(--sk-transition);
}
.sk-btn-link:hover {
    background: var(--sk-gray-light);
    color: var(--sk-black);
}

/* ── Preis-Anzeige ── */
.sk-price-display {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 14px 16px;
    background: var(--sk-gray-light);
    border-radius: var(--sk-radius);
}
.sk-price-tier {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--sk-pink);
    color: var(--sk-white);
    white-space: nowrap;
}
.sk-price-current {
    font-size: 20px;
    font-weight: 700;
    transition: transform 0.3s ease;
}
.sk-price-current.changing {
    animation: sk-price-change 0.4s ease;
}
@keyframes sk-price-change {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.15); color: var(--sk-pink); }
    100% { transform: scale(1); }
}
.sk-price-old {
    font-size: 14px;
    text-decoration: line-through;
    color: var(--sk-gray-mid);
}
.sk-size-warning {
    margin-top: 10px;
    padding: 10px 14px;
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: var(--sk-radius);
    font-size: 13px;
    color: #f57c00;
}

/* ── Freigabe-Schritt ── */
.sk-release-preview {
    background: #f0f0f0;
    border-radius: var(--sk-radius);
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sk-release-preview svg { max-width: 100%; }
.sk-summary {
    background: var(--sk-gray-light);
    border-radius: var(--sk-radius);
    padding: 16px;
    margin-bottom: 16px;
}
.sk-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--sk-gray);
}
.sk-summary-row:last-child { border-bottom: none; }
.sk-summary-row .label { color: var(--sk-gray-mid); font-weight: 600; }
.sk-summary-row .value { font-weight: 700; }
.sk-delivery-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--sk-gray-mid);
    margin-bottom: 16px;
}
.sk-quantity-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    background: var(--sk-gray-light);
    border-radius: var(--sk-radius);
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.sk-quantity-label {
    font-weight: 600;
    font-size: 14px;
}
.sk-quantity-control {
    display: flex;
    align-items: center;
    background: var(--sk-white);
    border: 1px solid var(--sk-gray);
    border-radius: var(--sk-radius);
    overflow: hidden;
}
.sk-qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    color: var(--sk-black);
    transition: background var(--sk-transition);
    padding: 0;
    line-height: 1;
}
.sk-qty-btn:hover:not(:disabled) { background: var(--sk-gray-light); }
.sk-qty-btn:disabled { color: var(--sk-gray); cursor: not-allowed; }
.sk-quantity-input {
    width: 52px;
    height: 36px;
    border: none;
    border-left: 1px solid var(--sk-gray);
    border-right: 1px solid var(--sk-gray);
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    -moz-appearance: textfield;
    appearance: textfield;
}
.sk-quantity-input::-webkit-outer-spin-button,
.sk-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.sk-quantity-input:focus {
    outline: 2px solid var(--sk-pink);
    outline-offset: -2px;
}
.sk-quantity-total {
    margin-left: auto;
    font-size: 14px;
    color: var(--sk-gray-mid);
}
.sk-quantity-total strong {
    color: var(--sk-black);
    font-size: 16px;
}

.sk-approval-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    background: var(--sk-gray-light);
    border-radius: var(--sk-radius);
    margin-bottom: 16px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    border: 2px solid transparent;
    transition: border-color var(--sk-transition);
}
.sk-approval-label:has(.sk-checkbox:checked) {
    border-color: var(--sk-pink);
    background: #fef0f1;
}
.sk-checkbox {
    width: 20px; height: 20px;
    min-width: 20px;
    accent-color: var(--sk-pink);
    cursor: pointer;
    margin-top: 2px;
}
.sk-release-actions {
    margin-top: 4px;
}

/* ── Toast ── */
.sk-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--sk-black);
    color: var(--sk-white);
    padding: 12px 24px;
    border-radius: var(--sk-radius);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--sk-font);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
    pointer-events: none;
    max-width: 90vw;
    text-align: center;
}
.sk-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.sk-toast.info  { background: var(--sk-black); }
.sk-toast.success { background: #2e7d32; }
.sk-toast.warning { background: #e65100; }

/* ══════════════════════════════════════════════
   Redesign 2026-04-22 — Step-Progress, Panel-Transitions,
   Confetti + Success-Banner (siehe stubs/redesign/konfigurator-stempel)
   ══════════════════════════════════════════════ */

:root {
    --sk-success:     #6fb98f;
    --sk-success-dk:  #5ca878;
    --sk-success-bg:  #e4f2ea;
    --sk-success-ink: #2f7a52;
    --sk-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Keyframes ─────────────────────────────── */
@keyframes sk-check-draw {
    from { stroke-dashoffset: 22; }
    to   { stroke-dashoffset: 0; }
}
@keyframes sk-pop-in {
    0%   { transform: scale(0.6); opacity: 0; }
    60%  { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes sk-pulse-ring {
    0%, 100% { box-shadow: 0 0 0 0 rgba(232, 145, 154, 0.5); }
    50%      { box-shadow: 0 0 0 10px rgba(232, 145, 154, 0); }
}
@keyframes sk-panel-in-forward {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes sk-panel-in-back {
    from { opacity: 0; transform: translateX(-24px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes sk-confetti-burst {
    0%   { transform: translate(0, 0) rotate(0deg) scale(0.4); opacity: 0; }
    12%  { transform: translate(calc(var(--sk-tx) * 0.15), calc(var(--sk-ty) * 0.15)) rotate(calc(var(--sk-rot) * 0.15)) scale(1.1); opacity: 1; }
    100% { transform: translate(var(--sk-tx), var(--sk-ty)) rotate(var(--sk-rot)) scale(0.9); opacity: 0; }
}
@keyframes sk-banner-pop {
    0%   { transform: scale(0.85); opacity: 0; }
    60%  { transform: scale(1.04); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

/* ── Step-Indicator: Done-State grün mit SVG-Haken ────── */
/* Alten ::after ✓ abschalten */
.sk-step-item.done .sk-step-dot::after { content: none; }

.sk-step-item.done .sk-step-dot {
    background: var(--sk-success);
    color: #fff;
    box-shadow: 0 4px 12px rgba(111, 185, 143, 0.25);
}
.sk-step-item.done .sk-step-dot .sk-step-num { display: none; }
.sk-step-item.done .sk-step-dot .sk-step-check {
    display: block;
    animation: sk-pop-in 0.4s var(--sk-ease-spring);
}
.sk-step-item.done .sk-step-dot .sk-step-check path {
    stroke-dasharray: 22;
    animation: sk-check-draw 0.5s ease-out;
}
.sk-step-item.done > span { color: var(--sk-success-ink); }

/* Default-Zustand des Check-SVG: unsichtbar */
.sk-step-dot .sk-step-check {
    display: none;
    width: 16px;
    height: 16px;
}

/* Active-Step: Pulse + etwas größer */
.sk-step-item.active .sk-step-dot {
    transform: scale(1.08);
    animation: sk-pulse-ring 2s infinite;
    box-shadow: 0 0 0 4px rgba(232, 145, 154, 0.18), 0 6px 16px rgba(232, 145, 154, 0.3);
}

/* Klickbarer fertiger Step */
.sk-step-item.done {
    cursor: pointer;
    transition: transform 0.2s ease;
}
.sk-step-item.done:hover .sk-step-dot {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(111, 185, 143, 0.4);
}

/* Divider zwischen Steps in Grün wenn vor step-index */
.sk-step-divider.sk-divider-done {
    background: var(--sk-success);
    transition: background 0.4s var(--sk-ease-spring);
}

/* ── Panel-Transitions (Slide & Fade je Richtung) ─────── */
.sk-step-panel.sk-panel-forward {
    animation: sk-panel-in-forward 0.35s var(--sk-ease-spring);
}
.sk-step-panel.sk-panel-back {
    animation: sk-panel-in-back 0.35s var(--sk-ease-spring);
}

/* ── Button-Redesign: Outline "Zurück" / Filled "Weiter" ─ */
.sk-btn-secondary {
    background: transparent;
    border: 1.5px solid var(--sk-gray);
    color: var(--sk-black);
    transition: all 0.2s ease;
}
.sk-btn-secondary:hover:not(:disabled) {
    border-color: var(--sk-pink);
    color: var(--sk-pink-dark);
    background: rgba(232, 145, 154, 0.05);
    transform: translateY(-1px);
}
.sk-btn-primary {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background var(--sk-transition);
}
.sk-btn-primary:not(:disabled) {
    box-shadow: 0 4px 14px rgba(232, 145, 154, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.sk-btn-primary:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 145, 154, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* ── Konfetti-Burst auf Preview ──────────────────────── */
.sk-preview {
    position: relative;
    overflow: hidden;
}
.sk-confetti-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 10;
}
.sk-confetti-particle {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 2px;
    will-change: transform, opacity;
    animation: sk-confetti-burst 1.8s cubic-bezier(0.1, 0.4, 0.3, 1) forwards;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}
.sk-confetti-particle.circle { border-radius: 50%; }

/* ── Erfolgs-Banner nach Freigabe ─────────────────────── */
.sk-success-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--sk-success-bg);
    color: var(--sk-success-ink);
    border-radius: var(--sk-radius);
    padding: 14px 18px;
    font-weight: 600;
    font-size: 14px;
    margin-top: 16px;
    animation: sk-banner-pop 0.5s var(--sk-ease-spring);
    border: 1px solid rgba(111, 185, 143, 0.25);
}
.sk-success-banner-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--sk-success);
}
.sk-success-banner-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}

/* ══════════════════════════════════════════════
   Redesign — Iteration 2 (2026-04-22)
   Polish: weniger Scale, langsamere Panels, Symbol-Wiggle,
   Font-Haken, Preview-Stamp-Down, Sticky-Nav
   ══════════════════════════════════════════════ */

/* Step-Indicator: horizontal scrollbar bei vielen Steps (Mobile),
   vertikales Padding für Pulse/Scale-Effekte des aktiven Dots. */
.sk-step-indicator {
    padding-top: 10px;
    padding-bottom: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    /* Scrollbar dezent verstecken — Auto-Scroll-into-view ersetzt sichtbares Wischen */
    scrollbar-width: none;
}
.sk-step-indicator::-webkit-scrollbar { display: none; }
@media (max-width: 600px) {
    .sk-step-item { min-width: 48px; gap: 4px; }
    .sk-step-item span { font-size: 10px; }
    .sk-step-divider { min-width: 8px; margin: 0 2px; margin-bottom: 22px; }
}
/* Aktiver Dot: weniger Scale (1.02 statt 1.08) + kleinerer Pulse-Ring */
.sk-step-item.active .sk-step-dot {
    transform: scale(1.02);
    box-shadow: 0 0 0 3px rgba(232, 145, 154, 0.18), 0 4px 12px rgba(232, 145, 154, 0.25);
}
@keyframes sk-pulse-ring {
    0%, 100% { box-shadow: 0 0 0 3px rgba(232, 145, 154, 0.18), 0 0 0 0 rgba(232, 145, 154, 0.45); }
    50%      { box-shadow: 0 0 0 3px rgba(232, 145, 154, 0.18), 0 0 0 8px rgba(232, 145, 154, 0); }
}

/* Panel-Transitions: langsamer + mehr Distanz, spürbarer Slide */
@keyframes sk-panel-in-forward {
    from { opacity: 0; transform: translateX(42px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes sk-panel-in-back {
    from { opacity: 0; transform: translateX(-42px); }
    to   { opacity: 1; transform: translateX(0); }
}
.sk-step-panel.sk-panel-forward {
    animation: sk-panel-in-forward 0.55s var(--sk-ease-spring);
}
.sk-step-panel.sk-panel-back {
    animation: sk-panel-in-back 0.55s var(--sk-ease-spring);
}

/* Font-Liste: Haken bei gewählter Schrift (rechts) */
.sk-font-item {
    position: relative;
    transition: transform 0.2s var(--sk-ease-spring), box-shadow 0.2s ease, border-color 0.2s ease;
}
.sk-font-item:hover {
    transform: translateY(-1px);
}
.sk-font-item.selected::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--sk-success);
    background-image:
        linear-gradient(135deg, transparent 48%, #fff 48%, #fff 52%, transparent 52%),
        linear-gradient(45deg, transparent 48%, #fff 48%, #fff 52%, transparent 52%);
    box-shadow: 0 4px 10px rgba(111, 185, 143, 0.35);
    animation: sk-pop-in 0.4s var(--sk-ease-spring);
}
/* Bessere Haken-Darstellung via SVG mask (fallback: einfach Unicode) */
.sk-font-item.selected::after {
    content: '\2713'; /* ✓ */
    font-size: 16px;
    color: #fff;
    font-weight: 900;
    background: var(--sk-success);
    background-image: none;
    line-height: 28px;
    text-align: center;
    animation: sk-pop-in 0.4s var(--sk-ease-spring);
}

/* Symbol-Grid: Wiggle bei Hover + Pop-in-Haken bei Auswahl */
@keyframes sk-wiggle {
    0%, 100% { transform: rotate(0deg); }
    25%      { transform: rotate(-4deg); }
    75%      { transform: rotate(4deg); }
}
.sk-symbol-item {
    transition: transform 0.2s var(--sk-ease-spring), border-color 0.2s, box-shadow 0.2s;
    position: relative;
}
.sk-symbol-item:hover:not(.selected) {
    animation: sk-wiggle 0.6s ease-in-out;
    border-color: var(--sk-pink);
    box-shadow: 0 4px 14px rgba(232, 145, 154, 0.2);
}
.sk-symbol-item.selected {
    border-color: var(--sk-pink-dark);
    background: rgba(232, 145, 154, 0.08);
}
.sk-symbol-item.selected::after {
    content: '\2713';
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-size: 13px;
    font-weight: 900;
    color: #fff;
    background: var(--sk-success);
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(111, 185, 143, 0.4);
    animation: sk-pop-in 0.4s var(--sk-ease-spring);
}

/* Preview-SVG: Stamp-Down-Animation bei jedem Re-Render */
@keyframes sk-stamp-down {
    0%   { transform: scale(1.15) rotate(-1.5deg); opacity: 0; }
    50%  { transform: scale(0.94) rotate(0.3deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.sk-preview-svg {
    animation: sk-stamp-down 0.5s var(--sk-ease-spring);
    transform-origin: center;
}

/* ── Sticky-Navigation direkt unter der Vorschau ─────── */
.sk-sticky-nav {
    position: sticky;
    top: 12px;
    z-index: 20;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    background: var(--sk-white);
    border: 1px solid var(--sk-gray);
    border-radius: var(--sk-radius);
    padding: 10px 14px;
    margin: -8px 0 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    backdrop-filter: saturate(1.2) blur(4px);
    transition: box-shadow 0.2s ease;
}
.sk-sticky-nav .sk-nav-label {
    font-size: 12px;
    color: var(--sk-gray-mid);
    text-align: center;
    flex: 1;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.sk-sticky-nav button {
    border: none;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: var(--sk-radius);
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s var(--sk-ease-spring);
}
.sk-sticky-nav .sk-nav-back {
    border: 1.5px solid var(--sk-gray);
    color: var(--sk-black);
    background: transparent;
}
.sk-sticky-nav .sk-nav-back:hover:not(:disabled) {
    border-color: var(--sk-pink);
    color: var(--sk-pink-dark);
    background: rgba(232, 145, 154, 0.05);
}
.sk-sticky-nav .sk-nav-back:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.sk-sticky-nav .sk-nav-next {
    background: var(--sk-pink);
    color: #fff;
    box-shadow: 0 3px 10px rgba(232, 145, 154, 0.35);
}
.sk-sticky-nav .sk-nav-next:hover:not(:disabled) {
    transform: translateY(-1px);
    background: var(--sk-pink-dark);
    box-shadow: 0 6px 16px rgba(232, 145, 154, 0.45);
}
.sk-sticky-nav .sk-nav-next:disabled {
    background: var(--sk-gray);
    color: var(--sk-gray-mid);
    box-shadow: none;
    cursor: not-allowed;
}
/* Release-Variante: grüner "Jetzt freigeben" im Sticky-Nav */
.sk-sticky-nav .sk-nav-next.release {
    background: var(--sk-success);
    box-shadow: 0 3px 10px rgba(111, 185, 143, 0.35);
}
.sk-sticky-nav .sk-nav-next.release:hover:not(:disabled) {
    background: var(--sk-success-dk);
    box-shadow: 0 6px 16px rgba(111, 185, 143, 0.45);
}
.sk-sticky-nav .sk-nav-next.release.confirm-2 {
    background: var(--sk-black);
}
.sk-sticky-nav .sk-nav-next.release.confirm-2:hover:not(:disabled) {
    background: #333;
}

/* Mobile: Sticky weniger aggressiv */
@media (max-width: 600px) {
    .sk-sticky-nav {
        top: 8px;
        padding: 8px 10px;
    }
    .sk-sticky-nav .sk-nav-label { display: none; }
}

/* ══════════════════════════════════════════════
   Redesign — Iteration 3 (2026-04-22)
   Polish: Sticky-Nav schwarz, Font-Haken inline+rosa,
   Symbol-Wiggle nur auf SVG, Step-6 ohne Next-Button
   ══════════════════════════════════════════════ */

/* Sticky-Nav Next-Button: schwarz für besseren Kontrast */
.sk-sticky-nav .sk-nav-next {
    background: var(--sk-black);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}
.sk-sticky-nav .sk-nav-next:hover:not(:disabled) {
    background: #333;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* Step 6 (Freigabe): Next-Button in Sticky-Nav nicht zeigen —
   Freigabe läuft ausschließlich über das Kontrollfeld im Panel */
.sk-sticky-nav .sk-nav-next.release {
    display: none;
}

/* Font-Haken: inline hinter dem Schriftnamen, rosa (wie Border) */
.sk-font-item.selected::after {
    content: none; /* alten absoluten Haken abschalten */
}
.sk-font-name { display: inline-flex; align-items: center; gap: 6px; }
.sk-font-item.selected .sk-font-name::after {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--sk-pink);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5 L8.5 14 L15 6' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 14px 14px;
    background-repeat: no-repeat;
    background-position: center;
    animation: sk-pop-in 0.4s var(--sk-ease-spring);
    flex-shrink: 0;
}

/* Symbol-Grid: Hover nur Schatten — Wiggle+Scale nur am inneren SVG,
   damit das Kästchen selbst nicht durch Rotation abschneidet */
.sk-symbol-item:hover:not(.selected) {
    animation: none;
    border-color: var(--sk-pink);
    background: #fef8f8;
    box-shadow: 0 4px 14px rgba(232, 145, 154, 0.22);
    transform: none;
}
.sk-symbol-item .sk-symbol-inner {
    transition: transform 0.35s var(--sk-ease-spring);
    transform-origin: center;
}
.sk-symbol-item:hover:not(.selected) .sk-symbol-inner {
    animation: sk-wiggle 0.6s ease-in-out;
    transform: scale(1.08);
}
.sk-symbol-item.selected .sk-symbol-inner {
    transform: scale(1.04);
}

/* Symbol-Selected-Haken: rosa statt grün, passt zur Border-Farbe */
.sk-symbol-item.selected::after {
    background: var(--sk-pink);
    box-shadow: 0 3px 8px rgba(232, 145, 154, 0.45);
}

/* Panel-Bottom-Nav ausblenden — Sticky-Nav übernimmt komplette Navigation.
   Der Freigabe-Schritt behält seine Panel-Buttons (Release-Flow + Zurück-zur-Größe). */
.sk-step-panel[data-panel="1"] .sk-step-nav,
.sk-step-panel[data-panel="2"] .sk-step-nav,
.sk-step-panel[data-panel="3"] .sk-step-nav,
.sk-step-panel[data-panel="4"] .sk-step-nav,
.sk-step-panel[data-panel="5"] .sk-step-nav {
    display: none;
}

/* ══════════════════════════════════════════════
   Redesign — Iteration 4 (2026-04-22)
   Sticky-Nav größer, Symbol-Haken nicht angeschnitten
   ══════════════════════════════════════════════ */

/* Sticky-Nav-Buttons: Größer wie ursprüngliche Panel-Buttons */
.sk-sticky-nav {
    padding: 12px 16px;
    margin: -8px 0 22px;
}
.sk-sticky-nav button {
    padding: 12px 22px;
    font-size: 14px;
    border-radius: var(--sk-radius);
}
.sk-sticky-nav .sk-nav-label {
    font-size: 12px;
}
@media (max-width: 600px) {
    .sk-sticky-nav button {
        padding: 11px 16px;
        font-size: 13px;
    }
}

/* Symbol-Grid: Padding-Top, damit schwebender Haken nicht durch overflow:auto
   abgeschnitten wird (die erste Reihe steht sonst direkt am oberen Rand) */
.sk-symbol-grid {
    padding-top: 10px;
    padding-right: 4px;
}

/* ══════════════════════════════════════════════
   Fokus-Modus (2026-04-22 Iteration 5)
   Initial: nur CTA-Button sichtbar, Konfigurator versteckt.
   Klick → body.sk-focus-active:
     – Produktinfo (Bilder, Titel, Preis, Lieferzeit, Beschreibung, Tabs) wird ausgeblendet
     – Rechte Spalte expandiert auf volle Breite
     – Sticky-Header oben erscheint (Name, Preis, MwSt, Lieferzeit)
     – Konfigurator wird gezeigt
   ══════════════════════════════════════════════ */

/* CTA-Button — die einzige Sichtbarkeit des Konfigurators im Initial-State */
.sk-cta-configure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 16px 0 0;
    padding: 16px 22px;
    border: none;
    border-radius: var(--sk-radius-lg);
    background: linear-gradient(180deg, var(--sk-pink) 0%, var(--sk-pink-dark) 100%);
    color: #fff;
    font-family: var(--sk-font);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(232, 145, 154, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.2s var(--sk-ease-spring), box-shadow 0.2s ease;
}
.sk-cta-configure:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 145, 154, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.sk-cta-icon {
    font-size: 18px;
}

/* Konfigurator initial versteckt */
.sk-focus-content {
    display: none;
}

/* Sticky-Header initial versteckt */
.sk-focus-header {
    display: none;
}

/* ── Fokus-Modus aktiv: body.sk-focus-active ─────── */
/* CTA-Button verstecken */
body.sk-focus-active .sk-cta-configure {
    display: none;
}

/* Konfigurator zeigen */
body.sk-focus-active .sk-focus-content {
    display: block;
    animation: sk-fade-in-down 0.35s var(--sk-ease-spring);
}
@keyframes sk-fade-in-down {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Sticky-Header zeigen — direkt an Produktseiten-Top geklebt */
body.sk-focus-active .sk-focus-header {
    display: flex;
    align-items: center;
    gap: 14px;
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(1.2) blur(8px);
    border-bottom: 1px solid #eee;
    margin: -16px -16px 16px;
    animation: sk-slide-down 0.35s var(--sk-ease-spring);
}
@keyframes sk-slide-down {
    from { opacity: 0; transform: translateY(-14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.sk-focus-back {
    padding: 8px 14px;
    border: 1.5px solid var(--sk-gray);
    border-radius: var(--sk-radius);
    background: transparent;
    color: var(--sk-black);
    font-family: var(--sk-font);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.sk-focus-back:hover {
    border-color: var(--sk-pink);
    color: var(--sk-pink-dark);
    background: rgba(232, 145, 154, 0.05);
}
.sk-focus-header-title {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--sk-black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sk-focus-header-delivery {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--sk-success-bg);
    color: var(--sk-success-ink);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
.sk-focus-header-delivery::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sk-success);
}
.sk-focus-header-price {
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
    flex-shrink: 0;
}
.sk-focus-header-price small {
    font-size: 10px;
    color: var(--sk-gray-mid);
    font-weight: 500;
    margin-top: 1px;
}

/* Produktinfo + Bilder ausblenden im Fokus-Modus */
body.sk-focus-active .product-detail-media,
body.sk-focus-active .product-detail-name,
body.sk-focus-active .product-detail-headline,
body.sk-focus-active .product-detail-price-container,
body.sk-focus-active .product-detail-tax-container,
body.sk-focus-active .product-detail-delivery-information,
body.sk-focus-active .product-detail-short-description,
body.sk-focus-active .product-detail-ordernumber-container,
body.sk-focus-active .product-detail-manufacturer-link,
body.sk-focus-active .product-detail-reviews-container,
body.sk-focus-active .product-description-reviews-tab-navigation,
body.sk-focus-active .product-detail-tab-navigation,
body.sk-focus-active .product-cross-selling-tab-navigation,
body.sk-focus-active .product-detail-cross-selling,
body.sk-focus-active .product-detail-review-teaser,
body.sk-focus-active .cms-element-product-description-reviews .tab-content {
    display: none !important;
}

/* Rechte Spalte (.product-detail-buy) auf volle Breite expandieren —
   Bootstrap-col-Klassen (.col-lg-5 / .col-xl-6) mit !important überschreiben */
body.sk-focus-active .product-detail-buy {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Mobile-Anpassung: Header kompakter, Delivery-Badge ausblenden */
@media (max-width: 600px) {
    body.sk-focus-active .sk-focus-header-title {
        font-size: 13px;
    }
    body.sk-focus-active .sk-focus-header-delivery {
        display: none;
    }
    body.sk-focus-active .sk-focus-header {
        padding: 10px 12px;
        gap: 10px;
    }
}

/* ══════════════════════════════════════════════
   Fokus-Modus Iteration 6 (2026-04-22)
   – PayPal-Installment-Banner shop-weit weg
   – Zwei-Spalten-Grid im Fokus-Modus (Desktop)
   – Mobile: bleibt gestapelt
   – Beschreibung/Bewertung/FAQ-Tabs bleiben sichtbar
   ══════════════════════════════════════════════ */

/* PayPal-Banner "Bezahlen nach 30 Tagen" komplett verstecken — shop-weit.
   Achtung: :has() Descendant-Selector → mit > auf direct-child einschränken,
   sonst werden auch alle übergeordneten .row-Container versteckt (Bilder, Preis etc.). */
[data-swag-paypal-installment-banner] {
    display: none !important;
}
.row:has(> [data-swag-paypal-installment-banner]) {
    display: none !important;
}

/* Fokus-Modus: Tabs unter dem Konfigurator wieder zeigen
   (Beschreibung, Bewertung, FAQ, Cross-Selling) */
body.sk-focus-active .product-description-reviews-tab-navigation,
body.sk-focus-active .product-detail-tab-navigation,
body.sk-focus-active .cms-element-product-description-reviews .tab-content,
body.sk-focus-active .product-cross-selling-tab-navigation,
body.sk-focus-active .product-detail-cross-selling,
body.sk-focus-active .product-detail-reviews-container {
    display: revert !important;
}

/* Zwei-Spalten-Layout im Fokus-Modus ab Desktop — Preview links, Steuerung rechts.
   Indicator über Preview (links), Nav über Panels (rechts). */
@media (min-width: 900px) {
    /* .sk-wrap hat standardmäßig max-width: 680px — im Fokus-Modus entfernen,
       damit die 2-Spalten-Aufteilung die volle Breite nutzen kann */
    body.sk-focus-active .sk-wrap {
        max-width: none;
        margin-top: 0;
    }
    body.sk-focus-active .sk-main {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "indicator nav"
            "preview   panels";
        gap: 14px 28px;
        align-items: start;
    }
    body.sk-focus-active .sk-step-indicator {
        grid-area: indicator;
        margin-bottom: 0;
        position: sticky;
        top: 90px; /* unter Sticky-Header */
        z-index: 5;
        background: #fff;
        padding-top: 8px;
    }
    body.sk-focus-active .sk-preview {
        grid-area: preview;
        position: sticky;
        top: 170px; /* unter Sticky-Header (48px) + Indicator (~70px) + Abstand */
        margin-bottom: 0;
    }
    body.sk-focus-active .sk-sticky-nav {
        grid-area: nav;
        margin: 0;
        top: 90px; /* unter Sticky-Header */
    }
    body.sk-focus-active .sk-steps-wrap {
        grid-area: panels;
    }
}

/* Mobile: Layout bleibt gestapelt (nichts überschreiben unter 900px) */
@media (max-width: 899px) {
    body.sk-focus-active .sk-main {
        display: block;
    }
    body.sk-focus-active .sk-preview {
        position: static;
    }
}

/* Preview-Placeholder (statisches HTML "Dein Name" bei leerem State) —
   erscheint sofort beim Seitenaufruf, ohne opentype.js-Abhängigkeit.
   Wird vom JS durch echtes SVG ersetzt, sobald User einen Namen eingibt. */
.sk-preview-placeholder {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 48px;
    line-height: 1;
    font-weight: 400;
    color: var(--sk-gray-mid);
    opacity: 0.55;
    text-align: center;
    letter-spacing: 0.01em;
    padding: 14px 0;
    user-select: none;
}
@media (max-width: 600px) {
    .sk-preview-placeholder { font-size: 38px; }
}

/* Layout-Auswahl (K3 Schritt 2) — 3 Karten nebeneinander, gleicher Stil
   wie Symbol-Cards: weißer Hintergrund, roter Rand bei Auswahl, ✓-Haken. */
.sk-layout-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
    padding: 8px;
}
@media (max-width: 600px) {
    .sk-layout-grid { grid-template-columns: 1fr; }
}
.sk-layout-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border: 2px solid var(--sk-gray);
    border-radius: var(--sk-radius);
    padding: 14px 10px 10px;
    background: var(--sk-white);
    cursor: pointer;
    transition: border-color var(--sk-transition), background var(--sk-transition), box-shadow var(--sk-transition);
    font-family: inherit;
    text-align: center;
}
.sk-layout-card:hover:not(.sk-layout-card-disabled):not(.active) {
    border-color: var(--sk-pink);
    background: #fef8f8;
    box-shadow: 0 4px 14px rgba(232, 145, 154, 0.20);
}
.sk-layout-card.active {
    border-color: var(--sk-pink-dark);
    background: rgba(232, 145, 154, 0.08);
}
.sk-layout-card.active::after {
    content: '\2713';
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-size: 13px;
    font-weight: 900;
    color: #fff;
    background: var(--sk-pink);
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(232, 145, 154, 0.45);
}
.sk-layout-card-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.sk-layout-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}
.sk-layout-thumb img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.sk-layout-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--sk-black);
    margin-top: 4px;
}

/* Sofort-Preview während opentype.js die Font-Datei fetcht und parst (~1–3 s
   beim allerersten Tippen). Wird vom JS durch das eigentliche SVG ersetzt,
   sobald _buildSvg fertig ist. */
.sk-css-preview {
    word-break: break-word;
    animation: sk-css-preview-fade 0.2s ease-out;
}
@keyframes sk-css-preview-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   K4 BECHER — Live-Preview über Hauptbild, Farbgrid, Summary
   ═══════════════════════════════════════════════════════════════════════════ */

.sk-preview-becher .sk-preview-inner {
    padding: 16px;
}

.sk-becher-stage {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    background: #f5f7fa;
    border-radius: 12px;
    overflow: hidden;
    user-select: none;
}

.sk-becher-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.sk-becher-overlay {
    position: absolute;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sk-becher-overlay .sk-preview-svg-wrap,
.sk-becher-overlay .sk-preview-svg {
    width: 100%;
    height: 100%;
}

.sk-becher-placeholder {
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    color: #9aa8b5;
    font-style: italic;
    font-size: 18px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    pointer-events: none;
}

/* Farbgrid — Schritt 3 */
.sk-color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin: 12px 0;
}

.sk-color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 8px;
    border: 2px solid #e1e6ec;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
    text-align: center;
}

.sk-color-item:hover {
    border-color: #c5cdd6;
    transform: translateY(-1px);
}

.sk-color-item.selected {
    border-color: #e8919a;
    box-shadow: 0 0 0 3px rgba(232, 145, 154, 0.18);
}

.sk-color-swatch {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: #fff;
}

.sk-color-name {
    font-size: 13px;
    font-weight: 600;
    color: #2b3748;
    line-height: 1.2;
}

.sk-color-finish {
    font-size: 11px;
    color: #758ca3;
    line-height: 1;
}

/* Summary — Schritt 4 (auch für andere Konfigurator-Typen einheitlich nutzbar) */
.sk-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    font-size: 14px;
    color: #2b3748;
}

.sk-summary-label {
    color: #758ca3;
    font-weight: 400;
}

.sk-summary-divider {
    height: 1px;
    background: #e1e6ec;
    margin: 8px 0;
}

.sk-summary-total {
    font-size: 16px;
    margin-top: 4px;
}
.sk-summary-total strong {
    color: #e8919a;
}

/* CTA-Button "Becher personalisieren" als sekundärer Stil — Standard-Buy-Button bleibt sichtbar */
.sk-cta-configure.sk-cta-optional {
    margin-top: 12px;
    background: #fff;
    color: #e8919a;
    border: 2px solid #e8919a;
}
.sk-cta-configure.sk-cta-optional:hover {
    background: #fff5f7;
}

/* Mobile */
@media (max-width: 640px) {
    .sk-becher-stage {
        max-width: 100%;
    }
    .sk-color-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 8px;
    }
    .sk-color-swatch {
        width: 48px;
        height: 48px;
    }
}

/* K4 Becher: Zwei-Button-Reihe (Warenkorb + Konfigurieren) */
.sk-cta-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin: 12px 0;
}
.sk-cta-row .sk-cta-buy-form,
.sk-cta-row .sk-cta-configure {
    flex: 1 1 0;
    margin: 0;
}
.sk-cta-row .sk-cta-buy-form {
    display: flex;
}
.sk-cta-buy {
    flex: 1 1 auto;
    width: 100%;
    background: #fff;
    color: #2b3748;
    border: 2px solid #2b3748;
    border-radius: 999px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.15s, transform 0.05s;
}
.sk-cta-buy:hover { background: #f5f7fa; }
.sk-cta-buy:active { transform: translateY(1px); }

@media (max-width: 480px) {
    .sk-cta-row { flex-direction: column; }
}

/* K4 Becher: Standard-Buy-Widget (Mengenfeld + Button) im Fokus-Modus ausblenden */
body.sk-focus-active .sk-becher-stockbuy {
    display: none !important;
}

/* Cart-Vorschau: SVG zuverlässig im 80x80-Container halten — Theme-CSS könnte
   `svg { width: auto }` o. ä. global setzen, daher !important hier. */
.line-item-stempel-preview {
    overflow: hidden;
}
.line-item-stempel-preview svg {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: block;
}

/* CTA-Aufpreis-Hinweis bei K4 Becher */
.sk-cta-configure .sk-cta-surcharge {
    margin-left: 6px;
    font-size: 0.85em;
    font-weight: 500;
    opacity: 0.92;
}

/* Becher Schritt 4 — Kommentar-Textarea */
.sk-textarea {
    width: 100%;
    min-height: 110px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.45;
    border: 2px solid #e1e6ec;
    border-radius: 10px;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.sk-textarea:focus {
    outline: none;
    border-color: #e8919a;
    box-shadow: 0 0 0 3px rgba(232, 145, 154, 0.18);
}
