/* Comments */
.comments-area{
	margin-top: 3em;
	border-top:1px solid var(--g44-gray-color);
	padding-top:1em;
}

.comment-respond{
	padding:1.5em;
	margin:1em 0 0 0;
	box-sizing:border-box;
	background-color:var(--g44-lightgray-color);
	border-radius:var(--g44-border-radius-2)
}
.comment-respond .comment-form p:last-of-type{
	margin:0;
}
.comment-reply-title small{
	font-size:1rem;
	display:block;
}

.comment-list {
    list-style: none;
    margin: 0 0 2em 0;
    padding: 0;
}
.comment {
    border-bottom: 1px solid var(--g44-gray-color);
    padding: 1em 0;
    /* display: flex; */
    gap: 1em;
}
.comment .avatar {
    border-radius: 50%;
    display: inline-block;
    width: 44px;
    height: 44px;
    margin-right: 2px;
}
.comment-body {
    flex-grow: 1;
}
.comment-meta {
    font-size: 0.9em;
    margin: 0 0 0 0;
}
.comment-author {
    font-weight: 600;
}
.comment-author cite {
    font-style: normal;
}
.reply {
    margin-top: 1em;
}
.reply a:hover {
    text-decoration: underline;
}
.comment .children {
    margin-top: 0.5em;
    margin-left: 2em;
    padding-left: 0em;
    list-style: none;
}
.comment .children li:last-child {
    border:0;
}





/* G44 Reviews */
.g44-reviews{
	margin: 3em 0 2em 0;
	padding:1.5em;
	background:var(--g44-lightgray-color);
	border-radius: var(--g44-border-radius-3);
	--reviews-gap: 2em;
}
.g44-reviews__header,
.g44-reviews__form{
	margin-bottom: var(--reviews-gap);
	padding:1.5em;
	background:var(--g44-white-color);
	border-radius:var(--g44-border-radius-2);
}
.g44-reviews__form{
	box-shadow: 0 25px 40px 5px rgb(0 0 0 / 20%);
	margin: 2em 0;
}
.g44-reviews .g44-reviews__form{
	box-shadow: 0 25px 40px 5px rgb(0 0 0 / 10%);
	margin: 0;
}

.g44-reviews__title{
	margin:0;
}

.g44-review-form{
	display:flex;
	flex-direction:column;
	gap:1em;
}

.g44-reviews .g44-reviews__summary-wrap{
	font-size: min(6vw, 40px);
}
.g44-comment-form-rating .stars {
    margin: 0.5em 0 0;
    font-size: 1.4em;
}

.g44-comment-form-rating[data-rating-invalid="1"]{
	padding:0.5em 0.5em;
    background-color: rgba(224, 32, 32, 0.05) !important;
	border-radius:var(--g44-border-radius-1);
}
.g44-comment-form-rating .g44-rating-error{
	font-weight:bold;
	color: #e02020;
	font-size: 0.9em;
	margin-top:0.5em;
}

.g44-reviews__summary-wrap{
	margin-top:0.25em;
}

.g44-comment-form-rating .g44-stars{
	display:inline-flex;
	gap: 0.25em;
}

.g44-comment-form-rating .g44-stars a{
	position:relative;
	width:1em;
	height:1em;
	line-height:1;
	display:inline-block;
	text-decoration:none;
	
	/* ukryj tekst linku, zostawiając go dla a11y */
	text-indent:-999em;
	overflow:hidden;
}

.g44-comment-form-rating .g44-stars a::before{
	content:"☆";
	position:absolute;
	inset:0;
	display:block;
	text-indent:0;
}

/* HOVER: domyślnie wypełnij wszystko, a rodzeństwo po prawej wyczyść */
.g44-comment-form-rating .g44-stars:hover a::before{
	content:"★";
}
.g44-comment-form-rating .g44-stars a:hover ~ a::before{
	content:"☆";
}

/* SELECTED: jeśli wybrano ocenę, pokaż wypełnione do aktywnej i puste po prawej */
.g44-comment-form-rating .g44-stars.selected a::before{
	content:"★";
}
.g44-comment-form-rating .g44-stars.selected a.active ~ a::before{
	content:"☆";
}

/* Focus */
.g44-comment-form-rating .g44-stars a:focus{
	outline:2px solid currentColor;
	outline-offset:2px;
}

.g44-reviews__summary{
	display:flex;
	align-items:center;
	gap:10px;
}

.g44-star-rating{
	position:relative;
	display:inline-block;
	line-height:1;
	 /* dopasuj */
}

.g44-star-rating::before{
	content:"★★★★★";
	opacity:.25;
}

.g44-star-rating__fill{
	position:absolute;
	left:0;
	top:0;
	height:100%;
	overflow:hidden;
	white-space:nowrap;
}

.g44-star-rating__fill::before{
	content:"★★★★★";
}

.g44-star-rating__text{
	position:absolute;
	left:-9999px;
	top:auto;
	width:1px;
	height:1px;
	overflow:hidden;
}

.g44-reviews__summary-wrap a{
	text-decoration:none !important;
}

.g44-reviews__summary-wrap .g44-star-rating,
.g44-reviews .g44-review-stars{
	color:var(--g44-yellow-color);
}

.g44-review-invite{
	padding:1em;
	background-image:linear-gradient(90deg, #ffe8a4, #ffd968);
	margin-bottom:40px;
}
.cpt-item .g44-review-invite{
	padding:0;
	font-size:0.7em;
	margin-top:0.5em;
	margin-bottom:0;
}
.g44-review-invite .wrapper{
	display: flex;
	align-items: flex-end;
	gap:0.5em;
	flex-wrap: wrap;
}
.cpt-item .g44-review-invite .wrapper{
	padding:1em;
}
.g44-review-invite .g44-review-ttl{
	width: 60px;
	display: inline-block;
}
.g44-review-invite input[type="number"]{
	width:100%;
}
.g44-review-invite .button{
	padding:10px 10px;
	flex-grow: 1;
}
.g44-review-link-output{
	width:100%;
}
.g44-review-copy-msg{
	padding:2px 4px;
	margin-top:5px;
	border-radius:4px;
	background:#aae2ac;
	color:#184a1a;
	animation: copy-msg-progress 8s ease-out;
}
@keyframes copy-msg-progress {
    0% {
        opacity:1;
		scale:1;
    }
	2% {
        opacity:1;
		scale:1.05;
    }
	4% {
        opacity:1;
		scale:1;
    }
    100% {
        opacity:0;
    }
}

.g44-reviews__list{
	display:flex;
	flex-direction:column;
	gap: var(--reviews-gap);
	margin-bottom: var(--reviews-gap);
}
.g44-reviews__list > *:not(:last-child){
	border-bottom:1px solid var(--g44-gray-color);
	padding-bottom: var(--reviews-gap);
}
.g44-reviews .g44-alert,
.g44-reviews__notice{
	border: 1px solid var(--g44-gray-color);
	margin-bottom: 0;
}
.g44-reviews__notice{
	margin:1em 0;
}
.g44-review__meta,
.g44-review__reply-meta,
.g44-review__meta_details,
.g44-review__reply-meta_details{
	display: flex;
	flex-wrap: wrap;
	gap: 0.25em 0.5em;
	align-items: center;
}
.g44-review__meta_image,
.g44-review__reply-meta_image{
	font-size:40px;
	line-height: 0;
	width:40px;
	color: var(--g44-gray-color);
}
.g44-review__author,
.g44-review__reply-author{
	flex-basis: 100%;
	font-weight: 500;
}
.g44-review__date,
.g44-review__reply-date{
	color: var(--g44-darkgray-color);
	font-size: 0.75em;
	align-self: center;
}
.g44-review__content,
.g44-review__reply-content{
	margin-top: 0.5em;
}
.g44-review__content p:last-child,
.g44-review__reply-content p:last-child{
	margin:0px;
}

.g44-review__replies{
	margin-left: 1em;
	margin-top: 1em;
}
.g44-review__reply{
	border-left:2px solid var(--g44-gray-color);
	padding:0.5em 1em;
}

.g44-reviews .g44-reviews__info{
	margin:0;
}