/* =====================================================
   RESET / BASE
===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    background: #f5f5f7;
    color: #111;
    line-height: 1.5;
}

/* =====================================================
   LAYOUT
===================================================== */
.daily-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    margin-top: 20px;
    align-items: start;
}

.daily-main {
    min-width: 0;
}

.daily-sidebar {
    width: 320px;
}

@media (max-width: 1024px) {
    .daily-container {
        grid-template-columns: 1fr;
    }

    .daily-sidebar {
        width: 100%;
        margin-top: 24px;
    }
}

/* =====================================================
   HEADER
===================================================== */
.daily-header {
    background: #1f2937;
    color: #ffffff;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.daily-header h1 {
    font-size: 22px;
    margin-bottom: 6px;
}

.daily-header p {
    font-size: 14px;
    color: #d1d5db;
}

/* =====================================================
   FILTERS
===================================================== */
.daily-filters {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-group label {
    font-size: 13px;
    color: #555;
}

.filter-group select {
    padding: 9px 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 14px;
}

/* Score Buttons */
.score-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.score-buttons button {
    padding: 7px 14px;
    border-radius: 20px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: all .15s ease;
}

.score-buttons button.active {
    background: #00a86b;
    color: #fff;
    border-color: #00a86b;
}

/* =====================================================
   GRID
===================================================== */
.daily-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

/* =====================================================
   CARD
===================================================== */
.daily-card {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

/* TOP BADGE */
.daily-badge-top {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff6b00;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    z-index: 2;
}

/* IMAGE */
.daily-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 8px;
}

/* TITLE (fixe Höhe) */
.daily-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    min-height: 60px;
    margin-bottom: 6px;
}

/* FLEX-SPACER – DER ENTSCHEIDENDE FIX */
.daily-spacer {
    flex-grow: 1;
}

/* =====================================================
   INFO-BLOCK (PREIS + META)
===================================================== */
.daily-info {
    margin-bottom: 10px;
}

.daily-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

.daily-price {
    font-size: 18px;
    font-weight: 700;
}

.daily-old {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
}

.daily-meta-row {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #555;
    min-height: 20px;
}

/* =====================================================
   BUTTON (IMMER UNTEN)
===================================================== */
.daily-btn {
    display: block;
    background: #00a86b;
    color: #fff;
    text-align: center;
    padding: 11px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s ease;
}

.daily-btn:hover {
    background: #008f5c;
}

/* =====================================================
   SIDEBAR
===================================================== */
.daily-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* WhatsApp Banner */
.daily-sidebar .wa-banner {
    background: #fff;
    padding: 14px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    text-align: center;
}

.daily-sidebar .wa-banner img {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    display: block;
}

/* Sidebar Box */
.sidebar-box {
    background: #fff;
    padding: 14px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

.sidebar-box h3 {
    font-size: 15px;
    margin-bottom: 10px;
}

.sidebar-box a {
    display: block;
    margin-bottom: 6px;
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
}

.sidebar-box a:hover {
    text-decoration: underline;
}

/* =========================
   PAGINATION
========================= */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 40px 0 20px;
    flex-wrap: wrap;
}

.pagination a {
    padding: 8px 14px;
    border-radius: 6px;
    background: #f3f4f6;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
}

.pagination a:hover {
    background: #111;
    color: #fff;
}

.pagination a.active {
    background: #111;
    color: #fff;
    pointer-events: none;
}

.pagination .page-prev,
.pagination .page-next {
    font-weight: 600;
}

/* =========================
   FILTER UX
========================= */
.daily-filters {
    margin-bottom: 25px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.score-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.score-buttons button {
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #f8f8f8;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.15s ease;
}

.score-buttons button:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.score-buttons button.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.filter-hint {
    font-size: 12px;
    color: #777;
}

/* =========================
   EMPTY STATE
========================= */
.daily-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.daily-empty h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* =========================
   SEO CATEGORY TEXT
========================= */
.category-seo-text {
    margin-top: 60px;
    padding: 35px;
    background: #fafafa;
    border-radius: 12px;
    line-height: 1.6;
}

.category-seo-text h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

.category-seo-text p {
    margin-bottom: 14px;
    color: #333;
}

.category-seo-cta {
    margin-top: 25px;
    text-align: center;
}

.daily-btn-highlight {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 8px;
    background: linear-gradient(135deg, #111, #333);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.daily-btn-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* =========================
   MOBILE OPTIMIERUNG
========================= */
@media (max-width: 768px) {
    .pagination {
        gap: 4px;
    }

    .pagination a {
        padding: 7px 10px;
        font-size: 13px;
    }

    .category-seo-text {
        padding: 25px 20px;
    }

    .category-seo-text h2 {
        font-size: 20px;
    }
}

.daily-base-price {
    font-size: 12px;
    color: #64748b; /* slate-500 */
    margin-top: 2px;
}


.wa-live-box {
    background: linear-gradient(90deg, #1b1b1f, #141417);
    border: 1px solid #2a2a2f;
    padding: 14px 16px;
    border-radius: 10px;
    margin: 20px 0;
    font-size: 0.95rem;
}
.wa-live-box a {
    color: #7ddcff;
    font-weight: 600;
    text-decoration: none;
}
