/* ============================================================
   Brand Empfehlungen – Elementor Widget v2
   ============================================================ */

/* ── GRID ── */
.be-grid {
    display: grid;
    gap: 24px;
}
.be-grid.be-cols-1 { grid-template-columns: 1fr; }
.be-grid.be-cols-2 { grid-template-columns: repeat(2, 1fr); }
.be-grid.be-cols-3 { grid-template-columns: repeat(3, 1fr); }
.be-grid.be-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .be-grid.be-cols-t-1 { grid-template-columns: 1fr; }
    .be-grid.be-cols-t-2 { grid-template-columns: repeat(2, 1fr); }
    .be-grid.be-cols-t-3 { grid-template-columns: repeat(3, 1fr); }
    .be-grid.be-cols-4   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .be-grid { grid-template-columns: 1fr!important; }
}

/* ── CARD ── */
.be-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Cards die durch Filter ausgeblendet werden */
.be-card.be-hidden {
    display: none;
}

/* ── SLIDER WRAP ── */
.be-slider-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    flex-shrink: 0;
    /* Cursor-Steuerung: linke/rechte Hälfte */
    cursor: pointer;
    border-radius: 16px;
}

/* ── SLIDER ── */
.be-slider {
    display: flex;
    height: 100%;
    transition: transform .38s cubic-bezier(.4,0,.2,1);
    will-change: transform;
    user-select: none;
}
.be-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}
.be-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
}

/* ── NO IMAGE ── */
.be-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
}

/* ── DOTS ── */
.be-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 10;
    pointer-events: none;
    width: 80%;
    justify-content: center;
}
.be-dot {
    display: block;
    width: 20%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,.4);
    transition: background .2s, width .2s;
}
.be-dot.active {
    background: #fff;
}

/* ── TAGS OVERLAY (oben links) ── */
.be-tags-overlay {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 10;
    pointer-events: none;
    background: #DFE6DD;
    border-radius: 66px;
    padding: 4px 8px;
}
.be-tag-chip {
    display: inline-block;
}
.be-tag-dot {
    background-color: #212D1E;
    width: 3px!important;
    height: 3px!important;
    border-radius: 50%;
}

/* ── RABATT BADGE (oben rechts) ── */
.be-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 700;
    z-index: 10;
    background-image: url(/wp-content/uploads/2026/04/sale.svg)!important;
    background-position: center!important;
    background-repeat: no-repeat!important;
    background-size: contain!important;
}

/* ── CARD BODY ── */
.be-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    align-items: flex-start;
}

/* ── KATEGORIEN ── */
.be-categories {
    font-size: 13px;
    color: #888;
    line-height: 1;
}
.be-sep { margin: 0 2px; color: #bbb; }

/* ── TITEL ── */
.be-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
    letter-spacing: -.02em;
    text-transform: uppercase;
}

/* ── BESCHREIBUNG ── */
.be-desc {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.55;
}

/* ── RABATTCODE ── */
.be-rabattcode-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.be-rabattcode-label {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
}
.be-rabattcode-button {
    background-color: transparent!important;
    border: none!important;
    padding: 0!important;
    color: #212D1E!important;
}
.be-rabattcode-copy {
    padding: 4px 8px;
    gap: 8px;
    display: flex;
}


/* ── BUTTON ── */
.be-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 50px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    margin-top: 4px;
    align-self: flex-start;
}
.be-btn:hover { 
    background: #333; 
    gap: 16px; 
    color: #212D1E!important; 
    text-decoration: none; 
}
.be-btn-icon {
    background: #F6F2ED;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.be-btn svg { 
    flex-shrink: 0; 
    width: 20px;
    height: 20px;
    color: #212D1E;
}
.be-btn:hover .be-btn-icon {
    background: #212D1E;
}
.be-btn:hover svg { 
    color: #F6F2ED;
        width: 20px;
    height: 20px;
}

/* ═══════════════════════════════════════════
   FILTER BAR
   ═══════════════════════════════════════════ */
.be-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

/* Filter-Gruppe: position:relative für Dropdown */
.be-filter-group {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

/* Trigger-Button (inaktiver Zustand) */
.be-filter-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px!important;
    border-radius: 50px;
    border: none!important;
    background: #f0ede8;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s;
    white-space: nowrap;
}
.be-filter-trigger:hover { background: #e8e4de; }

.be-filter-chevron {
    transition: transform .2s;
    flex-shrink: 0;
}
.be-filter-group.open .be-filter-chevron {
    transform: rotate(180deg);
}

/* Aktiver Chip (zeigt gewählten Wert) */
.be-filter-active {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px!important;
    border-radius: 50px;
    border: none!important;
    background: #1e3320;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s;
    white-space: nowrap;
}
.be-filter-active:hover { background: #2a4530; }

.be-filter-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    flex-shrink: 0;
    transition: background .15s;
}
.be-filter-active:hover .be-filter-clear {
    background: rgba(255,255,255,.35);
}

/* Dropdown-Liste */
.be-filter-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 180px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,.14);
    list-style: none;
    margin: 0;
    padding: 6px;
    z-index: 999;
    overflow: hidden;
}
.be-filter-dropdown li {
    padding: 9px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #1a1a1a;
    transition: background .15s;
    white-space: nowrap;
}
.be-filter-dropdown li:hover { background: #f5f5f5; }
.be-filter-dropdown li.selected {
    background: #f0ede8;
    font-weight: 600;
}

/* ═══════════════════════════════════════════
   PAGINIERUNG
   ═══════════════════════════════════════════ */
.be-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 36px;
}
.be-pag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 50px;
    border: none;
    background: #f0ede8;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s, color .2s;
    white-space: nowrap;
}
.be-pag-btn:hover { background: #e8e4de; }
.be-pag-btn.active {
    background: #1e3320;
    color: #fff;
    font-weight: 700;
}
.be-pag-btn:disabled {
    opacity: .4;
    cursor: not-allowed;
}
.be-pag-dots {
    padding: 0 6px;
    color: #aaa;
    font-size: 14px;
    line-height: 40px;
}

/* ── LEER-ZUSTAND ── */
.be-no-posts { color: #999; font-style: italic; padding: 20px 0; }
.be-no-results {
    grid-column: 1 / -1;
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 40px 0;
}
