/**
 * Provider public page — alignment with site-fresh-2026 (light, responsive).
 * Body must have class .provider-site-fresh
 */
.provider-site-fresh {
  --p-accent: #2563eb;
  --p-accent-hover: #1d4ed8;
  --p-border: #e5e7eb;
  --p-text: #374151;
  --p-heading: #111827;
  background: #fafafa !important;
  color: var(--p-text);
  font-family: system-ui, -apple-system, "Segoe UI", "Rubik", "Heebo", sans-serif;
}

.provider-site-fresh .navbar.navbar-default.navbar-fixed-top {
  display: none !important;
}

.provider-site-fresh .light-overlay.ptitle {
  display: none !important;
}

.provider-site-fresh #preloader {
  background: #fafafa !important;
}

.provider-fresh-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  border-bottom: 1px solid var(--p-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.provider-fresh-header__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  direction: rtl;
}

.provider-fresh-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--p-heading);
  font-weight: 600;
}

.provider-fresh-header__brand img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.provider-fresh-header__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.provider-fresh-header__nav a {
  color: var(--p-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.provider-fresh-header__nav a:hover {
  color: var(--p-accent);
}

.provider-fresh-header__cta {
  background: var(--p-accent);
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.provider-fresh-header__cta:hover {
  background: var(--p-accent-hover);
  color: #fff !important;
}

.provider-fresh-hero {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 2.5rem 1rem 2rem;
  text-align: center;
  direction: rtl;
  border-bottom: 1px solid var(--p-border);
}

.provider-fresh-hero__inner {
  max-width: 720px;
  margin: 0 auto;
}

.provider-fresh-hero__logo {
  width: min(120px, 28vw);
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.12);
  margin-bottom: 1rem;
}

.provider-fresh-hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  font-weight: 700;
  color: var(--p-heading);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.provider-fresh-hero__tag {
  font-size: 1.05rem;
  color: #6b7280;
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.provider-fresh-hero .search-index-wrap {
  position: relative;
  max-width: min(600px, 100%);
  margin: 0 auto 0.75rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
  overflow: visible;
}

.provider-fresh-hero .search-index-wrap:focus-within {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.provider-fresh-hero .search-index-inner {
  position: relative;
  z-index: 400;
  overflow: visible !important;
}

.provider-fresh-hero .search-index-row {
  display: flex;
  align-items: stretch;
  flex-direction: row;
  direction: rtl;
  gap: 0;
  border-radius: 16px 16px 0 0;
  overflow: visible;
  position: relative;
}

.provider-fresh-hero .search-index-row::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-start: 0.85rem;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E")
    center/contain no-repeat;
  pointer-events: none;
  z-index: 1;
}

.provider-fresh-hero .search-index-input {
  flex: 1;
  min-width: 0;
  padding: 1.1rem 0.5rem 1.1rem 2.6rem;
  font-size: clamp(1rem, 3.5vw, 1.15rem);
  border: 0;
  background: transparent;
  color: #111;
  text-align: center;
  direction: rtl;
  position: relative;
  z-index: 2;
}

.provider-fresh-hero .search-index-input:focus {
  outline: 0;
}

.provider-fresh-hero .search-index-submit {
  flex-shrink: 0;
  min-width: 4.5rem;
  min-height: 48px;
  padding: 0.5rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: var(--p-accent);
  border: none;
  cursor: pointer;
  align-self: stretch;
}

.provider-fresh-hero .search-index-submit:hover {
  background: var(--p-accent-hover);
}

.provider-fresh-hero .search-index-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 2px;
  background: #fff;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  max-height: min(400px, 50vh);
  overflow-y: auto;
  z-index: 450;
  display: none;
  border: 1px solid var(--p-border);
  border-top: 0;
  text-align: right;
}

.provider-fresh-hero .search-index-list[aria-hidden="false"] {
  display: block;
}

.provider-fresh-hero .search-index-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.15rem;
  color: var(--p-text);
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
  direction: rtl;
}

.provider-fresh-hero .search-index-list a:hover {
  background: #f9fafb;
}

.provider-fresh-hero .search-index-list a .search-index-item__thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  overflow: hidden;
  background: #e5e7eb;
}

.provider-fresh-hero .search-index-list a .search-index-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.provider-fresh-hero .search-index-list a .search-index-item__body {
  flex: 1;
  min-width: 0;
}

.provider-fresh-hero .search-index-list a .search-index-item__name {
  font-weight: 500;
  display: block;
}

.provider-fresh-hero .search-index-list a .search-index-item__meta {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 2px;
  display: block;
}

.provider-fresh-hero .search-index-hint {
  font-size: 0.95rem;
  color: #9ca3af;
  margin: 0.35rem 0 0;
}

.provider-fresh-hero__breadcrumb {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.provider-fresh-hero__breadcrumb a {
  color: var(--p-accent);
  text-decoration: none;
}

.provider-fresh-hero__anchors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-top: 1.25rem;
}

.provider-fresh-hero__anchors a {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  background: #fff;
  border: 1px solid var(--p-border);
  border-radius: 999px;
  color: var(--p-text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.provider-fresh-hero__anchors a:hover {
  border-color: var(--p-accent);
  color: var(--p-accent);
}

@media (max-width: 576px) {
  .provider-fresh-hero .search-index-row {
    flex-direction: column;
    align-items: stretch;
  }
  .provider-fresh-hero .search-index-row::before {
    top: calc(1.1rem + 11px);
    transform: none;
  }
  .provider-fresh-hero .search-index-input {
    text-align: right;
  }
  .provider-fresh-hero .search-index-submit {
    width: 100%;
    border-radius: 0 0 16px 16px;
    min-height: 52px;
  }
}

/* Soften legacy sections */
.provider-site-fresh section#portfolio.grid {
  background: #fff !important;
  padding: 2rem 1rem 3rem !important;
}

.provider-site-fresh #about-parallax .about-content {
  background: rgba(255, 255, 255, 0.96) !important;
  border-radius: 16px !important;
  margin: 1rem !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06) !important;
}

.provider-site-fresh #reviews {
  background: #f8fafc !important;
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.provider-site-fresh #reviews .review-card {
  border-radius: 12px !important;
  border: 1px solid var(--p-border) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05) !important;
}

.provider-site-fresh #footer {
  background: #fff !important;
  border-top: 1px solid var(--p-border);
}

.provider-site-fresh div#nearby-providers input#nearby-providers-my-address {
  width: 100% !important;
  max-width: 100%;
  float: none !important;
  margin: 0 0 10px !important;
}

@media (max-width: 576px) {
  .provider-site-fresh div#nearby-providers button#getCords {
    width: 100% !important;
    display: block;
  }
}
