/* === Automaten Konfigurator – Frontend CSS v1.1.0 === */
#ak-konfig * { box-sizing: border-box; }
#ak-konfig {
    max-width: var(--ak-max-width, 980px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

/* Tabs */
#ak-konfig .ak-tabs { display: flex; border-bottom: 2px solid #222; margin-bottom: 28px; flex-wrap: wrap; }
#ak-konfig .ak-tab  { padding: 10px 22px; cursor: pointer; font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; border: none; background: #f0f0f0; color: #555; border-right: 1px solid #ddd; transition: background .15s, color .15s; }
#ak-konfig .ak-tab:hover  { background: #e2e2e2; }
#ak-konfig .ak-tab.active { background: #222; color: #fff; }

/* Panels */
#ak-konfig .ak-cat-panel        { display: none; margin-bottom: 32px; }
#ak-konfig .ak-cat-panel.active { display: block; }
#ak-konfig .ak-step-label       { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #888; margin-bottom: 10px; }
#ak-konfig .ak-section          { margin-bottom: 32px; }

/* Modell-Grid */
#ak-konfig .ak-model-grid { display: grid; grid-template-columns: repeat(var(--ak-grid-cols, auto-fill), minmax(var(--ak-card-min, 220px), 1fr)); gap: 16px; }

#ak-konfig .ak-model-card {
    border: var(--ak-card-border, 1.5px solid #ddd);
    border-radius: var(--ak-card-radius, 4px);
    padding: 0;
    cursor: pointer;
    background: var(--ak-card-bg, #fff);
    transition: border-color .15s, box-shadow .15s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
#ak-konfig .ak-model-card:hover   { border-color: #999; }
#ak-konfig .ak-model-card.selected { border: 2px solid #222; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
#ak-konfig .ak-selected-badge {
    display: none; position: absolute; top: 10px; right: 10px;
    background: #222; color: #fff; font-size: 10px; font-weight: 700;
    padding: 2px 7px; border-radius: 2px; z-index: 2;
}
#ak-konfig .ak-model-card.selected .ak-selected-badge { display: block; }

/* Brand-Badge ganz oben, kein Padding nötig */
#ak-konfig .ak-model-brand,
#ak-overview .ak-model-brand {
    background: #2c2c2c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 14px;
    display: block;
    flex-shrink: 0;
    line-height: 1.4;
}


/* Bild-Wrap mit Info-Button */
#ak-konfig .ak-model-img-wrap {
    position: relative;
    margin-bottom: 10px;
    overflow: visible;
}
#ak-konfig .ak-model-img {
    width: 100%;
    height: 130px;
    object-fit: contain;
    display: block;
    border-radius: 2px;
}
/* Info-Button auf dem Bild */
#ak-konfig .ak-info-btn {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 16px;
    line-height: 28px;
    text-align: center;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,.6);
    transition: background .15s, transform .15s;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
#ak-konfig .ak-info-btn:hover { background: rgba(0,0,0,.8); transform: scale(1.1); color: #fff; }
#ak-konfig .ak-info-btn--text { position: static; width: auto; height: auto; border-radius: 3px; font-size: 12px; padding: 3px 8px; text-decoration: none; }

/* Modell Texte */
#ak-konfig .ak-model-name  { font-weight: 700; font-size: var(--ak-card-title-size, 14px); margin-bottom: 6px; line-height: 1.3; color: var(--ak-card-title-color, #1a1a1a); }
#ak-konfig .ak-features    { list-style: none; margin: 6px 0 10px; padding: 0; }
#ak-konfig .ak-features li { font-size: var(--ak-card-features-size, 12px); color: var(--ak-card-features-color, #555); padding: 2px 0 2px 14px; position: relative; line-height: 1.4; }
#ak-konfig .ak-features li::before { content: '●'; color: #222; font-size: 7px; position: absolute; left: 0; top: 4px; }

/* Übersichtskarte features */
#ak-overview .ak-features    { list-style: none; margin: 6px 0 10px; padding: 0; }
#ak-overview .ak-features li { font-size: var(--ak-card-features-size, 12px); color: var(--ak-card-features-color, #555); padding: 2px 0 2px 14px; position: relative; line-height: 1.4; }
#ak-overview .ak-features li::before { content: '●'; color: #222; font-size: 7px; position: absolute; left: 0; top: 4px; }
#ak-konfig .ak-model-price { font-size: var(--ak-card-price-label-size, 13px); color: var(--ak-card-price-label-color, #888); }
#ak-konfig .ak-model-price strong { font-size: var(--ak-card-price-size, 17px); color: var(--ak-card-price-color, #1a1a1a); }
#ak-konfig .ak-no-selection { color: #999; font-style: italic; font-size: 13px; }

/* Optionen */
#ak-konfig .ak-options-list { display: flex; flex-direction: column; gap: 8px; }
#ak-konfig .ak-option-row {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px 14px;
    background: #fff;
    transition: border-color .15s;
}
#ak-konfig .ak-option-row:hover  { border-color: #aaa; }
#ak-konfig .ak-option-row.checked { border-color: #222; background: #f8f8f8; }
#ak-konfig .ak-opt-cb {
    width: 17px; height: 17px; accent-color: #222;
    flex-shrink: 0; cursor: pointer;
}

/* Bild-Button bei Optionen */
#ak-konfig .ak-opt-img-btn {
    border: none; background: none; padding: 0; cursor: pointer;
    position: relative; flex-shrink: 0;
    border-radius: 4px; overflow: hidden;
}
#ak-konfig .ak-opt-img {
    width: 64px; height: 64px; object-fit: contain; display: block;
    border-radius: 4px; border: 1px solid #eee;
    transition: opacity .15s;
}
#ak-konfig .ak-opt-img-btn:hover .ak-opt-img { opacity: .75; }
#ak-konfig .ak-opt-zoom {
    position: absolute; bottom: 3px; right: 3px;
    font-size: 13px; line-height: 1;
    background: rgba(0,0,0,.45); border-radius: 3px; padding: 1px 3px;
    pointer-events: none;
}
#ak-konfig .ak-opt-text  { flex: 1; cursor: pointer; }
#ak-konfig .ak-opt-name  { font-weight: 700; font-size: 13px; }
#ak-konfig .ak-opt-desc  { font-size: 12px; color: #666; margin-top: 3px; line-height: 1.4; }
#ak-konfig .ak-opt-price { font-size: 14px; font-weight: 700; color: #333; white-space: nowrap; }
#ak-konfig .ak-option-row.checked .ak-opt-price { color: #111; }
#ak-konfig .ak-opt-detail-btn {
    font-size: 11px; padding: 3px 8px; border: 1px solid #ccc;
    border-radius: 3px; background: #fff; cursor: pointer; color: #444;
    transition: background .12s, border-color .12s;
    white-space: nowrap;
}
#ak-konfig .ak-opt-detail-btn:hover { background: #f0f0f0; border-color: #999; }

/* Zusammenfassung */
#ak-konfig .ak-summary-box { background: #f5f5f5; border: 1px solid #ddd; border-radius: 4px; padding: 18px 20px; }
#ak-konfig .ak-sum-row { display: flex; justify-content: space-between; font-size: 13px; color: #444; padding: 4px 0; border-bottom: 1px solid #e8e8e8; }
#ak-konfig .ak-sum-total { display: flex; justify-content: space-between; font-size: 20px; font-weight: 700; margin-top: 12px; padding-top: 12px; border-top: 2px solid #222; }
#ak-konfig .ak-sum-total span:last-child { color: #c00; }

/* Config-Vorschau */
#ak-konfig .ak-config-preview { background: #fff; border: 1px solid #ddd; border-radius: 4px; padding: 14px 16px; font-size: 13px; color: #444; line-height: 1.7; white-space: pre-line; margin-bottom: 18px; }

/* Anfrage-Button */
#ak-konfig .ak-btn-anfrage { display: block; width: 100%; padding: 14px; background: #222; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border: none; border-radius: 4px; cursor: pointer; transition: opacity .15s; text-align: center; }
#ak-konfig .ak-btn-anfrage:hover { opacity: .88; }
#ak-konfig .ak-btn-note { font-size: 12px; color: #999; text-align: center; margin-top: 8px; }

/* ===== POPUP OVERLAY ===== */
.ak-popup-overlay {
    position: fixed; inset: 0; z-index: 99999;
    background: rgba(0,0,0,.65);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    animation: ak-fade-in .18s ease;
}
@keyframes ak-fade-in { from { opacity:0; } to { opacity:1; } }

.ak-popup-box {
    background: #fff;
    border-radius: 8px;
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 40px rgba(0,0,0,.28);
    animation: ak-slide-up .2s ease;
}
@keyframes ak-slide-up { from { transform:translateY(24px); opacity:0; } to { transform:translateY(0); opacity:1; } }

.ak-popup-close {
    position: absolute; top: 14px; right: 14px;
    width: 32px; height: 32px;
    border: none; background: #f0f0f0; border-radius: 50%;
    font-size: 16px; cursor: pointer; color: #444;
    display: flex; align-items: center; justify-content: center;
    transition: background .12s;
    z-index: 2;
}
.ak-popup-close:hover { background: #e0e0e0; }

.ak-popup-inner {
    display: flex;
    gap: 24px;
    padding: 28px;
}
.ak-popup-img-col {
    flex-shrink: 0;
    width: 220px;
}
.ak-popup-img-col img {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #eee;
}
.ak-popup-text-col { flex: 1; min-width: 0; }
.ak-popup-name  { font-size: 19px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; color: #1a1a1a; }
.ak-popup-price { font-size: 17px; font-weight: 700; color: #c00; margin-bottom: 14px; }
.ak-popup-desc  { font-size: 14px; color: #444; line-height: 1.7; white-space: pre-line; }

@media (max-width: 560px) {
    .ak-popup-inner  { flex-direction: column; padding: 20px; }
    .ak-popup-img-col { width: 100%; }
    #ak-konfig .ak-model-grid { grid-template-columns: 1fr 1fr; }
    #ak-konfig .ak-opt-img-btn { display: none; }
}

/* ak-opt-right (Preis + Details-Button, rechte Spalte) */
#ak-konfig .ak-opt-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

/* ===== Inline WPForms-Wrap ===== */
#ak-konfig .ak-form-wrap {
    margin-top: 20px;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    animation: ak-form-slide-in .25s ease;
}
@keyframes ak-form-slide-in {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
#ak-konfig .ak-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f5f5f5;
    padding: 12px 18px;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 700;
    font-size: 14px;
    color: #1a1a1a;
}
#ak-konfig .ak-form-close {
    border: none;
    background: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
    padding: 0 4px;
    line-height: 1;
    transition: color .12s;
}
#ak-konfig .ak-form-close:hover { color: #c00; }
#ak-konfig .ak-form-body {
    padding: 24px;
    background: #fff;
}

/* WPForms-Basis-Overrides – harmoniert mit Konfigurator-Design */
#ak-konfig .ak-form-body .wpforms-form .wpforms-field-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin-bottom: 5px !important;
}
#ak-konfig .ak-form-body .wpforms-form input[type=text],
#ak-konfig .ak-form-body .wpforms-form input[type=email],
#ak-konfig .ak-form-body .wpforms-form textarea {
    border: 1px solid #c3c4c7 !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    padding: 9px 12px !important;
    width: 100% !important;
    transition: border-color .15s !important;
    box-shadow: none !important;
}
#ak-konfig .ak-form-body .wpforms-form input[type=text]:focus,
#ak-konfig .ak-form-body .wpforms-form input[type=email]:focus,
#ak-konfig .ak-form-body .wpforms-form textarea:focus {
    border-color: #2271b1 !important;
    outline: none !important;
}
#ak-konfig .ak-form-body .wpforms-form textarea {
    min-height: 140px !important;
    resize: vertical !important;
    font-family: monospace !important;
    font-size: 12px !important;
    color: #555 !important;
    background: #fafafa !important;
}
#ak-konfig .ak-form-body .wpforms-submit-container { margin-top: 16px !important; }
#ak-konfig .ak-form-body .wpforms-form .wpforms-submit {
    background: #222 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 12px 28px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: .05em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: opacity .15s !important;
}
#ak-konfig .ak-form-body .wpforms-form .wpforms-submit:hover { opacity: .88 !important; }

/* Bestätigungsmeldung */
#ak-konfig .ak-form-body .wpforms-confirmation-container-full {
    background: #f0fff4 !important;
    border: 1px solid #6dbf87 !important;
    border-radius: 4px !important;
    padding: 16px 20px !important;
    color: #1a5c2a !important;
    font-size: 14px !important;
}

/* WPForms-Notice wenn Plugin fehlt */
#ak-konfig .ak-wpf-notice {
    background: #fff8e1;
    border: 1px solid #f0c040;
    border-radius: 4px;
    padding: 14px 18px;
    font-size: 13px;
    color: #5c4a00;
    margin-top: 16px;
}

/* ===== OVERVIEW-MODUS ===== */
#ak-overview {
    max-width: var(--ak-max-width, 980px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}
#ak-overview .ak-ov-grid {
    display: grid;
    grid-template-columns: repeat(var(--ak-grid-cols, auto-fill), minmax(var(--ak-card-min, 220px), 1fr));
    gap: 16px;
}
#ak-overview .ak-ov-card {
    border: 1.5px solid #ddd;
    border-radius: 4px;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow .15s;
}
#ak-overview .ak-ov-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,.1); }
#ak-overview .ak-ov-img-wrap { background: #f8f8f8; }
#ak-overview .ak-ov-img {
    width: 100%;
    height: var(--ak-ov-img-h, 220px);
    object-fit: var(--ak-ov-img-fit, contain);
    display: block;
}
#ak-overview .ak-ov-body { padding: 14px 14px 8px; flex: 1; }
#ak-overview .ak-ov-name {
    font-weight: 700;
    font-size: var(--ak-card-title-size, 14px);
    color: var(--ak-card-title-color, #1a1a1a);
    margin-bottom: 8px;
    line-height: 1.3;
}
#ak-overview .ak-ov-price {
    font-size: var(--ak-card-price-label-size, 13px);
    color: var(--ak-card-price-label-color, #888);
    margin-top: 8px;
}
#ak-overview .ak-ov-price strong {
    font-size: var(--ak-card-price-size, 17px);
    color: var(--ak-card-price-color, #1a1a1a);
}
#ak-overview .ak-btn-konfig {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--ak-card-btn-bg, #222);
    color: var(--ak-card-btn-text, #fff);
    font-size: var(--ak-card-btn-size, 12px);
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background .15s;
    border-radius: 0 0 var(--ak-card-radius, 4px) var(--ak-card-radius, 4px);
}
#ak-overview .ak-btn-konfig:hover { background: var(--ak-card-btn-hover, #444); color: var(--ak-card-btn-text, #fff); opacity: 1; }
#ak-overview .ak-ov-card {
    border: var(--ak-card-border, 1.5px solid #ddd);
    border-radius: var(--ak-card-radius, 4px);
    background: var(--ak-card-bg, #fff);
}


    #ak-detail .ak-detail-model-img { width: 120px; height: 140px; }
}

/* ===== DETAIL-MODUS ===== */
#ak-detail * { box-sizing: border-box; }
#ak-detail {
    max-width: var(--ak-max-width, 980px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}
#ak-detail .ak-section { margin-bottom: 32px; }
#ak-detail .ak-step-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #888; margin-bottom: 10px; }

/* Preis-Banner */
#ak-detail .ak-detail-price-banner {
    background: #1a1a1a;
    color: #fff;
    border-radius: 6px;
    padding: 20px 28px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
#ak-detail .ak-detail-price-banner-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    opacity: .75;
}
#ak-detail #ak-detail-total, #ak-detail .ak-detail-price-banner-total {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.01em;
}

/* Options-Liste — gleich wie #ak-konfig */
#ak-detail .ak-options-list { display: flex; flex-direction: column; gap: 8px; }
#ak-detail .ak-option-row {
    display: flex; align-items: center; gap: 12px;
    border: 1px solid #e0e0e0; border-radius: 4px;
    padding: 12px 14px; background: #fff;
    transition: border-color .15s;
    cursor: default;
}
#ak-detail .ak-option-row:hover   { border-color: #aaa; }
#ak-detail .ak-option-row.checked { border-color: #222; background: #f8f8f8; }
#ak-detail .ak-opt-cb  { width: 17px; height: 17px; accent-color: #222; flex-shrink: 0; cursor: pointer; }
#ak-detail .ak-opt-img-btn { border: none; background: none; padding: 0; cursor: pointer; position: relative; flex-shrink: 0; border-radius: 4px; overflow: hidden; }
#ak-detail .ak-opt-img { width: 64px; height: 64px; object-fit: contain; display: block; border-radius: 4px; border: 1px solid #eee; transition: opacity .15s; }
#ak-detail .ak-opt-img-btn:hover .ak-opt-img { opacity: .75; }
#ak-detail .ak-opt-zoom { position: absolute; bottom: 3px; right: 3px; font-size: 13px; background: rgba(0,0,0,.45); border-radius: 3px; padding: 1px 3px; pointer-events: none; }
#ak-detail .ak-opt-text  { flex: 1; cursor: pointer; }
#ak-detail .ak-opt-name  { font-weight: 700; font-size: 13px; }
#ak-detail .ak-opt-desc  { font-size: 12px; color: #666; margin-top: 3px; line-height: 1.4; }
#ak-detail .ak-opt-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
#ak-detail .ak-opt-price { font-size: 14px; font-weight: 700; color: #333; white-space: nowrap; }
#ak-detail .ak-option-row.checked .ak-opt-price { color: #111; }
#ak-detail .ak-opt-detail-btn { font-size: 11px; padding: 3px 8px; border: 1px solid #ccc; border-radius: 3px; background: #fff; cursor: pointer; color: #444; transition: background .12s; white-space: nowrap; }
#ak-detail .ak-opt-detail-btn:hover { background: #f0f0f0; }

/* Zusammenfassung */
#ak-detail .ak-summary-box { background: #f5f5f5; border: 1px solid #ddd; border-radius: 4px; padding: 18px 20px; }
#ak-detail .ak-sum-row { display: flex; justify-content: space-between; font-size: 13px; color: #444; padding: 4px 0; border-bottom: 1px solid #e8e8e8; }
#ak-detail .ak-detail-sum-total { display: flex; justify-content: space-between; font-size: 20px; font-weight: 700; margin-top: 12px; padding-top: 12px; border-top: 2px solid #222; }
#ak-detail .ak-detail-sum-total span:last-child { color: #c00; }

/* Config-Preview */
#ak-detail .ak-config-preview { background: #fff; border: 1px solid #ddd; border-radius: 4px; padding: 14px 16px; font-size: 13px; color: #444; line-height: 1.7; white-space: pre-line; margin-bottom: 18px; min-height: 60px; }

/* Anfrage-Button */
#ak-detail .ak-btn-anfrage { display: block; width: 100%; padding: 14px; background: #222; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border: none; border-radius: 4px; cursor: pointer; transition: opacity .15s; text-align: center; }
#ak-detail .ak-btn-anfrage:hover { opacity: .88; }
#ak-detail .ak-btn-note { font-size: 12px; color: #999; text-align: center; margin-top: 8px; }

/* WPForms im Detail-Modus */
#ak-detail .ak-form-wrap { margin-top: 20px; border: 1.5px solid #ddd; border-radius: 6px; overflow: hidden; animation: ak-form-slide-in .25s ease; }
#ak-detail .ak-form-header { display: flex; justify-content: space-between; align-items: center; background: #f5f5f5; padding: 12px 18px; border-bottom: 1px solid #e0e0e0; font-weight: 700; font-size: 14px; }
#ak-detail .ak-form-close { border: none; background: none; font-size: 18px; cursor: pointer; color: #666; padding: 0 4px; line-height: 1; }
#ak-detail .ak-form-close:hover { color: #c00; }
#ak-detail .ak-form-body { padding: 24px; background: #fff; }
#ak-detail .ak-form-body .wpforms-form .wpforms-field-label { font-size: 13px !important; font-weight: 600 !important; color: #1a1a1a !important; }
#ak-detail .ak-form-body .wpforms-form input[type=text],
#ak-detail .ak-form-body .wpforms-form input[type=email],
#ak-detail .ak-form-body .wpforms-form textarea { border: 1px solid #c3c4c7 !important; border-radius: 4px !important; font-size: 14px !important; padding: 9px 12px !important; width: 100% !important; box-shadow: none !important; }
#ak-detail .ak-form-body .wpforms-form textarea { min-height: 140px !important; font-family: monospace !important; font-size: 12px !important; color: #555 !important; background: #fafafa !important; }
#ak-detail .ak-form-body .wpforms-form .wpforms-submit { background: #222 !important; color: #fff !important; border: none !important; border-radius: 4px !important; padding: 12px 28px !important; font-size: 14px !important; font-weight: 700 !important; text-transform: uppercase !important; cursor: pointer !important; transition: opacity .15s !important; }
#ak-detail .ak-form-body .wpforms-form .wpforms-submit:hover { opacity: .88 !important; }
#ak-detail .ak-form-body .wpforms-confirmation-container-full { background: #f0fff4 !important; border: 1px solid #6dbf87 !important; border-radius: 4px !important; padding: 16px 20px !important; }

@media (max-width: 500px) {
    #ak-detail .ak-detail-price-banner { padding: 16px; }
    #ak-detail #ak-detail-total, #ak-detail .ak-detail-price-banner-total { font-size: 22px; }
    #ak-detail .ak-opt-img-btn { display: none; }
}


/* Im Overview: etwas mehr Padding da Karte größer */


/* Brand-Badge oben — überschreibt vorherige Regel */



/* ===== RESPONSIVE ===== */

/* Tablet: 2 Spalten */
@media (max-width: 860px) {
    #ak-overview .ak-ov-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    #ak-konfig .ak-model-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobil: 1 Spalte */
@media (max-width: 500px) {
    #ak-overview .ak-ov-grid {
        grid-template-columns: 1fr !important;
    }
    #ak-konfig .ak-model-grid {
        grid-template-columns: 1fr !important;
    }
    #ak-overview .ak-ov-card {
        max-width: 100%;
    }
}
