/* =============================================
   Produkte Angebote – Frontend Styles
   ============================================= */

/* Grid Layout */
.lokal-angebote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 24px 0;
}

/* Card */
.lokal-angebot-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}
.lokal-angebot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.14);
}

/* Thumbnail */
.la-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f0f0f0;
}
.la-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.lokal-angebot-card:hover .la-thumb img { transform: scale(1.05); }
.la-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #aaa;
    font-size: 13px;
}
.la-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Card Body */
.la-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.la-body h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.4;
}
.la-body h3 a {
    color: #1d2327;
    text-decoration: none;
}
.la-body h3 a:hover { color: #2271b1; }
.la-excerpt {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    flex: 1;
    margin: 0 0 14px;
}
.la-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.la-preis {
    font-size: 20px;
    font-weight: 700;
    color: #00a32a;
}
.la-btn {
    display: inline-block;
    background: #2271b1;
    color: #fff !important;
    padding: 7px 14px;
    border-radius: 5px;
    font-size: 13px;
    text-decoration: none !important;
    transition: background .2s;
}
.la-btn:hover { background: #135e96; }

/* =============================================
   Single Post Styles
   ============================================= */
.la-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: #f6f7f7;
    border-left: 4px solid #2271b1;
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin: 0 0 28px;
}
.la-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.la-meta-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #666;
}
.la-meta-preis {
    font-size: 26px;
    color: #00a32a;
    line-height: 1;
}
.la-zustand-tag {
    color: #fff;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

/* Gallery */
.la-gallery-wrap { margin-top: 36px; }
.la-gallery-wrap h3 { margin-bottom: 16px; font-size: 18px; }
.la-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.la-gallery-item {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}
.la-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s, opacity .3s;
}
.la-gallery-item:hover img { transform: scale(1.06); opacity: .9; }

/* Responsive */
@media (max-width: 600px) {
    .lokal-angebote-grid { grid-template-columns: 1fr; gap: 16px; }
    .la-gallery { grid-template-columns: repeat(2, 1fr); }
    .la-single-meta { flex-direction: column; }
}

/* =============================================
   Pagination
   ============================================= */
.la-pagination {
    margin: 36px 0 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.la-pagination-info {
    font-size: 13px;
    color: #888;
}
.la-pagination-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.la-page-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    border: 2px solid #2271b1;
    color: #2271b1 !important;
    background: #fff;
    transition: background .2s, color .2s;
    line-height: 1;
}
.la-page-btn:hover {
    background: #2271b1;
    color: #fff !important;
}
.la-page-btn.active {
    background: #2271b1;
    color: #fff !important;
    pointer-events: none;
}
.la-page-prev, .la-page-next {
    background: #2271b1;
    color: #fff !important;
    border-color: #2271b1;
}
.la-page-prev:hover, .la-page-next:hover {
    background: #135e96;
    border-color: #135e96;
}
@media (max-width: 600px) {
    .la-page-btn { padding: 7px 12px; font-size: 13px; }
}
