/* ==========================================================
   Hargita Categories – Saját CSS (v1.1)
   Sötét teal header + akcent szín
   ========================================================== */

body.hcat-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f9fafb;
    color: #1f2937;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* ===== HEADER ===== */
.hcat-header {
    background: #0D211F;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hcat-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 50px;
    position: relative;
    z-index: 1;
}

.hcat-back-link {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #9FE1CB;
    text-decoration: none;
    margin-bottom: 30px;
    opacity: 0.85;
    transition: opacity 0.2s, transform 0.2s;
    font-weight: 500;
}

.hcat-back-link:hover {
    opacity: 1;
    transform: translateX(-3px);
    color: #ffffff;
}

.hcat-header-content {
    text-align: center;
}

.hcat-header-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: var(--hcat-accent);
    border-radius: 22px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hcat-header-icon {
    font-size: 48px;
    line-height: 1;
    filter: brightness(1.1);
}

.hcat-header-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 44px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hcat-header-subtitle {
    font-size: 17px;
    color: #C9E6D9;
    margin: 0 auto;
    max-width: 600px;
    line-height: 1.5;
}

.hcat-header-accent {
    width: 60px;
    height: 4px;
    background: var(--hcat-accent);
    border-radius: 2px;
    margin: 24px auto 0;
}

/* ===== FILTERS BAR ===== */
.hcat-filters-bar {
    max-width: 1200px;
    margin: 24px auto 0;
    padding: 0 20px;
    background: transparent !important;
}

/* ===== CONTENT ===== */
.hcat-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ===== DETAIL MODAL - csak az adatlap oldala (visszajelzés nélkül) ===== */
.hcat-detail-only {
    grid-template-columns: 1fr !important;
}

.hcat-detail-only .hsp-feedback-pane {
    display: none !important;
}

/* ===== FONTOS: KÉPMÉRET JAVÍTÁS A RÉSZLETES NÉZETBEN ===== */
.hsp-detail-image {
    max-height: 450px !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    background: #f3f4f6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hsp-detail-image img {
    width: 100% !important;
    height: 100% !important;
    max-height: 450px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 12px !important;
}

@media (max-width: 768px) {
    .hsp-detail-image,
    .hsp-detail-image img {
        max-height: 280px !important;
    }
}

/* Thumbnail strip */
.hsp-detail-thumb-strip {
    margin-top: 8px !important;
    gap: 8px !important;
}

.hsp-detail-thumb {
    width: 70px !important;
    height: 70px !important;
    overflow: hidden !important;
    border-radius: 6px !important;
    padding: 0 !important;
    border: 2px solid transparent !important;
    cursor: pointer !important;
    background: #f3f4f6 !important;
}

.hsp-detail-thumb.active {
    border-color: var(--hcat-accent) !important;
}

.hsp-detail-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* ===== KÁRTYAKÉP RÖGZÍTETT ARÁNY ===== */
.hsp-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.hsp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Reszponzív ===== */
@media (max-width: 768px) {
    .hcat-header-title {
        font-size: 32px;
    }
    .hcat-header-icon-wrap {
        width: 70px;
        height: 70px;
        border-radius: 18px;
    }
    .hcat-header-icon {
        font-size: 38px;
    }
    .hcat-header-subtitle {
        font-size: 14px;
    }
    .hcat-header-inner {
        padding: 16px 16px 40px;
    }
}

@media (max-width: 480px) {
    .hcat-header-title {
        font-size: 26px;
    }
    .hcat-header-icon-wrap {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }
    .hcat-header-icon {
        font-size: 32px;
    }
}
