/*
 * Supplier pages: /suppliers/ (template-parts/companies/hub.php) and /suppliers/{company}/ (company.php).
 * Sections, headings, cards (.bcr-lux-card), icon boxes (.bcr-lux-icon), FAQ and CTA come from the shared
 * site styles (design-system.css + pages/vehicle-luxury-car-rental.css); this file adds the supplier pieces.
 */
.bcr-rc { background: #fff; }

/* Score colours: 8+ good, 6-8 ok, under 6 low */
.bcr-rc-pill, .bcr-rc-num { display: inline-flex; align-items: center; justify-content: center; font-weight: 800; line-height: 1; }
.bcr-rc-pill { min-width: 38px; height: 28px; padding: 0 8px; border-radius: 8px; font-size: 14px; color: #fff; }
.bcr-rc-pill--lg { min-width: 58px; height: 52px; border-radius: 14px; font-size: 22px; }
.bcr-rc-pill.is-good { background: #17833f; }
.bcr-rc-pill.is-ok { background: #c98200; }
.bcr-rc-pill.is-low { background: #c2410c; }
.bcr-rc-pill.is-none { background: #8a94a3; }
.bcr-rc-num { min-width: 38px; padding: 4px 7px; border-radius: 7px; font-size: 13.5px; }
.bcr-rc-num.is-good { background: #e7f6ec; color: #17663a; }
.bcr-rc-num.is-ok { background: #fff6e0; color: #8a5300; }
.bcr-rc-num.is-low { background: #fdecea; color: #a8320c; }
.bcr-rc-num.is-none { color: var(--ds-muted); }

/* Supplier cards */
.bcr-rc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 32px; }
.bcr-rc-card { display: flex; flex-direction: column; gap: 8px; height: 100%; color: var(--ds-ink); text-decoration: none; }
.bcr-rc-card:hover { color: var(--ds-ink); border-color: #f1cf86 !important; }
.bcr-rc-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.bcr-rc-logo { display: inline-flex; align-items: center; justify-content: center; width: 116px; height: 52px; padding: 8px 12px; border: 1px solid var(--ds-line); border-radius: 12px; background: #fff; }
.bcr-rc-logo img { display: block; width: auto; max-width: 100%; height: 30px; object-fit: contain; }
.bcr-rc-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; background: var(--ds-accent-soft); color: var(--ds-accent-ink); font-size: 12.5px; font-weight: 700; }
body .bcr-rc-card h3 { margin: 4px 0 0 !important; }
.bcr-rc-rating { display: flex; align-items: center; gap: 8px; color: var(--ds-muted); font-size: 14px; }
.bcr-rc-rating strong { color: var(--ds-ink); }
.bcr-rc-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--ds-text); font-size: 14px; }
.bcr-rc-facts .bi { color: var(--ds-accent-ink); }
.bcr-rc-price { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ds-line); color: var(--ds-muted); font-size: 14px; }
.bcr-rc-price b { color: var(--ds-ink); font-size: 20px; font-weight: 800; }
.bcr-rc-price > .bi, .bcr-rc-go { color: var(--ds-accent-ink); font-weight: 700; }
.bcr-rc-go .bi { transition: transform .2s ease; }
.bcr-rc-card:hover .bcr-rc-go .bi, .bcr-rc-card:hover .bcr-rc-price > .bi { transform: translateX(3px); }

/* Ratings comparison table */
.bcr-rc-table-wrap { margin-top: 32px; overflow-x: auto; border: 1px solid var(--ds-line); border-radius: var(--ds-radius); background: #fff; box-shadow: var(--ds-shadow); }
.bcr-rc-table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 14.5px; }
.bcr-rc-table th, .bcr-rc-table td { padding: 14px 12px; border-bottom: 1px solid var(--ds-line); text-align: center; white-space: nowrap; }
.bcr-rc-table thead th { background: var(--ds-navy); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.bcr-rc-table tbody th { text-align: left; }
.bcr-rc-table tbody th a { display: inline-flex; align-items: center; gap: 10px; color: var(--ds-ink); font-weight: 700; text-decoration: none; }
.bcr-rc-table tbody th img { width: 60px; height: 20px; object-fit: contain; }
.bcr-rc-table tbody th a:hover { color: var(--ds-accent-ink); }
.bcr-rc-table tbody tr:last-child > * { border-bottom: 0; }
.bcr-rc-table tbody tr:hover { background: #fbfcfd; }
.bcr-rc .bcr-rc-legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin: 16px 0 0; color: var(--ds-muted) !important; font-size: 13.5px; }
.bcr-rc-legend .bcr-rc-num { margin-left: 8px; }

/* Pick-up places */
.bcr-rc-places { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 32px; }
.bcr-rc-place ul { display: grid; margin: 14px 0 0; padding: 0; list-style: none; }
body .bcr-rc-place li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding: 11px 0; border-top: 1px solid var(--ds-line); font-size: 15px; }
.bcr-rc-place li a { color: var(--ds-ink); font-weight: 700; text-decoration: none; }
.bcr-rc-place li a:hover { color: var(--ds-accent-ink); }
.bcr-rc-place li > span:not(.bcr-rc-num) { color: var(--ds-muted); font-size: 14px; }

/* Company page */
.bcr-rc-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 22px; color: var(--ds-muted); font-size: 14px; }
.bcr-rc-crumbs a { color: var(--ds-accent-ink); font-weight: 600; text-decoration: none; }
.bcr-rc-crumbs a:hover { text-decoration: underline; }
.bcr-rc-crumbs .bi { font-size: 11px; }
body .bcr-section.bcr-rc-first { padding-top: 24px; }
.bcr-rc-overview { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px; border: 1px solid var(--ds-line); border-radius: var(--ds-radius); background: #fff; box-shadow: var(--ds-shadow); }
.bcr-rc-brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.bcr-rc-brand-logo { display: inline-flex; align-items: center; justify-content: center; width: 170px; height: 72px; padding: 10px 16px; border: 1px solid var(--ds-line); border-radius: 14px; }
.bcr-rc-brand-logo img { width: auto; max-width: 100%; height: 46px; object-fit: contain; }
.bcr-rc-brand p { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--ds-muted); font-size: 14px; line-height: 1.4; }
.bcr-rc-brand strong { color: var(--ds-ink); font-size: 17px; }
.bcr-rc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bcr-rc-stat { display: grid; align-content: start; padding: 16px; border-radius: var(--ds-radius-sm); background: var(--ds-soft); }
.bcr-rc-stat .bcr-lux-icon { width: 40px; height: 40px; margin-bottom: 10px; font-size: 17px; border-radius: 12px; }
.bcr-rc-stat-label { color: var(--ds-muted); font-size: 13px; font-weight: 600; }
.bcr-rc-stat strong { margin-top: 2px; color: var(--ds-ink); font-size: 22px; font-weight: 800; line-height: 1.2; }
.bcr-rc-stat small { color: var(--ds-muted); font-size: 12.5px; font-weight: 600; }
.bcr-rc .bcr-rc-note { display: flex; gap: 8px; margin: 14px 0 0; color: var(--ds-muted) !important; font-size: 13.5px; }

/* Deals */
.bcr-rc-deals { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 32px; }
.bcr-rc-deal { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--ds-line); border-radius: var(--ds-radius); background: #fff; color: var(--ds-ink); text-decoration: none; box-shadow: var(--ds-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.bcr-rc-deal:hover { transform: translateY(-3px); box-shadow: var(--ds-shadow-hover); color: var(--ds-ink); }
.bcr-rc-deal-media { position: relative; display: flex; align-items: center; justify-content: center; height: 170px; padding: 34px 18px 12px; background: linear-gradient(135deg, var(--ds-soft) 0%, #fff 60%, var(--ds-accent-soft) 100%); }
.bcr-rc-deal-media img { width: auto; max-width: 100%; max-height: 120px; object-fit: contain; filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .12)); transition: transform .3s ease; }
.bcr-rc-deal:hover .bcr-rc-deal-media img { transform: scale(1.04); }
.bcr-rc-deal-group { position: absolute; top: 12px; left: 12px; padding: 4px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--ds-line); color: var(--ds-ink); font-size: 12px; font-weight: 700; }
.bcr-rc-deal-body { display: grid; gap: 8px; padding: 16px 18px; }
.bcr-rc-deal-body strong { font-size: 17px; }
.bcr-rc-deal-body small { color: var(--ds-muted); font-size: 13px; font-weight: 500; }
.bcr-rc-deal-specs { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--ds-text); font-size: 13.5px; }
.bcr-rc-deal-specs .bi, .bcr-rc-deal-where .bi { color: #8a94a3; }
.bcr-rc-deal-where { color: var(--ds-muted); font-size: 13.5px; }
.bcr-rc-deal-price { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 14px 18px; border-top: 1px solid var(--ds-line); background: #fbfcfd; color: var(--ds-muted); font-size: 13px; }
.bcr-rc-deal-price b { color: var(--ds-ink); font-size: 22px; font-weight: 800; }
.bcr-rc-deal-cta { padding: 9px 15px; border-radius: 10px; background: var(--ds-accent); color: #111827; font-size: 14px; font-weight: 700; }

/* Ratings + car types panels */
.bcr-rc-two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
body .bcr-rc-panel-title { margin: 0 0 6px !important; font-size: 22px !important; }
.bcr-rc-bars, .bcr-rc-types { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
body .bcr-rc-bars li { display: grid; grid-template-columns: 136px minmax(0, 1fr) 34px; align-items: center; gap: 12px; color: var(--ds-ink); font-size: 15px; font-weight: 600; }
.bcr-rc-bar { height: 9px; overflow: hidden; border-radius: 999px; background: #e7ebf1; }
.bcr-rc-bar span { display: block; height: 100%; border-radius: 999px; background: var(--ds-accent); }
.bcr-rc-bars li.is-good .bcr-rc-bar span { background: #17833f; }
.bcr-rc-bars li.is-low .bcr-rc-bar span { background: #c2410c; }
.bcr-rc-bars b { text-align: right; }
body .bcr-rc-types li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: var(--ds-radius-sm); background: var(--ds-soft); color: var(--ds-ink); font-size: 15px; font-weight: 600; }
.bcr-rc-types span:last-child { color: var(--ds-muted); font-weight: 500; }
.bcr-rc-types b { color: var(--ds-ink); font-weight: 800; }

/* Branches */
.bcr-rc-branches { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 32px; }
.bcr-rc-branch > div { display: grid; gap: 4px; min-width: 0; }
body .bcr-rc-branch h3 { margin: 0 !important; font-size: 17px !important; }
.bcr-rc-branch p { margin: 0 !important; }
.bcr-rc-branch-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--ds-muted); font-size: 13.5px; }
.bcr-rc-branch a { margin-top: 6px; color: var(--ds-accent-ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.bcr-rc-branch a:hover { text-decoration: underline; }
.bcr-rc-all { margin: 28px 0 0; text-align: center; }

@media (min-width: 576px) {
	.bcr-rc-grid, .bcr-rc-deals, .bcr-rc-branches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bcr-rc-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
	.bcr-rc-grid, .bcr-rc-deals, .bcr-rc-branches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bcr-rc-grid--small { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.bcr-rc-places, .bcr-rc-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bcr-rc-overview { grid-template-columns: 250px minmax(0, 1fr); align-items: center; }
	.bcr-rc-brand { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 575px) {
	body .bcr-rc-bars li { grid-template-columns: 116px minmax(0, 1fr) 30px; font-size: 14px; }
	.bcr-rc-stat strong { font-size: 19px; }
}

/* Text from the page editor */
.bcr-rc-text { padding-top: 0; }
.bcr-rc-text-body { max-width: 860px; margin: 0 auto; color: var(--ds-text); line-height: 1.75; }
.bcr-rc-text-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); color: var(--ds-ink); margin: 1.6rem 0 .8rem; }
.bcr-rc-text-body h3 { font-size: 1.2rem; color: var(--ds-ink); margin: 1.3rem 0 .6rem; }
.bcr-rc-text-body > :first-child { margin-top: 0; }
.bcr-rc-text-body a { color: var(--ds-navy); font-weight: 600; text-decoration-color: var(--ds-accent); }
