/* Spletni obrazec za reklamacije in vračila (inc/reklamacije_web_ui.php, js/rek_web.js).
   Fields and buttons come from the theme (form-default, form-control, btn, btn-border); here only the wizard parts. */

.rw-page { max-width: 860px; margin: 0 0 40px; }
.rw-intro { margin-bottom: 18px; }
.rw-help { margin-top: 26px; font-size: 14px; color: #555; }
.rw-loading { color: #777; padding: 20px 0; }
.rw-app { position: relative; }
.rw-app sup { color: #c00; }

/* progress */
.rw-steps { display: flex; list-style: none; margin: 0 0 18px; padding: 0; gap: 4px; counter-reset: none; }
.rw-steps li { flex: 1 1 0; min-width: 0; }
.rw-steps li > span, .rw-steps li > button {
	display: flex; align-items: center; gap: 6px; width: 100%; padding: 8px 6px; border: 0; border-radius: 6px;
	background: #f3f3f3; color: #999; font-size: 13px; line-height: 1.2; text-align: left; font-family: inherit; }
.rw-steps li > button { cursor: pointer; }
.rw-steps li.is-done > button { background: #e8f2dc; color: #3d5a1b; }
.rw-steps li.is-done > button:hover, .rw-steps li.is-done > button:focus-visible { background: #d6e8c1; outline: 2px solid #64912d; outline-offset: 1px; }
.rw-steps li.is-current > span { background: #64912d; color: #fff; font-weight: 600; }
.rw-steps-n { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%;
	background: rgba(255, 255, 255, .7); color: #191919; font-weight: 600; font-size: 12px; }
.rw-steps-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 767px) {
	.rw-steps li:not(.is-current) .rw-steps-l { display: none; }
	.rw-steps li > span, .rw-steps li > button { justify-content: center; }
	.rw-steps li.is-current { flex-grow: 4; }
}

.rw-step-head { margin-bottom: 14px; }
.rw-step-of { display: block; font-size: 13px; color: #777; }
/* #rek-web: the theme styles h2/h3 with long :not() chains (centered, uppercase). */
#rek-web .rw-step-title { margin: 2px 0 0; padding: 0; font-size: 24px; line-height: 1.25; text-align: left; text-transform: none; letter-spacing: 0; }
.rw-step-title:focus { outline: none; }
#rek-web .rw-h3 { margin: 0; padding: 0; font-size: 17px; line-height: 1.3; font-weight: 600; text-align: left; text-transform: none; letter-spacing: 0; }
.rw-sub { margin: 0 0 14px; color: #444; }
.rw-hint { display: block; margin: 4px 0 0; font-size: 13px; color: #6a6a6a; line-height: 1.4; }
.rw-field-err { margin-top: 5px; font-size: 14px; color: #c00; }
.rw-link { background: none; border: 0; padding: 0; color: #64912d; text-decoration: underline; cursor: pointer; font: inherit; }
.rw-link:hover { color: #f70; }

/* messages */
.rw-msg { padding: 12px 14px; border-radius: 6px; margin: 0 0 16px; line-height: 1.45; border-left: 4px solid; }
.rw-msg-err { background: #fdecea; border-color: #c00; color: #611; }
.rw-msg-warn { background: #fff4e5; border-color: #f70; color: #5a3500; }
.rw-msg-info { background: #f2f7ec; border-color: #64912d; color: #2f4515; }

/* navigation */
.rw-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap-reverse; }
.rw-nav .btn[disabled] { opacity: .6; pointer-events: none; }
@media (max-width: 575px) {
	.rw-nav > * { flex: 1 1 100%; justify-content: center; }
}

/* honeypot */
.rw-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.rw-captcha { min-height: 78px; }

/* step 2: items */
.rw-items { list-style: none; margin: 10px 0 0; padding: 0; }
.rw-item { border: 2px solid #e6e6e6; border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; transition: border-color .15s; }
.rw-item.is-on { border-color: #64912d; background: #fafcf7; }
.rw-items.is-error .rw-item { border-color: #f0b4b4; }
.rw-item-main { display: flex; align-items: center; gap: 12px; margin: 0; cursor: pointer; }
.rw-item-main input, .rw-check input, .rw-choice input { flex: 0 0 auto; width: 20px; height: 20px; accent-color: #64912d; margin: 0; }
.rw-item-img { flex: 0 0 64px; width: 64px; height: 64px; object-fit: contain; border-radius: 4px; background: #f7f8fa; }
.rw-item-txt { min-width: 0; }
.rw-item-name { display: block; font-weight: 500; color: #191919; }
.rw-item-txt small { color: #777; }
.rw-item-qty { display: flex; align-items: center; gap: 8px; margin: 10px 0 0 32px; flex-wrap: wrap; }
.rw-item-qty label { margin: 0; }
.rw-app .rw-item-qty select.form-control { width: auto; min-width: 70px; height: 36px; padding: 4px 10px; }
.rw-item-case { margin: 8px 0 0 32px; font-size: 14px; color: #5a3500; }

/* step 3: scenario tiles */
.rw-tiles { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 576px) { .rw-tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .rw-tiles { grid-template-columns: 1fr 1fr 1fr; } }
.rw-tile { position: relative; display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px; border: 2px solid #e6e6e6; border-radius: 8px;
	cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.rw-tile:hover { border-color: #b5cc95; }
.rw-tile.is-on { border-color: #64912d; background: #f2f7ec; }
.rw-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rw-tile:focus-within { outline: 2px solid #64912d; outline-offset: 2px; }
.rw-tile-ico { flex: 0 0 auto; color: #64912d; line-height: 0; margin-top: 2px; }
.rw-tile-txt b { display: block; font-weight: 600; color: #191919; line-height: 1.25; }
.rw-tile-txt small { display: block; margin-top: 3px; font-size: 13px; color: #666; line-height: 1.35; }
.rw-check { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 6px; cursor: pointer; line-height: 1.4; }
.rw-check input { margin-top: 1px; }
.rw-check.is-error { color: #c00; }
.rw-peritem { margin-top: 10px; padding: 12px; background: #f7f8fa; border-radius: 8px; }
.rw-peritem .form-group:last-child { margin-bottom: 0; }

/* step 4: missing elements, step 5: photo groups */
.rw-group, .rw-block { border: 2px solid #e6e6e6; border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; }
.rw-group.is-req { border-color: #f3c48e; }
.rw-group.is-ok { border-color: #a9c784; }
.rw-group.is-error, .rw-block.is-error { border-color: #e08a8a; }
.rw-group-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rw-group-head .rw-h3 { margin-right: auto; }
.rw-badge { font-size: 12px; padding: 2px 8px; border-radius: 10px; background: #f3f3f3; color: #666; }
.rw-group.is-req .rw-badge { background: #fff4e5; color: #9a5300; }
.rw-count { font-size: 13px; font-weight: 600; padding: 2px 8px; border-radius: 10px; background: #f3f3f3; color: #555; }
.rw-group.is-ok .rw-count { background: #e8f2dc; color: #3d5a1b; }
.rw-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.rw-thumbs:empty { display: none; }
.rw-thumb { position: relative; width: 84px; height: 84px; border-radius: 6px; background: #f7f8fa; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.rw-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rw-thumb-name { padding: 4px; font-size: 11px; line-height: 1.2; word-break: break-all; text-align: center; color: #555; }
.rw-thumb-del { position: absolute; top: 3px; right: 3px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .65); color: #fff;
	font-size: 18px; line-height: 26px; padding: 0; cursor: pointer; }
.rw-thumb-del:hover, .rw-thumb-del:focus-visible { background: #c00; }
.rw-spin { width: 26px; height: 26px; border: 3px solid #d7e5c4; border-top-color: #64912d; border-radius: 50%; animation: rw-spin .8s linear infinite; }
@keyframes rw-spin { to { transform: rotate(360deg); } }
.rw-group-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.rw-app .rw-file-btn { position: relative; overflow: hidden; margin: 0; cursor: pointer; }
.rw-file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.rw-file-btn:focus-within { outline: 2px solid #64912d; outline-offset: 2px; }
.rw-file-btn.disabled { opacity: .5; pointer-events: none; }
.rw-missing-row { position: relative; display: grid; grid-template-columns: 1fr 80px; gap: 8px; margin-top: 10px; padding-right: 34px; }
.rw-missing-row label { font-size: 13px; margin-bottom: 2px; }
.rw-missing-note { grid-column: 1 / -1; }
@media (min-width: 768px) {
	.rw-missing-row { grid-template-columns: 140px 80px 1fr; }
	.rw-missing-note { grid-column: auto; }
}
.rw-missing-del { top: 26px; right: 0; background: #999; }
.rw-block > .rw-link { margin-top: 10px; display: inline-block; }
.rw-fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.rw-fieldset legend { font-size: 15px; font-weight: 500; color: #191919; margin: 0; padding: 0; width: auto; }
.rw-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.rw-choice { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 12px; border: 2px solid #e6e6e6; border-radius: 20px; cursor: pointer; }
.rw-choice.is-on { border-color: #64912d; background: #f2f7ec; }
.rw-choice:focus-within { outline: 2px solid #64912d; outline-offset: 2px; }
.rw-choice input { width: 16px; height: 16px; }
.rw-fieldset.is-error .rw-choice:not(.is-on) { border-color: #e08a8a; }

/* step 6 */
.rw-summary { background: #f7f8fa; border-radius: 8px; padding: 12px 14px; margin: 6px 0 16px; }
.rw-summary dl { margin: 8px 0 0; }
.rw-summary dt { font-size: 13px; color: #777; font-weight: 400; }
.rw-summary dd { margin: 0 0 8px; }
.rw-summary ul { margin: 0; padding-left: 18px; }

/* withdrawal form (kind vracilo): type / method tiles, exchange search, legal text.
   Stock and delivery labels: cart-row-status-* / cart-row-delivery (nowcss.css), prices: new-price / old-price. */
@media (min-width: 992px) { .rw-tiles.rw-tiles-2 { grid-template-columns: 1fr 1fr; } }
.rw-tiles.is-error .rw-tile:not(.is-on) { border-color: #e08a8a; }
.rw-tile-extra { display: block; margin-top: 3px; font-weight: 600; color: #64912d; }
.rw-gap { margin-top: 22px; }
.rw-check .rw-hint { margin-top: 2px; }
.rw-ex-res { margin-top: 4px; }
.rw-ex-res .rw-item-main, .rw-ex-chosen .rw-item-main { cursor: default; flex-wrap: wrap; }
.rw-ex-res .rw-item-txt, .rw-ex-chosen .rw-item-txt { flex: 1 1 200px; }
.rw-item-txt .cart-row-status, .rw-item-txt .cart-row-delivery { display: block; font-size: 13px; }
.rw-price { flex: 0 0 auto; margin-left: auto; text-align: right; white-space: nowrap; font-weight: 600; }
.rw-price .old-price { display: block; font-weight: 400; font-size: 13px; color: #999; text-decoration: line-through; }
.rw-ex-calc { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 2px 16px; margin: 10px 0 2px; }
.rw-ex-calc dt { font-weight: 400; color: #555; }
.rw-ex-calc dd { margin: 0; text-align: right; }
.rw-legal { background: #f7f8fa; border-radius: 8px; padding: 12px 14px; margin: 6px 0 12px; font-size: 14px; line-height: 1.5; }
.rw-legal p, .rw-legal ul { margin: 8px 0 0; }
.rw-legal ul { padding-left: 18px; }
/* made-to-order item (no withdrawal) */
.rw-item.is-locked { background: #fafafa; }
.rw-item.is-locked .rw-item-main { cursor: default; opacity: .7; }
.rw-item-lock { margin: 8px 0 0 32px; font-size: 14px; }
.rw-item-lock small { display: block; margin-top: 4px; color: #777; }
.rw-badge.rw-badge-lock { display: inline-block; background: #fff4e5; color: #9a5300; font-weight: 600; }
.rw-why { margin-top: 6px; }
.rw-why summary { cursor: pointer; color: #64912d; font-weight: 500; }
.rw-why p { margin: 6px 0 0; color: #444; line-height: 1.45; }
/* condition: deduction scale of a used item (rows like .rw-choice, full width) */
.rw-usage .rw-scale { margin: 12px 0 14px; }
.rw-scale-head { display: flex; justify-content: space-between; margin: 8px 2px 4px; font-size: 12px; color: #777; text-transform: uppercase; letter-spacing: .02em; }
.rw-scale-row { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; padding: 8px 12px; border: 2px solid #e6e6e6; border-radius: 8px; cursor: pointer; transition: border-color .15s; }
.rw-scale-row:hover { border-color: #b5cc95; }
.rw-scale-row.is-on { border-color: #64912d; background: #f2f7ec; }
.rw-scale-row:focus-within { outline: 2px solid #64912d; outline-offset: 2px; }
.rw-scale-row input { flex: 0 0 auto; width: 18px; height: 18px; accent-color: #64912d; margin: 0; }
.rw-scale-txt { flex: 1 1 auto; line-height: 1.35; }
.rw-scale-pct { flex: 0 0 auto; font-weight: 600; color: #9a5300; white-space: nowrap; text-align: right; }
.rw-scale.is-error .rw-scale-row:not(.is-on) { border-color: #e08a8a; }
@media (max-width: 575px) {
	.rw-scale-row { flex-wrap: wrap; }
	.rw-scale-pct { flex-basis: 100%; padding-left: 28px; text-align: left; white-space: normal; }
}
.rw-est dt:last-of-type, .rw-est dd:last-of-type { border-top: 1px solid #ddd; padding-top: 4px; margin-top: 2px; }

/* done */
.rw-done { padding: 20px; border-radius: 8px; background: #f2f7ec; border-left: 4px solid #64912d; }
.rw-done p { margin: 10px 0 0; }
