.hm-movec-catalog-wrapper {
    margin: 2rem 0;
}

.hm-movec-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.hm-movec-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    height: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hm-movec-card:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.hm-movec-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.hm-movec-card-image {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
    background: #f5f5f5;
    overflow: hidden;
}

.hm-movec-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hm-movec-card-image--placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 0.9rem;
}

.hm-movec-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hm-movec-card-body--no-image {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.hm-movec-card-title {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
}

.hm-movec-card-meta {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
    font-size: 0.9rem;
}

.hm-movec-card-meta li {
    margin: 0.1rem 0;
}

.hm-movec-card-price {
    margin-top: auto;
    font-weight: bold;
    font-size: 1.1rem;
    color: #0073aa;
}

.hm-movec-card-more {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0073aa;
}

.hm-movec-pagination {
    margin-top: 1.5rem;
    text-align: center;
}

.hm-movec-pagination-label {
    margin-right: 0.5rem;
}

.hm-movec-page {
    display: inline-block;
    margin: 0 0.15rem;
    padding: 0.4rem 0.7rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    text-decoration: none;
    font-size: 0.9rem;
}

.hm-movec-page.current,
.hm-movec-page:hover {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
}

.hm-movec-error {
    color: #b32d2e;
    background: #fbeaea;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    border: 1px solid #f1c0c0;
}

.hm-movec-no-results {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    background: #f8f9fa;
}

/* Detailansicht */
.hm-movec-detail-wrapper {
    margin: 2rem 0;
}

.hm-movec-detail-back {
    margin-bottom: 1rem;
}

.hm-movec-detail-back a {
    text-decoration: none;
    color: #0073aa;
}

.hm-movec-detail-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hm-movec-detail-title {
    margin: 0;
    font-size: 1.6rem;
}

.hm-movec-detail-price {
    font-size: 1.4rem;
    font-weight: bold;
    color: #0073aa;
}

.hm-movec-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .hm-movec-detail-layout {
        grid-template-columns: 1fr;
    }
}

.hm-movec-detail-gallery-main {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
    background: #f5f5f5;
    overflow: hidden;
    border-radius: 8px;
    cursor: zoom-in;
}

.hm-movec-detail-gallery-main img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hm-movec-detail-thumbs {
    margin-top: 0.75rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 0.5rem;
}

.hm-movec-detail-thumb {
    padding-top: 70%;
    position: relative;
    background: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
    cursor: zoom-in;
}

.hm-movec-detail-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hm-movec-detail-gallery-placeholder {
    padding: 2rem;
    text-align: center;
    background: #f5f5f5;
    border-radius: 8px;
}

.hm-movec-detail-info h3 {
    margin-top: 0;
}

.hm-movec-detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.hm-movec-detail-table th,
.hm-movec-detail-table td {
    padding: 0.4rem 0.6rem;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.hm-movec-detail-table th {
    width: 35%;
    font-weight: 600;
}

/* Lightbox */
.hm-movec-lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

.hm-movec-lightbox-inner {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.hm-movec-lightbox-inner img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    border-radius: 4px;
}

.hm-movec-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

body.hm-movec-lightbox-open {
    overflow: hidden;
}
