/* გამარტივებული კომენტარის ფორმა (template-parts/custom_review/review.php) */
.kkc-title { display: flex; align-items: center; gap: 10px; font-size: 17px; margin: 0 0 14px; color: #fff; }
.kkc-title .kkc-cnt {
    font: 12px Arial, sans-serif; color: #8b8ea6; background: rgba(255, 255, 255, .06);
    padding: 3px 9px; border-radius: 999px;
}
.kkc-title #cancel-comment-reply-link { margin-left: auto; font-size: 12px; color: #8b8ea6; }

form.kkc { --acc: #7b61ff; --line: rgba(255, 255, 255, .08); --mut: #8b8ea6; max-width: 760px; color: #fff; display: block !important; margin: 0 !important; }
form.kkc .kkc-box {
    display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px;
    background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: .2s;
}
form.kkc.kkc-open .kkc-box { border-color: rgba(123, 97, 255, .5); box-shadow: 0 0 0 4px rgba(123, 97, 255, .08); }
form.kkc .kkc-av {
    flex: 0 0 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #2a2f6b, #7b61ff); font-weight: 700; font-size: 15px; color: #fff;
}
form.kkc .kkc-main { flex: 1; min-width: 0; }
form.kkc textarea {
    display: block; width: 100%; min-height: 44px !important; height: 44px !important; margin: 0; resize: none;
    border: 0 !important; background: transparent !important; color: #fff !important; box-shadow: none !important;
    font-size: 14.5px; line-height: 1.5; padding: 10px 0 !important; outline: none; transition: height .2s;
}
form.kkc.kkc-open textarea { height: 90px !important; }
form.kkc .kkc-extra {
    display: none; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--line);
}
form.kkc.kkc-open .kkc-extra { display: flex; }
form.kkc .kkc-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
form.kkc .kkc-name {
    width: 190px; height: auto !important; min-height: 0 !important; line-height: 1.4 !important; margin: 0; padding: 8px 12px !important; font-size: 13px;
    background: rgba(255, 255, 255, .05) !important; border: 1px solid var(--line) !important;
    border-radius: 10px !important; color: #fff !important;
}
form.kkc .kkc-name:focus { border-color: rgba(123, 97, 255, .6) !important; outline: none; }
form.kkc .kkc-stars { display: flex; align-items: center; gap: 3px; font-size: 12px; color: var(--mut); }
form.kkc .kkc-stars b { font-weight: 400; margin-right: 6px; }
form.kkc .kkc-star {
    padding: 0 1px !important; margin: 0; border: 0 !important; background: none !important; box-shadow: none !important;
    font-family: Arial, sans-serif !important; font-size: 19px; line-height: 1; color: #3a3e66; cursor: pointer; transition: .15s;
}
form.kkc .kkc-star.on { color: #f5c518; }
form.kkc .kkc-btns { display: flex; gap: 8px; margin-left: auto; }
form.kkc .kkc-cancel {
    background: transparent !important; border: 0 !important; color: var(--mut) !important;
    font-size: 13px; cursor: pointer; padding: 9px 12px !important; border-radius: 10px; height: auto !important;
}
form.kkc .kkc-cancel:hover { color: #fff !important; }
form.kkc .kkc-send {
    display: flex; align-items: center; gap: 6px; height: auto !important; min-width: 0 !important;
    background: var(--acc) !important; border: 0 !important; color: #fff !important; border-radius: 10px !important;
    font-weight: 600; font-size: 13px; padding: 9px 18px !important; cursor: pointer; line-height: 1.3;
}
form.kkc .kkc-send:disabled { opacity: .45; cursor: default; }
form.kkc .kkc-note { font-size: 11.5px; color: var(--mut); margin-top: 8px; padding-left: 52px; }

@media (max-width: 575px) {
    form.kkc .kkc-box { padding: 12px; gap: 10px; }
    form.kkc .kkc-av { flex-basis: 34px; height: 34px; font-size: 13px; }
    form.kkc .kkc-name { width: 100%; }
    form.kkc .kkc-left { width: 100%; }
    form.kkc .kkc-note { padding-left: 0; }
}

/* "მაყურებლის შეფასება" ბარათი ფორმის მარჯვნივ (review.php → .kkr) */
.kkc-wrap { display: flex; gap: 18px; align-items: flex-start; }
.kkc-col { flex: 1; min-width: 0; }
.kkc-wrap form.kkc { max-width: none; }
.kkr {
    flex: 0 0 220px; margin-top: 44px; padding: 16px; border-radius: 16px; color: #fff;
    background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08);
}
.kkr-avg { font: 700 38px/1 Arial, sans-serif; margin-bottom: 4px; }
.kkr-avg small { font-size: 15px; color: #f5c518; margin-left: 3px; }
.kkr-cnt { font-size: 12px; color: #8b8ea6; margin-bottom: 12px; }
.kkr-row { display: flex; align-items: center; gap: 8px; margin: 5px 0; font: 11.5px Arial, sans-serif; color: #8b8ea6; }
.kkr-row i { font-style: normal; width: 16px; }
.kkr-row b { font-weight: 400; width: 18px; text-align: right; }
.kkr-bar { flex: 1; height: 6px; border-radius: 9px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.kkr-bar span { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, #7b61ff, #f5c518); }
.kkr-cmp { display: flex; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); }
.kkr-cmp div { flex: 1; text-align: center; padding: 7px 4px; border-radius: 10px; background: rgba(255, 255, 255, .04); font-size: 11px; color: #8b8ea6; }
.kkr-cmp strong { display: block; margin-bottom: 2px; font: 700 16px Arial, sans-serif; color: #fff; }
.kkr-cmp .kkr-imdb strong { color: #f5c518; }
.kkr-empty { text-align: center; padding: 6px 0 2px; }
.kkr-empty .kkr-st { font-size: 26px; letter-spacing: 3px; color: #3a3e66; font-family: Arial, sans-serif !important; }
.kkr-empty p { margin: 8px 0 12px; font-size: 13px; line-height: 1.4; color: #dfe0ea; }
.kkr-empty .kkr-go {
    height: auto !important; padding: 8px 14px !important; font-size: 12.5px; cursor: pointer;
    background: rgba(123, 97, 255, .15) !important; border: 1px solid rgba(123, 97, 255, .5) !important;
    border-radius: 10px !important; color: #fff !important;
}
.kkr-empty .kkr-go:hover { background: rgba(123, 97, 255, .3) !important; }
@media (max-width: 767px) {
    .kkc-wrap { flex-direction: column; }
    .kkr { flex: none; width: 100%; margin-top: 4px; }
}

/* კომენტარების სია (functions.php → kk_comment_item) */
.kkl { list-style: none !important; margin: 26px 0 0 !important; padding: 0 !important; }
.kkl li { list-style: none !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }
.kkl-item { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.kkl > li:first-child > .kkl-item { border-top: 0; }
.kkl-av {
    flex: 0 0 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font: 700 16px Arial, sans-serif; color: #fff;
}
.kkl-c0 { background: linear-gradient(135deg, #2a2f6b, #7b61ff); }
.kkl-c1 { background: linear-gradient(135deg, #1f4d6b, #2fb3c9); }
.kkl-c2 { background: linear-gradient(135deg, #6b2a4d, #e0577f); }
.kkl-c3 { background: linear-gradient(135deg, #2a6b45, #56c98a); }
.kkl-body { flex: 1; min-width: 0; }
.kkl-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.kkl-name { font-size: 14.5px; font-weight: 600; color: #fff; }
.kkl-badge { font-size: 10.5px; padding: 2px 8px; border-radius: 999px; background: rgba(123, 97, 255, .18); color: #b9a9ff; border: 1px solid rgba(123, 97, 255, .35); }
.kkl-stars { font: 12px Arial, sans-serif !important; letter-spacing: 1px; color: #f5c518; }
.kkl-stars i { font-style: normal; color: #3a3e66; font-family: Arial, sans-serif !important; }
.kkl-date { font-size: 12px; color: #6f7290; }
.kkl-date::before { content: "·"; margin-right: 8px; color: #3a3e66; }
.kkl-wait { display: block; font-size: 12px; color: #f5c518; margin-bottom: 6px; font-style: normal; }
.kkl-text { font-size: 14px; line-height: 1.65; color: #d6d7e3; word-break: break-word; }
.kkl-text p { margin: 0 0 8px; }
.kkl-text p:last-child { margin: 0; }
.kkl-text a { color: #a996ff; text-decoration: none; border-bottom: 1px dashed rgba(169, 150, 255, .4); }
.kkl-act { display: flex; gap: 16px; margin-top: 10px; font-size: 12.5px; }
.kkl-act:empty { display: none; }
.kkl-act a { color: #8b8ea6 !important; text-decoration: none; transition: .2s; }
.kkl-act a:hover { color: #fff !important; }
.kkl .children { list-style: none; margin: 0 0 0 56px !important; padding: 0 0 0 18px !important; border-left: 2px solid rgba(123, 97, 255, .25); }
.kkl .children .kkl-item { padding: 14px 0; }
.kkl .children .kkl-av { flex-basis: 34px; height: 34px; font-size: 13px; }
/* "პასუხი"-ზე ფორმა კომენტარის ქვეშ გადადის */
.kkl #respond { margin: 4px 0 18px 56px; }
@media (max-width: 575px) {
    .kkl-item { gap: 10px; }
    .kkl-av { flex-basis: 34px; height: 34px; font-size: 13px; }
    .kkl .children { margin-left: 16px !important; padding-left: 12px !important; }
    .kkl #respond { margin-left: 0; }
}
/* პასუხის რეჟიმი: მრიცხველი და WP-ის "Cancel reply" დამალულია (ფორმის "გაუქმება" აუქმებს) */
.kkl .kkc-cnt, .kkc-title #cancel-comment-reply-link { display: none !important; }
/* სია ფორმის ქვეშ, იმავე სვეტში — თემის 50px-იანი დაშორება მცირდება; ბარათი გვერდზე მიჰყვება (sticky) */
.kkc-col #comments { margin-top: 22px !important; }
.kkc-col .kkl { margin-top: 0 !important; }
.kkc-col .jws-noreviews { margin: 0; font-size: 13px; color: #8b8ea6; }
.kkr { position: sticky; top: 100px; }
@media (max-width: 767px) {
    /* მობილურზე: ფორმა → ბარათი → კომენტარები */
    .kkc-col { display: contents; }
    .kkc-wrap #respond { order: 1; width: 100%; }
    .kkr { order: 2; position: static; }
    .kkc-col #comments { order: 3; width: 100%; margin-top: 8px !important; }
}
/* დახურულ ველში scrollbar არ ჩანდეს (მობილურზე გრძელი placeholder ორ ხაზზე გადადის) */
form.kkc:not(.kkc-open) textarea { overflow: hidden; }
form.kkc:not(.kkc-open) textarea::placeholder { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
