/* Shared provider directory, profile, request form and inbox (resources/provider-leads/views/shop). */
.hzpl { max-width: 1120px; margin: 0 auto; padding: 24px 16px 48px; color: #1f2937; }
.hzpl-hero { margin-bottom: 20px; }
.hzpl-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; font-size: 14px; color: #5b6270; }
.hzpl-crumbs a { color: inherit; }
.hzpl-hero__title { font-size: 28px; line-height: 1.25; font-weight: 700; margin: 0 0 8px; }
.hzpl-hero__intro { font-size: 16px; line-height: 1.6; color: #4b5563; margin: 0; max-width: 72ch; }
.hzpl-back { display: inline-block; margin-bottom: 12px; }
.hzpl-link { color: #0b5cad; text-decoration: underline; text-underline-offset: 2px; }

.hzpl-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; align-items: end; padding: 16px; border: 1px solid #e5e7eb; border-radius: 12px; background: #f9fafb; margin-bottom: 16px; }
.hzpl-filters__actions { display: flex; gap: 12px; align-items: center; }

.hzpl-field { display: grid; gap: 6px; font-size: 14px; }
.hzpl-field > span { font-weight: 600; color: #374151; }
.hzpl-field input, .hzpl-field select, .hzpl-field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; font: inherit; color: inherit; }
.hzpl-field textarea { min-height: 96px; resize: vertical; }
.hzpl-field input:focus-visible, .hzpl-field select:focus-visible, .hzpl-field textarea:focus-visible { outline: 2px solid #0b5cad; outline-offset: 1px; }
.hzpl-field--wide { grid-column: 1 / -1; }

.hzpl-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border: 0; border-radius: 8px; background: #0b5cad; color: #fff; font-weight: 600; cursor: pointer; }
.hzpl-button:hover { background: #094a8c; }
.hzpl-button--ghost { background: #fff; color: #0b5cad; border: 1px solid #0b5cad; }
.hzpl-button--ghost:hover { background: #eef5fc; }

.hzpl-count { font-size: 14px; color: #6b7280; margin: 0 0 12px; }
.hzpl-empty { padding: 16px; border: 1px dashed #d1d5db; border-radius: 12px; color: #4b5563; }

.hzpl-cards { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.hzpl-card { border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; background: #fff; }
.hzpl-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.hzpl-card__link:focus-visible { outline: 2px solid #0b5cad; outline-offset: -2px; }
.hzpl-card__photo { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #f3f4f6; }
.hzpl-card__body { display: grid; gap: 6px; padding: 12px 14px 16px; }
.hzpl-card__name { font-weight: 700; font-size: 17px; }
.hzpl-card__meta { font-size: 14px; color: #6b7280; }
.hzpl-card__cta { margin-top: 4px; font-weight: 600; color: #0b5cad; }

.hzpl-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.hzpl-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #eef2f7; color: #374151; font-size: 12px; font-weight: 600; }
.hzpl-badge--premium { background: #fff4d6; color: #7a5200; }

.hzpl-panel { margin: 0 0 24px; }
.hzpl-panel__title { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.hzpl-bio { white-space: pre-line; line-height: 1.7; margin: 0; }
.hzpl-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.hzpl-facts dt { font-weight: 600; color: #374151; }
.hzpl-facts dd { margin: 0; }

.hzpl-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.hzpl-gallery img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; background: #f3f4f6; }

.hzpl-video { position: relative; max-width: 720px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #111827; }
.hzpl-video iframe, .hzpl-video__facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hzpl-video__facade { padding: 0; cursor: pointer; background: #111827; }
.hzpl-video__facade img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.hzpl-video__play { position: absolute; top: 50%; left: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 12px; background: #e11d2e; }
.hzpl-video__play::after { content: ""; position: absolute; top: 14px; left: 27px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.hzpl-video__facade:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }

.hzpl-form { margin-top: 32px; padding: 20px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }
.hzpl-form__title { font-size: 20px; font-weight: 700; margin: 0 0 14px; }
.hzpl-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.hzpl-form__sent { padding: 12px 14px; border-radius: 8px; background: #e8f6ec; color: #14532d; font-weight: 600; margin: 0 0 14px; }
.hzpl-form__errors { padding: 12px 14px 12px 32px; border-radius: 8px; background: #fdecec; color: #8a1c1c; margin: 0 0 14px; }
.hzpl-form__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hzpl-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.6; }
.hzpl-consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.hzpl-consent:not(:has(input)) { display: block; margin: 0; color: #4b5563; }
.hzpl-consent a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.hzpl-signup-link { margin: 20px 0 0; }

.hzpl-leads { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.hzpl-lead { padding: 14px 16px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }
.hzpl-lead p { margin: 0 0 6px; }
.hzpl-lead__head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hzpl-lead__meta { font-size: 13px; color: #6b7280; }

[dir="rtl"] .hzpl-form__errors { padding: 12px 32px 12px 14px; }

@media (max-width: 640px) {
    .hzpl-hero__title { font-size: 23px; }
    .hzpl-form { padding: 16px; }
    .hzpl-facts { grid-template-columns: 1fr; }
}

/* Contact buttons on cards and profiles (partials/contacts.blade.php). */
.hzpl-card { display: flex; flex-direction: column; }
.hzpl-card__link { height: auto; flex: 1 1 auto; }
.hzpl-contacts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0 14px 14px; }
.hzpl-hero .hzpl-contacts { padding: 12px 0 0; }
.hzpl-contact { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid #0b5cad; border-radius: 8px; background: #fff; color: #0b5cad; font-size: 14px; font-weight: 600; text-decoration: none; }
.hzpl-contact:hover { background: #eef5fc; }
.hzpl-contact:focus-visible { outline: 2px solid #0b5cad; outline-offset: 2px; }
.hzpl-contact--form { background: #0b5cad; color: #fff; }
.hzpl-contact--form:hover { background: #094a8c; }
.hzpl-contact--whatsapp { border-color: #128c4a; color: #0d6b38; }

.hzpl-card__mark { display: grid; place-items: center; inline-size: 48px; block-size: 48px; margin: 14px 14px 0; border-radius: 12px; background: #eef3ff; color: var(--hagzi-primary, #0745D9); font-size: 20px; font-weight: 700; }
.hzpl-badge--verified { background: #e8f6ee; color: #145c32; }
.hzpl-badge--unverified { background: transparent; border: 1px dashed #9aa3b2; color: #5b6170; }
.hzpl-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hzpl-empty p { margin: 0; }
.hzpl-steps { margin: 8px 0 20px; }
.hzpl-steps__title { margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.hzpl-steps__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: hzpl-step; }
.hzpl-steps__list li { display: flex; gap: 10px; align-items: flex-start; }
.hzpl-steps__list li::before { counter-increment: hzpl-step; content: counter(hzpl-step); flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--hagzi-primary, #0745D9); color: #fff; font-size: 13px; font-weight: 700; }
.hzpl-form__trap label { position: absolute; width: 1px; height: 1px; overflow: hidden; }

.hzpl-bar { display: none; }
@media (max-width: 767.98px) {
    .hzpl-bar { display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid #e5e7eb; }
    .hzpl-bar .hzpl-button { width: 100%; }
    body:has(.hz-mobile-nav) .hzpl-bar { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); padding-bottom: 10px; }
    body:has(.hzpl-bar) { padding-bottom: 72px; }
    body:has(input:focus, textarea:focus, select:focus, #hzpl-request:target) .hzpl-bar,
    html[data-hzpl-request] .hzpl-bar { display: none; }
}
