.ck-photos-section { --photo-surface: #fff; --photo-ink: #263244; --photo-muted: #7b8493; --photo-line: #e8ecf1; margin: 20px 0 12px; padding: 24px; border: 1px solid var(--photo-line); border-radius: 20px; background: var(--photo-surface); color: var(--photo-ink); }
.ck-photos-heading, .ck-photos-title { display: flex; align-items: center; gap: 12px; }
.ck-photos-heading { justify-content: space-between; flex-wrap: wrap; margin-bottom: 20px; }
.ck-photos-title h2 { margin: 0; font-size: 17px; font-weight: 800; }
.ck-photos-title h2 span { display: inline-block; margin-inline-start: 6px; padding: 3px 8px; border-radius: 8px; background: #f2f4f7; color: #7b8493; font-size: 12px; }
.ck-photos-title p { margin: 5px 0 0; color: var(--photo-muted); font-size: 12px; }
.ck-photos-camera { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fff0f3; color: #e53659; }
.ck-photos-section svg, .ck-photos-form svg { width: 24px; height: 24px; flex-shrink: 0; }
.ck-photos-uploadButton { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 16px; min-height: 44px; border: 1px solid #e53659; border-radius: 11px; background: transparent; color: #dc3455; font-size: 13px; font-weight: 700; }
.ck-photos-uploadButton:hover { background: #fff0f3; }
.ck-photos-uploadButton:disabled, .ck-photos-more:disabled { opacity: .55; cursor: wait; }
.ck-photos-rail { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: thin; overscroll-behavior-inline: contain; }
.ck-photos-thumbnail { position: relative; flex: 0 0 148px; width: 148px; height: 174px; padding: 0; border: 1px solid var(--photo-line); border-radius: 14px; overflow: hidden; background: #f5f6f8; }
.ck-photos-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.ck-photos-thumbnail:hover img { transform: scale(1.04); }
.ck-photos-thumbnail > span { position: absolute; bottom: 8px; right: 8px; padding: 3px 7px; border-radius: 7px; background: #fffef5ed; color: #18816b; font-size: 10px; }
.ck-photos-more { flex: 0 0 110px; border: 1px dashed var(--photo-line); border-radius: 14px; background: transparent; color: var(--photo-ink); font-size: 12px; }
.ck-photos-empty { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 26px 12px; border-radius: 14px; background: #f8f9fb; color: var(--photo-muted); font-size: 13px; }
.ck-photos-skeleton { flex: 0 0 148px; height: 174px; border-radius: 14px; background: #f1f3f6; }
.ck-photos-notice { color: #b42338; font-size: 13px; }
.ck-photos-notice button { margin-inline-start: 12px; background: transparent; border: 0; color: inherit; text-decoration: underline; }
.ck-photos-modal .ck-photos-viewer { direction: rtl; width: 100%; max-width: none; padding: 0; background: #fff; color: #263244; border: 0; border-radius: 18px; overflow: hidden; text-align: right; }
.ck-photos-modal { z-index: 2147483001; }
.ck-photos-backdrop { z-index: 2147483000; }
.ck-photos-viewer .modal-title { font-size: 16px; }
.ck-photos-viewer .btn-close { margin-inline-start: auto; margin-inline-end: 0; }
.ck-photos-fullImage { display: block; width: 100%; height: min(65dvh, 700px); object-fit: contain; background: #f7f8fa; border-radius: 12px; touch-action: pan-y pinch-zoom; user-select: none; }
.ck-photos-swipeHint { margin: 10px 0 0; text-align: center; color: #7b8493; font-size: 11px; }
.ck-photos-caption { margin-top: 12px; font-size: 14px; line-height: 1.9; }
.ck-photos-viewerControls { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; font-size: 12px; }
.ck-photos-viewerControls button { min-height: 44px; border: 1px solid #e8ecf1; border-radius: 9px; padding: 8px 12px; background: #fff; }
.ck-photos-viewerControls button:disabled { opacity: .4; }
.ck-photos-form { display: grid; gap: 12px; }
.ck-photos-form p, .ck-photos-form small { font-size: 12px; line-height: 1.9; }
.ck-photos-form label { display: grid; gap: 8px; font-size: 13px; }
.ck-photos-form textarea { width: 100%; padding: 10px; border: 1px solid #dce1e8; border-radius: 10px; resize: vertical; }
.ck-photos-fileLabel { padding: 16px; border: 1px dashed #d4dbe5; border-radius: 12px; background: #f8f9fb; }
.ck-photos-previews { display: flex; flex-wrap: wrap; gap: 8px; }
.ck-photos-previews > div { position: relative; }
.ck-photos-previews img { width: 80px; height: 90px; object-fit: cover; border-radius: 8px; }
.ck-photos-previews button { position: absolute; top: 2px; right: 2px; border: 0; border-radius: 50%; width: 26px; height: 26px; background: #fff; color: #b42338; }
.ck-photos-success { color: #18816b; }
.ck-photos-section button:focus-visible { outline: 3px solid #e5365980; outline-offset: 3px; }
body.dark .ck-photos-section { --photo-surface: #23282d; --photo-ink: #eef1f5; --photo-muted: #aab4c4; --photo-line: #3b4653; }
body.dark .ck-photos-empty { background: #1c242d; }
body.dark .ck-photos-modal .ck-photos-viewer { background: #23282d; color: #eef1f5; }
@media (max-width: 575px) { .ck-photos-section { padding: 16px 12px; border-radius: 16px; } .ck-photos-heading { gap: 14px; } .ck-photos-title h2 { font-size: 15px; } .ck-photos-camera { width: 38px; height: 38px; border-radius: 11px; } .ck-photos-title p { font-size: 11px; } .ck-photos-uploadButton { padding: 8px 12px; font-size: 12px; } .ck-photos-thumbnail { flex-basis: 112px; width: 112px; height: 136px; } .ck-photos-rail { gap: 8px; } .ck-photos-empty { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .ck-photos-thumbnail img { transition: none; } }

.ck-summary-card { padding: 20px; border: 1px solid #e0e0e2; border-radius: 12px; margin-bottom: 24px; background: #fff; color: #3f4064; }
.ck-summary-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ck-summary-heading h3 { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.8; }
.ck-summary-icon, .ck-summary-aiLabel { color: #8054b8; }
.ck-summary-badge { font-size: 10px; color: #8054b8; background: #f4effb; border-radius: 5px; padding: 3px 7px; }
.ck-summary-preview, .ck-summary-fullText { font-size: 14px; line-height: 2.2; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.ck-summary-preview { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ck-summary-footer { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; color: #81858b; font-size: 11px; }
.ck-summary-trigger, .ck-summary-footer button { display: inline-flex; align-items: center; gap: 7px; background: transparent; border: 0; padding: 6px 0; color: #19bfd3; font-size: 12px; font-weight: 700; cursor: pointer; }
.ck-summary-trigger { margin: 0 6px; padding: 8px; min-width: 40px; min-height: 40px; justify-content: center; align-self: center; color: #8054b8; border-radius: 8px; }
.ck-summary-trigger:hover { background: #f4effb; }
.ck-summary-points { display: flex; flex-direction: column; gap: 14px; }
.ck-summary-point { display: flex; align-items: flex-start; gap: 10px; }
.ck-summary-positive, .ck-summary-negative { display: inline-flex; flex-shrink: 0; margin-top: 5px; }
.ck-summary-positive { color: #00865a; }
.ck-summary-negative { color: #d32f45; }
.ck-summary-srOnly { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ck-summary-trigger:focus-visible, .ck-summary-footer button:focus-visible, .ck-summary-close:focus-visible { outline: 2px solid #8054b8; outline-offset: 4px; border-radius: 4px; }
.ck-summary-dialog { border: 0; border-radius: 12px; color: #3f4064; background: #fff; box-shadow: 0 12px 48px #0002; }
.ck-summary-modalHeader { margin: 0 20px; padding: 18px 0; border-bottom: 1px solid #e0e0e2; gap: 16px; }
.ck-summary-modalTitle { font-size: 16px; font-weight: 700; line-height: 1.8; }
.ck-summary-close { border: 0; background: transparent; color: #424750; font-size: 28px; line-height: 1; margin-inline-start: auto; padding: 2px 6px; }
.ck-summary-modalBody { padding: 20px; max-height: 75dvh; overflow-y: auto; }
.ck-summary-aiLabel { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 16px; }
.ck-summary-notice { font-size: 11px; color: #81858b; line-height: 2; border-top: 1px solid #f0f0f1; padding-top: 16px; margin: 20px 0 0; }
body.dark .ck-summary-card, body.dark .ck-summary-dialog { background: #1d2935; color: #e5e7eb; border-color: #415264; }
body.dark .ck-summary-notice, body.dark .ck-summary-footer { color: #b4bfca; }
body.dark .ck-summary-close { color: #e5e7eb; }
@media (max-width: 767px) { .ck-summary-card { padding: 16px; } .ck-summary-heading h3 { font-size: 14px; } .ck-summary-preview, .ck-summary-fullText { font-size: 13px; } }
.ck-product-page .ck-book-image:has(.ck-community-stats) .ck-product-image-actions{bottom:84px}
.ck-product-page .ck-book-image .ck-community-stats{box-sizing:border-box;height:48px;min-height:48px}
.ck-community-stats{display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:0;width:100%;min-width:0;container-type:inline-size;margin-top:10px;padding-bottom:8px;direction:rtl;color:#718096;font-size:12px;line-height:1.8;clear:both}
.ck-community-stats>a,.ck-community-stats>button{display:inline-flex;flex-shrink:0;align-items:center;gap:3px;padding:0 3px;font-size:clamp(9px,3.3cqw,11px);color:inherit;text-decoration:none;white-space:nowrap;border:0;background:transparent;font-family:inherit;cursor:pointer;line-height:1.8}
.ck-community-stats>:first-child{padding-inline-start:0}.ck-community-stats>:not(:first-child){border-inline-start:1px solid #e5e8ed}.ck-community-stats svg{flex:0 0 auto;width:clamp(11px,4cqw,15px);height:clamp(11px,4cqw,15px);color:#a1a3a8}.ck-community-stats strong{font-weight:600}.ck-community-stats .ck-community-statRating svg{color:#ff9434}.ck-community-stats .ck-community-favourite svg{color:#e72679}.ck-community-stats>.ck-summary-trigger{white-space:nowrap;font-size:clamp(9px,3.3cqw,11px);gap:3px;padding:8px 3px;margin:0;min-width:0;min-height:40px;border-radius:0;color:#8054b8}.ck-community-stats .ck-summary-trigger svg{color:#8054b8}.ck-community-message{display:block;font-size:12px;color:#b42338;text-align:center;clear:both}.ck-community-message:empty{display:none}.ck-community-stats a:hover{color:#007eb5}.ck-community-stats a:focus-visible,.ck-community-stats button:focus-visible{outline:2px solid #8054b8;outline-offset:4px}
.ck-community{clear:both;scroll-margin-top:100px;text-align:right}.ck-community *{box-sizing:border-box}.ck-community [hidden]{display:none!important}.ck-community a.ck-photos-thumbnail{display:block;text-decoration:none}.ck-community .ck-photos-title h2{margin:0;font-size:17px;font-weight:800;line-height:1.8}.ck-community .ck-photos-title p{margin:5px 0 0;font-size:12px;line-height:1.8}.ck-community button{font-family:inherit;cursor:pointer}.ck-community .ck-summary-heading h3{margin:0;font-size:15px;font-weight:700;line-height:1.8}.ck-community p.ck-summary-fullText{font-size:14px;line-height:2.2;margin:0}.ck-community-dialog{position:fixed;inset:0;margin:auto;border:0;border-radius:18px;padding:0;width:calc(100% - 32px);max-width:500px;max-height:90dvh;overflow:auto;background:#fff;color:#263244;direction:rtl;text-align:right;box-shadow:0 12px 48px #0002}.ck-community-dialog:not([open]){display:none}.ck-community-dialog::backdrop{background:#0008}.ck-community-dialog header{display:flex;gap:16px;align-items:center;padding:16px;border-bottom:1px solid #e0e0e2}.ck-community-dialog header h3{margin:0;font-size:16px;line-height:1.8}.ck-community-dialog header button{margin-inline-start:auto;font-size:28px;line-height:1;background:transparent;border:0;color:#424750}.ck-community-dialog-body{padding:16px}.ck-community-lightbox{max-width:800px}.ck-community-lightbox .ck-photos-fullImage{max-width:100%}.ck-summary-dialog{border-radius:12px;color:#3f4064}.ck-summary-modalHeader{display:flex;align-items:center}.ck-community .ck-photos-uploadButton{font-family:inherit}.ck-community .ck-photos-form .ck-photos-uploadButton{justify-self:start}.ck-summary-dialog .ck-summary-fullText{font-size:14px;line-height:2.2}
@media(max-width:575px){.ck-community-stats{margin-top:8px;font-size:11px}.ck-community .ck-photos-title h2{font-size:15px}.ck-community .ck-photos-title p{font-size:11px}.ck-community .ck-summary-heading h3{font-size:14px}.ck-community p.ck-summary-fullText{font-size:13px}.ck-community-dialog{max-height:92dvh}}
