/* Galerie-Button auf den YOOtheme-Bildern */
.yves-ki-trigger {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 20;
    background: rgba(20, 20, 20, 0.85);
    color: #fff;
    border: 1px solid #A3892C;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}
.yves-ki-trigger:hover {
    background: #A3892C;
    color: #fff;
    transform: translateY(-1px);
}

/* Modal & Stil-Buttons */
.yves-ki-dialog {
    border-radius: 10px;
    max-width: 1120px !important;
}
.yves-ki-badge {
    display: inline-block;
    background: rgba(163, 137, 44, 0.15);
    color: #A3892C;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 6px;
}
.yves-ki-header h3 {
    margin: 0 0 18px 0;
    font-weight: 700;
}
.yves-ki-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 10px;
}
.yves-ki-styles {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.yves-style-btn {
    text-align: left;
    background: #f8f8f8;
    border: 1px solid #e2e2e2;
    border-radius: 7px;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.yves-style-btn strong {
    display: block;
    font-size: 14px;
    color: #222;
}
.yves-style-btn span {
    font-size: 12px;
    color: #666;
}
.yves-style-btn.active,
.yves-style-btn:hover {
    border-color: #A3892C;
    background: rgba(163, 137, 44, 0.08);
}
.yves-style-btn.active strong {
    color: #A3892C;
}
.yves-ki-measures-box {
    margin-top: 18px;
    padding: 12px 14px;
    background: #fafafa;
    border-left: 3px solid #A3892C;
    border-radius: 4px;
}
#yves-ki-measures {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
}

/* Vorher/Nachher Slider */
.yves-slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    user-select: none;
    cursor: ew-resize;
}
.yves-slider-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.yves-img-before-clip {
    position: absolute;
    inset: 0;
    clip-path: inset(0 50% 0 0);
}
.yves-slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #A3892C;
    transform: translateX(-50%);
    pointer-events: none;
}
.yves-slider-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #A3892C;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.yves-tag-before, .yves-tag-after {
    position: absolute;
    top: 12px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}
.yves-tag-before { left: 12px; }
.yves-tag-after { right: 12px; background: rgba(163, 137, 44, 0.9); }
.yves-watermark {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0,0,0,0.65);
    color: #eee;
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 4px;
}
.yves-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.82);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.yves-loading-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.yves-room-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.yves-room-btn {
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 7px 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.yves-room-btn.active,
.yves-room-btn:hover {
    border-color: #A3892C;
    background: #A3892C;
    color: #fff;
}
.yves-refresh-btn {
    margin-top: 10px;
    width: 100%;
    background: transparent;
    border: 1px dashed #A3892C;
    color: #A3892C;
    border-radius: 6px;
    padding: 6px;
    font-size: 12px;
    cursor: pointer;
}
.yves-refresh-btn:hover {
    background: rgba(163, 137, 44, 0.1);
}
.yves-room-pill {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 15;
    background: rgba(20, 20, 20, 0.78);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}
.yves-admin-controls {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.yves-batch-btn {
    width: 100%;
    background: #A3892C;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.yves-batch-btn:hover {
    opacity: 0.9;
}
.yves-batch-btn:disabled {
    opacity: 0.5;
    cursor: wait;
}