/* 4Dog: сторінка «Відгуки покупців 4Dog» (07.10.2026) */
#fourdog-reviews { overflow-x: hidden; }
#fourdog-reviews img { max-width: 100%; }
.fdr-intro { color: #57565C; font-size: 15px; margin: 0 0 16px; }
.fdr-count { color: #8E8D90; white-space: nowrap; }

/* банер −10% */
.fdr-promo { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; background: #FFF8D6; border-left: 5px solid #F2D03B; padding: 18px 20px; margin: 0 0 24px; box-shadow: 0 1px 5px rgba(0,0,0,.03); }
.fdr-promo-main { flex: 1 1 420px; min-width: 0; }
.fdr-promo-title, .fdr-h2, .fdr-h3, .fdr-h4 { border-left: 0 !important; padding-left: 0 !important; }
.fdr-promo-title { font-size: 20px; font-weight: 700; color: #414045; margin: 0 0 10px; line-height: 1.3; }
.fdr-steps { margin: 0 0 8px; padding-left: 20px; color: #414045; }
.fdr-steps li { margin: 2px 0; }
.fdr-promo-note { margin: 0; font-size: 13px; color: #6d6c70; }
.fdr-promo-btn { flex: 0 0 auto; white-space: normal; text-align: center; }

/* картки */
.fdr-grid { margin-bottom: 10px; }
.fdr-col { margin-bottom: 30px; }
.fdr-card { height: 100%; display: flex; flex-direction: column; padding: 18px; text-align: left; }
.fdr-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.fdr-avatar { width: 48px; height: 48px; min-width: 48px; border-radius: 50%; object-fit: cover; }
.fdr-who { min-width: 0; }
.fdr-author { font-size: 15px; font-weight: 600; color: #414045; line-height: 1.3; overflow-wrap: anywhere; }
.fdr-date { font-size: 12px; color: #8E8D90; }
.fdr-stars { margin: 0 0 10px; line-height: 1; }
.fdr-stars .us-module-rating-star { cursor: default; }
.fdr-photos { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.fdr-photo { display: block; overflow: hidden; border-radius: 6px; background: #f5f5f5; cursor: zoom-in; }
.fdr-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fdr-photo-main { flex: 0 0 100%; aspect-ratio: 4 / 3; }
.fdr-photo:not(.fdr-photo-main) { flex: 0 0 64px; width: 64px; height: 64px; }
.fdr-product { font-size: 14px; color: #8E8D90; margin: 0 0 8px; overflow-wrap: anywhere; }
.fdr-product a { color: rgb(0, 163, 194); font-weight: 600; }
.fdr-text { font-size: 14px; line-height: 1.55; color: #414045; overflow-wrap: anywhere; }
.fdr-pagination { margin: 0 0 30px; }
.fdr-pagination .pagination { flex-wrap: wrap; }

/* панель */
.fdr-panel { margin: 10px 0 30px; height: auto; }
.fdr-h2 { font-size: 22px; font-weight: 700; color: #414045; margin: 0 0 10px; }
.fdr-h3 { font-size: 18px; font-weight: 600; color: #414045; margin: 0 0 14px; }
.fdr-h4 { font-size: 16px; font-weight: 600; color: #414045; margin: 18px 0 12px; }
.fdr-muted { color: #77767b; }
.fdr-small { font-size: 13px; margin: 10px 0 0; }
.fdr-block { margin: 24px 0 0; padding-top: 22px; border-top: 1px solid #eee; }
.fdr-panel > .fdr-h2 + .fdr-block, .fdr-panel > .fdr-h2 + p + .fdr-block { border-top: 0; padding-top: 0; }
.fdr-flash { margin-bottom: 18px; }
.fdr-panel .form-group { margin-bottom: 16px; }
.fdr-panel label, .fdr-label { display: block; font-weight: 600; color: #414045; margin-bottom: 6px; font-size: 14px; }
.fdr-hint { font-size: 13px; color: #77767b; margin-top: 4px; }
.fdr-error { color: #d9534f; font-size: 13px; margin-top: 4px; }
.fdr-error:empty { display: none; }
.fdr-error-main { margin: 0 0 12px; font-size: 14px; }
.fdr-ok { color: #2e7d32; font-size: 14px; margin: 10px 0; }

/* вхід */
.fdr-login { max-width: 420px; margin-top: 16px; }
.fdr-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 11px 16px; border: 1px solid #dadce0; border-radius: 4px; background: #fff; color: #3c4043 !important; font-weight: 600; font-size: 15px; text-decoration: none !important; }
.fdr-google:hover { background: #f7f8f8; }
.fdr-or { display: flex; align-items: center; gap: 10px; color: #8E8D90; font-size: 13px; margin: 16px 0; }
.fdr-or:before, .fdr-or:after { content: ""; flex: 1; height: 1px; background: #e5e5e5; }
.fdr-login-form .btn { width: 100%; }
.fdr-login-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 12px; font-size: 14px; }
.fdr-login-links a, .fdr-panel a { color: rgb(0, 163, 194); }

/* форма відгуку */
.fdr-form { max-width: 640px; }
.fdr-rate { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.fdr-rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fdr-rate label { width: 34px; height: 34px; margin: 0; cursor: pointer; background: url(../../theme/oct_ultrastore/img/star-grey.svg) center / 30px no-repeat; }
.fdr-rate label:hover, .fdr-rate label:hover ~ label, .fdr-rate input:checked ~ label { background-image: url(../../theme/oct_ultrastore/img/star.svg); }
.fdr-rate input:focus-visible + label { outline: 2px solid rgb(0, 163, 194); outline-offset: 2px; }
.fdr-file { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-weight: 400 !important; cursor: pointer; }
.fdr-file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fdr-file .fdr-hint { flex: 1 1 180px; margin-top: 0; }
.fdr-file input:focus-visible + .btn { outline: 2px solid rgb(0, 163, 194); }
.fdr-previews { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fdr-prev { position: relative; width: 84px; height: 84px; border-radius: 6px; overflow: hidden; background: #f2f2f2; }
.fdr-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fdr-prev button { position: absolute; top: 2px; right: 2px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; line-height: 22px; font-size: 16px; padding: 0; cursor: pointer; }
.fdr-prev span { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 11px; color: #666; padding: 4px; text-align: center; overflow-wrap: anywhere; }
.fdr-submit[disabled] { opacity: .6; cursor: wait; }

/* пошук покупки */
.fdr-inline-form { display: flex; flex-wrap: wrap; gap: 0 16px; align-items: flex-start; }
.fdr-inline-form .form-group { flex: 1 1 200px; min-width: 0; }
.fdr-inline-form .fdr-inline-btn { flex: 0 0 auto; padding-top: 27px; }
.fdr-inline-form .fdr-error-main { flex: 1 1 100%; }
.fdr-nf-toggle { margin-top: 4px; }
.fdr-nf-form { max-width: 520px; }
.fdr-list { padding-left: 18px; margin: 0; }
.fdr-list li { margin: 4px 0; overflow-wrap: anywhere; }
.fdr-table { margin-bottom: 8px; }
.fdr-table td, .fdr-table th { vertical-align: middle; font-size: 14px; }
.fdr-table thead th { color: #414045 !important; background: #f5f5f5 !important; font-weight: 600; border-bottom: 0; font-size: 13px; }
.fdr-code { font-family: monospace; font-size: 15px; letter-spacing: .5px; white-space: nowrap; }
.fdr-st-active .fdr-code { color: #2e7d32; }
.fdr-st-used td, .fdr-st-expired td, .fdr-st-rejected td { color: #9a999d; }

/* перегляд фото */
.fdr-lightbox { position: fixed; inset: 0; z-index: 10050; background: rgba(0,0,0,.88); display: flex; align-items: center; justify-content: center; padding: 48px 12px; }
.fdr-lightbox[hidden] { display: none; }
.fdr-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.fdr-lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.15); color: #fff; cursor: pointer; border-radius: 50%; width: 44px; height: 44px; font-size: 30px; line-height: 40px; padding: 0; }
.fdr-lb-close { top: 10px; right: 10px; }
.fdr-lb-prev { left: 10px; top: 50%; margin-top: -22px; }
.fdr-lb-next { right: 10px; top: 50%; margin-top: -22px; }
.fdr-lightbox.fdr-single .fdr-lb-prev, .fdr-lightbox.fdr-single .fdr-lb-next { display: none; }
body.fdr-noscroll { overflow: hidden; }

@media (max-width: 767px) {
	.fdr-promo { padding: 14px; }
	.fdr-promo-main { flex-basis: 100%; }
	.fdr-promo-title { font-size: 17px; }
	.fdr-promo-btn { width: 100%; }
	.fdr-col { margin-bottom: 16px; }
	.fdr-card { padding: 14px; }
	.fdr-panel { padding: 18px 14px; }
	.fdr-h2 { font-size: 19px; }
	.fdr-inline-form .fdr-inline-btn { padding-top: 0; flex-basis: 100%; }
	.fdr-inline-form .fdr-inline-btn .btn, .fdr-form .fdr-submit, .fdr-nf-form .btn { width: 100%; }
	.fdr-login { max-width: none; }
}

/* Промокод після відгуку: окрема «купонна» плашка */
.fdr-coupon{margin:0 0 22px;padding:18px 20px;border:2px dashed #e0b600;border-radius:10px;background:#fffbe6;text-align:center}
.fdr-coupon-label{font-size:15px;font-weight:600;color:#5c4a00;margin-bottom:10px}
.fdr-coupon-row{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap}
.fdr-coupon-code{font:700 30px/1.1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:3px;color:#1f1f1f;background:#fff;border:1px solid #e9d27a;border-radius:8px;padding:10px 18px;user-select:all}
.fdr-coupon-copy{min-width:140px}
.fdr-coupon-copy.is-done{background:#5aa02c;border-color:#5aa02c;color:#fff}
.fdr-coupon-note{margin:12px auto 0;max-width:620px;font-size:13px;color:#6b6b6b}
.fdr-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:1px;background:#fffbe6;border:1px dashed #e0b600;border-radius:5px;padding:2px 8px}
@media (max-width:575px){.fdr-coupon-code{font-size:24px;letter-spacing:2px;padding:8px 12px}}

.fdr-code-cell{white-space:nowrap}
.fdr-copy-btn{margin-left:8px;padding:3px 10px;font-size:12px;line-height:1.4;border:1px solid #c9ced3;border-radius:4px;background:#fff;color:#333;cursor:pointer;vertical-align:middle}
.fdr-copy-btn:hover{background:#f2f4f6}
.fdr-copy-btn.is-done{background:#5aa02c;border-color:#5aa02c;color:#fff}
@media (max-width:575px){.fdr-code-cell{white-space:normal}.fdr-copy-btn{display:inline-block;margin:6px 0 0}}
