/*!
 * Log Price Guide — supplier profile (hero, facts, about, delivery, prices, reviews)
 * Depends on lpg-shared-chrome.css. Forest Row / ILG colour, space, and radius tokens.
 * Listing type is larger than shared chrome (--text-body 16px) so supplier pages stay readable.
 * No Log Price Guide score UI.
 */

.profile-hero,
.profile-wrap {
  --listing-body: 17px;
  --listing-label: 13px;
  --listing-value: 17px;
  --listing-meta: 16px;
  font-size: var(--listing-body);
}

.profile-hero {
  position: relative;
  min-height: 0;
  background-color: var(--paper);
  background-image: none;
  color: var(--ink);
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.profile-hero .listing-photo {
  position: static;
  margin: 0 auto 24px;
  z-index: 0;
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius, 12px);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background: var(--soft);
}
.profile-hero .listing-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.profile-hero::before {
  content: none;
}
.profile-hero.listing-shot .listing-photo img {
  filter: none;
  transform: none;
}
.profile-hero.listing-shot::before {
  background: none;
}
.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: var(--ink);
  text-shadow: none;
}
.profile-hero .sub {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
}
.profile-hero .ext {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.profile-hero .ext:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.rating-box.on-hero {
  position: static;
  display: inline-flex;
  margin: 14px auto 16px;
  box-shadow: none;
}
.rating-box.on-hero .star {
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 16px;
}
.rating-box.on-hero .rating-source,
.rating-box.on-hero .rating-count {
  font-size: 14px;
}
.profile-hero .rating-empty {
  margin: 12px 0 16px;
  color: var(--muted);
  font-weight: 600;
  font-size: var(--listing-meta);
}
.profile-hero .hero-price {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 14px;
  padding: 12px 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-input, 8px);
  text-align: left;
}
.profile-hero .hero-price .label {
  display: block;
  font-size: var(--listing-label);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.profile-hero .hero-price .value {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.profile-hero + .listing-tier-strip {
  width: 100%;
  font-size: 16px;
  padding: 12px 16px;
}

.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: 0 0 32px;
  position: relative;
  z-index: 3;
  box-shadow: var(--shadow, 0 1px 2px rgba(17, 24, 39, 0.06));
}
.facts .fact {
  background: var(--paper);
  padding: 16px 14px;
  text-align: left;
}
.facts .label {
  display: block;
  font-size: var(--listing-label);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.facts .value {
  font-size: var(--listing-value);
  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;
}

.trust-panel {
  margin: 0 0 32px;
  padding: 20px 22px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow, 0 1px 2px rgba(17, 24, 39, 0.06));
}
.trust-panel h2 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.trust-panel dl {
  margin: 0 0 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}
.trust-row {
  margin: 0;
}
.trust-panel dt {
  display: block;
  font-size: var(--listing-label);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.trust-panel dd {
  margin: 0;
  font-size: var(--listing-value);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.trust-close {
  margin: 0;
  font-size: var(--listing-body);
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
}

.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: var(--listing-body);
  line-height: 1.55;
  color: var(--muted);
}
.block ul,
.block ol {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: var(--listing-body);
  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: var(--radius-pill, 999px);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.contact-actions a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.prices-intro {
  margin: 0 0 14px;
  font-size: var(--listing-body);
  color: var(--muted);
  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: var(--listing-body);
  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: normal;
  font-size: var(--listing-value);
  text-align: right;
}
.price-equiv {
  margin: 0 0 16px;
  font-size: var(--listing-meta);
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
}
.prices-out {
  margin: 0;
  padding-top: 4px;
}
.prices-out a {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}
.prices-out a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.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: var(--listing-meta);
}
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--on-accent, #fff);
  padding: 10px 18px;
  min-height: var(--touch);
  border-radius: var(--radius-pill, 999px);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-right: 10px;
  margin-bottom: 8px;
}
.btn-google:hover {
  background: var(--accent-hover, #9A3412);
  color: var(--on-accent, #fff);
}

.supplier-band {
  background: var(--soft, #f8fafc);
  border: 1px solid var(--line, #e5e7eb);
  border-radius: var(--radius, 12px);
  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: var(--listing-body);
  color: var(--ink);
  font-weight: 500;
  max-width: 420px;
}
.supplier-band .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.supplier-band a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  padding: 9px 18px;
  border-radius: var(--radius-pill, 999px);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.supplier-band a.primary {
  background: var(--accent);
  color: var(--on-accent, #fff);
}
.supplier-band a.primary:hover {
  background: var(--accent-hover, #9A3412);
  color: var(--on-accent, #fff);
}
.supplier-band a.ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.supplier-band a.ghost:hover {
  color: var(--ink);
  border-color: var(--ink);
}

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

.rk-banner {
  margin: 28px 28px 0;
  max-width: 1064px;
  margin-left: auto;
  margin-right: auto;
  padding: 14px 20px;
  background: var(--soft, #f8fafc);
  border: 1px solid var(--line, #e5e7eb);
  border-radius: var(--radius, 12px);
  text-align: center;
}
.rk-banner p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  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(53, 86, 60, 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;
  }
  .profile-hero h1 { font-size: 28px; }
  .rating-box.on-hero {
    position: static;
    margin-top: 16px;
  }
  .rk-banner {
    margin-left: 16px;
    margin-right: 16px;
  }
}

.nearby-list a {
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}
.nearby-list a:hover { text-decoration: underline; }
.block.choose ol {
  margin: 0 0 14px;
  padding-left: 20px;
}
.block.choose li { margin: 0 0 8px; }

@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; text-align: left; }
  .trust-panel dl { grid-template-columns: 1fr; }
}
