/* GH Reviews — minimalistyczny styl pod sekcje "Opinie klientow" */

.ghr-wrap {
    max-width: 1200px;
    margin: 2em auto;
    font-family: inherit;
}

.ghr-summary {
    display: flex;
    align-items: center;
    gap: 0.6em;
    padding: 0.8em 1em;
    background: #f7f7f9;
    border-radius: 8px;
    margin-bottom: 1.2em;
    font-size: 1.05em;
}
.ghr-summary .ghr-stars-big {
    color: #f5a623;
    font-size: 1.4em;
    letter-spacing: 1px;
}
.ghr-summary .ghr-avg { font-weight: 700; }
.ghr-summary .ghr-count { color: #666; }

.ghr-search {
    margin-bottom: 1.2em;
}
.ghr-search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.7em 1em;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 6px;
}
.ghr-search-input:focus {
    border-color: #0073aa;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.15);
}

.ghr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.2em;
}

.ghr-card {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 1em 1.1em;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    transition: box-shadow 0.15s ease;
}
.ghr-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.ghr-head {
    font-size: 0.92em;
    color: #444;
}
.ghr-head .ghr-sku {
    font-weight: 700;
    color: #0073aa;
    text-decoration: none;
}
.ghr-head .ghr-sku:hover { text-decoration: underline; }
.ghr-head .ghr-desc { color: #666; }

.ghr-rating {
    color: #f5a623;
    font-size: 1.1em;
    letter-spacing: 1px;
}

.ghr-text {
    margin: 0;
    padding: 0.4em 0;
    border-left: 3px solid #f5a623;
    padding-left: 0.8em;
    color: #222;
    font-style: italic;
    line-height: 1.4;
}

.ghr-orig {
    font-size: 0.78em;
    color: #999;
    cursor: help;
}

.ghr-pics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4em;
}
.ghr-thumb {
    display: block;
    width: 70px;
    height: 70px;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #ddd;
}
.ghr-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}
.ghr-thumb:hover img { transform: scale(1.08); }

.ghr-foot {
    margin-top: auto;
    padding-top: 0.4em;
    border-top: 1px dashed #eee;
    font-size: 0.8em;
    color: #777;
}
.ghr-foot .ghr-author { font-weight: 600; }

.ghr-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2em;
    color: #999;
    font-style: italic;
}

@media (max-width: 480px) {
    .ghr-grid { grid-template-columns: 1fr; }
    .ghr-thumb { width: 60px; height: 60px; }
}
