/* CarTotalos – Partners module (RTL, mobile-first; builds on ctp.css tokens) */
.ctp-partners { max-width: 860px; margin-inline: auto; padding-inline: 16px; }
.ctp-partners fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.ctp-partners legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.ctp-pj__head, .ctp-parts > header { margin-bottom: 16px; }
.ctp-pj__group { border-top: 1px solid var(--ctp-line) !important; padding-top: 14px !important; }
.ctp-pj__two, .ctp-pj__three { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
.ctp-pj__label { font-weight: 600; margin: 12px 0 6px; }
.ctp-pj__makes { max-height: 220px; overflow-y: auto; padding: 4px; border: 1px solid var(--ctp-line); border-radius: 10px; }
.ctp-pj__consent { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; min-height: 44px; }
.ctp-pj__consent input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--ctp-brand); }
.ctp-pj__docs summary, .ctp-tr__complaint summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--ctp-brand); }
.ctp-field-error { color: var(--ctp-bad) !important; font-weight: 600; }
.ctp-field-error:empty { display: none !important; }
.ctp-partners [aria-invalid="true"] { border-color: var(--ctp-bad) !important; }
.ctp-partners [hidden] { display: none !important; }

.ctp-pp__head { justify-content: space-between; margin-bottom: 14px; }
.ctp-pp__head h2 { margin-bottom: 4px; }
.ctp-pp > section { margin-top: 18px; }
.ctp-pp__list { display: grid; gap: 14px; }
.ctp-pp__opp header, .ctp-pp__match header { justify-content: space-between; margin-bottom: 8px; }
.ctp-pp__opp h4, .ctp-pp__match h4 { margin: 0; font-size: 1.08em; }
.ctp-pp__photos { display: flex; gap: 8px; overflow-x: auto; margin: 10px 0; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.ctp-pp__photos a { flex: none; scroll-snap-align: start; }
.ctp-pp__photos img { display: block; width: 160px; height: 120px; object-fit: cover; border-radius: 8px; }
.ctp-pp__actions { margin-top: 12px; }
.ctp-pp__bid { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--ctp-line); }
.ctp-pp__login form p { margin: 0 0 12px; }
.ctp-pp__login label { display: block; font-weight: 600; margin-bottom: 6px; }
.ctp-pp__login input[type=text], .ctp-pp__login input[type=password] { width: 100%; min-height: 44px; }
.ctp-pp__login input[type=submit] { min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 0; background: var(--ctp-brand); color: var(--ctp-brand-ink); font-weight: 600; cursor: pointer; }
.ctp-tr { margin-top: 18px; }
.ctp-tr__stars { margin-bottom: 10px; }

/* public partner directory [ctp_partner_directory] + portal opt-in */
.ctp-pd__intro { margin-bottom: 12px; }
.ctp-pd__h { font-size: 1.15rem; margin: 0 0 10px; }
.ctp-pd__filters { margin: 16px 0; }
.ctp-pd__filters .ctp-row { gap: 12px; align-items: center; }
.ctp-pd__clear, .ctp-pd__biz a, .ctp-pd__empty a, .ctp-pp__dir a { display: inline-block; padding-block: 12px; }
.ctp-pd__results { margin-top: 18px; }
.ctp-pd__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.ctp-pd__top { justify-content: space-between; gap: 8px; }
.ctp-pd__top h3 { margin: 0; font-size: 1.08rem; overflow-wrap: anywhere; }
.ctp-pd__type { margin: 4px 0 8px; }
.ctp-pd__pager { justify-content: center; gap: 12px; margin-top: 16px; }
.ctp-pd__biz { margin-top: 20px; }
.ctp-pp__dir .ctp-row { gap: 10px; }
.ctp-pp__dir [data-ctp-dir-notice]:focus { outline: 3px solid var(--ctp-brand); outline-offset: 2px; }

@media (min-width: 640px) {
	.ctp-pd__list { grid-template-columns: 1fr 1fr; }
	.ctp-pj__two { grid-template-columns: 1fr 1fr; }
	.ctp-pj__three { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.ctp-pp__photos { scroll-behavior: auto; }
}
/* a11y: login form - 44px "remember me" row with a 24px checkbox, 44px-high "forgot password" link (were 20x20 and 17px high) */
.ctp-pp__login .login-remember label { display: flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 0; font-weight: 400; }
.ctp-pp__login input[type=checkbox] { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--ctp-brand); }
.ctp-pp__login p.ctp-small a { display: inline-block; padding-block: 12px; }
