/*!
 * Log Price Guide — supplier profile (hero, facts, about, delivery, prices, reviews)
 * Depends on lpg-shared-chrome.css. No Log Price Guide score UI.
 */

.profile-hero {
  position: relative;
  min-height: 320px;
  background-color: #2a3844;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  padding: 48px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.profile-hero .listing-photo {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}
.profile-hero .listing-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16, 42, 67, 0.45) 0%, rgba(16, 42, 67, 0.5) 50%, rgba(16, 42, 67, 0.55) 100%);
}
.profile-hero.listing-shot .listing-photo img {
  filter: blur(2px);
  transform: scale(1.03);
}
.profile-hero.listing-shot::before {
  background: linear-gradient(180deg, rgba(15, 30, 45, 0.72) 0%, rgba(15, 30, 45, 0.78) 50%, rgba(15, 30, 45, 0.82) 100%);
}
.profile-hero .inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.profile-hero h1 {
  margin: 0 0 8px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.profile-hero .sub {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.profile-hero .ext {
  font-size: 14px;
  font-weight: 600;
  color: #F4A261;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 162, 97, 0.45);
}
.profile-hero .ext:hover {
  color: #F4A261;
  border-bottom-color: #F4A261;
}

.rating-box.on-hero {
  position: static;
  display: inline-flex;
  margin: 14px auto 16px;
  box-shadow: 0 4px 16px rgba(16, 42, 67, 0.25);
}

.profile-wrap {
  padding: 28px 28px 40px;
  max-width: 1120px;
  margin: 0 auto;
}

.facts {
  display: grid;
  grid-template-columns: repeat(var(--fact-count, 5), 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin: -56px 0 32px;
  position: relative;
  z-index: 3;
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.08);
}
.facts .fact {
  background: var(--paper);
  padding: 16px 14px;
  text-align: left;
}
.facts .label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.facts .value {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.facts .value.muted {
  font-weight: 500;
  color: var(--muted);
}
.facts .value.price {
  color: var(--slate);
  font-weight: 700;
}

.block { margin: 0 0 36px; }
.block h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.block p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.55;
  color: #334E68;
}
.block ul {
  margin: 0;
  padding-left: 18px;
  color: #334E68;
  font-size: 15px;
  line-height: 1.55;
}
.block li { margin: 0 0 6px; }

.contact-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.contact-list li {
  margin: 0 0 8px;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-actions a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: #fff;
  color: var(--teal);
  border: 1px solid #B7E0DF;
}
.contact-actions a:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.prices-intro {
  margin: 0 0 14px;
  font-size: 15px;
  color: #334E68;
  line-height: 1.5;
}
.price-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  overflow: hidden;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  margin: 0;
}
.price-list li:last-child { border-bottom: 0; }
.price-list .prod {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
}
.price-list .amt {
  color: var(--slate);
  font-weight: 700;
  white-space: nowrap;
  font-size: 15px;
}
.prices-out {
  margin: 0;
  padding-top: 4px;
}
.prices-out a {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(231, 111, 53, 0.35);
  line-height: 1.5;
}
.prices-out a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.reviews-head .lede {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.btn-google {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-right: 10px;
  margin-bottom: 8px;
}
.btn-google:hover {
  filter: brightness(1.05);
  color: #fff;
}

.supplier-band {
  background: #F2FBFA;
  border: 1px solid #B7E0DF;
  border-radius: 10px;
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.supplier-band p {
  margin: 0;
  font-size: 15px;
  color: #075F5E;
  font-weight: 500;
  max-width: 420px;
}
.supplier-band .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.supplier-band a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.supplier-band a.primary {
  background: var(--orange);
  color: #fff;
}
.supplier-band a.primary:hover {
  filter: brightness(1.05);
  color: #fff;
}
.supplier-band a.ghost {
  background: #fff;
  color: var(--teal);
  border: 1px solid #B7E0DF;
}
.supplier-band a.ghost:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.back {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}
.back:hover { color: #0a6362; }

.rk-banner {
  margin: 28px 28px 0;
  max-width: 1064px;
  margin-left: auto;
  margin-right: auto;
  padding: 14px 20px;
  background: #F2FBFA;
  border: 1px solid #B7E0DF;
  border-radius: 8px;
  text-align: center;
}
.rk-banner p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #334E68;
  line-height: 1.45;
}
.rk-banner .rk-stars {
  display: inline;
  color: var(--gold);
  letter-spacing: 0.04em;
  font-size: 15px;
  line-height: 1;
  vertical-align: -1px;
  margin: 0 2px;
}
.rk-banner a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(14, 124, 123, 0.4);
}
.rk-banner a:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
.rk-banner + .footer { margin-top: 28px; }

@media (max-width: 900px) {
  .facts {
    grid-template-columns: 1fr 1fr;
    margin-top: -44px;
  }
  .profile-hero h1 { font-size: 28px; }
  .rating-box.on-hero {
    position: static;
    margin-top: 16px;
  }
  .rk-banner {
    margin-left: 16px;
    margin-right: 16px;
  }
}

@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .profile-wrap { padding: 0 16px 32px; }
  .profile-hero { padding: 36px 16px 40px; }
  .price-list li { flex-direction: column; white-space: normal; }
  .price-list .amt { white-space: normal; }
}
