/* Shop Rock Co v0.14: Business profile only. Main site and map styles remain separate. */
.srp-profile { padding-bottom: 30px; }
.srp-profile .back { display: inline-block; margin: 22px 0 18px; }
.srp-hero { display: grid; grid-template-columns: 1fr; background: #142f42; color: #fff; border-radius: 8px; overflow: hidden; min-height: 205px; }
.srp-hero--with-photo { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.srp-hero-copy { padding: 36px 40px; align-self: center; }
.srp-hero h1 { color: #fff; font-family: Georgia, serif; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.18; margin: 10px 0; }
.srp-hero p { color: #e5e9eb; margin: 0 0 16px; }
.srp-hero-photo { position: relative; min-height: 205px; }
.srp-hero-photo::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 65px; background: linear-gradient(90deg, #142f42, transparent); z-index: 1; }
.srp-hero-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.srp-rating-note { display: flex; align-items: center; gap: 9px; color: #e6e8e9; font-size: 12px; }
.srp-rating-note span { color: #e6bf80; font-size: 20px; letter-spacing: 1px; }
.srp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; margin: 32px 0; }
.srp-main { min-width: 0; }
.srp-main h2, .srp-info h2 { font-family: Georgia, serif; font-size: 25px; line-height: 1.25; margin: 0 0 14px; color: #142f42; }
.srp-about { margin-bottom: 28px; }
.srp-about p { line-height: 1.75; margin: 0; }
.srp-gallery-section, .srp-documents { margin-bottom: 28px; }
.srp-gallery { display: grid; grid-template-columns: 1.5fr 1fr; grid-auto-rows: 128px; gap: 10px; }
.srp-gallery-item { display: block; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; border-radius: 7px; background: #e9eef0; overflow: hidden; position: relative; cursor: zoom-in; }
.srp-gallery-item:first-child { grid-row: span 2; }
.srp-gallery-item:only-child { grid-column: 1 / -1; }
.srp-gallery-item img { width: 100%; height: 100%; display: block; object-fit: cover; }
.srp-gallery-hint { position: absolute; bottom: 10px; left: 10px; background: #142f42e6; color: #fff; font-size: 11px; padding: 6px 9px; border-radius: 4px; }
.srp-gallery-item:focus-visible { outline: 3px solid #b92c2e; outline-offset: 2px; }
.srp-documents ul { padding-left: 20px; }
.srp-documents a { color: #b92c2e; }
.srp-info { min-width: 0; background: #f7f4ef; border: 1px solid #ece7df; border-radius: 9px; padding: 24px; }
.srp-info h2 { font-size: 22px; }
.srp-info-group { margin-top: 19px; }
.srp-info-group h3 { font-size: 13px; font-weight: 800; color: #142f42; margin: 0 0 7px; }
.srp-info-group h3 span { color: #b92c2e; font-size: 16px; margin-right: 5px; }
.srp-info-group p { color: #63717b; font-size: 13px; line-height: 1.6; margin: 0; }
.srp-hours { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: 12px; line-height: 1.35; }
.srp-hours span:nth-child(even) { text-align: right; }
.srp-hours .srp-closed { color: #818b91; }
.srp-connect { margin-top: 20px; border-top: 1px solid #e0dad1; padding-top: 19px; }
.srp-connect h3 { color: #142f42; font-size: 17px; line-height: 1.3; margin: 0 0 13px; }
.srp-phone { font-size: 13px; margin: 0 0 13px; }
.srp-phone a { color: #b92c2e; }
.srp-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.srp-button { display: flex; justify-content: center; align-items: center; min-height: 42px; padding: 9px 8px; border: 1px solid #d8d3cc; border-radius: 5px; text-align: center; font-size: 12px; font-weight: 800; line-height: 1.3; }
.srp-button--primary { background: #b92c2e; border-color: #b92c2e; color: #fff; }
.srp-button--outline { background: #fff; color: #142f42; }
.srp-button:hover { filter: brightness(.94); }
.srp-connect h4 { font-size: 10px; letter-spacing: 1px; margin: 19px 0 9px; color: #63717b; }
.srp-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.srp-socials a { display: inline-flex; padding: 8px 10px; border-radius: 5px; border: 1px solid #d8d3cc; background: #fff; font-size: 12px; font-weight: 700; color: #142f42; }
.srp-reviews { padding: 22px; border: 1px solid #e7e3dc; border-radius: 8px; }
.srp-reviews h2 { font-size: 21px; }
.srp-reviews p { font-size: 13px; color: #63717b; margin: 0; }
.srp-planned { display: inline-block; vertical-align: middle; margin-left: 5px; padding: 5px 7px; background: #f7f4ef; color: #826742; border-radius: 4px; font: 800 10px Arial, sans-serif; letter-spacing: .5px; }
.srp-lightbox { max-width: min(950px, 94vw); max-height: 95vh; padding: 12px; border: none; border-radius: 8px; background: #fff; }
.srp-lightbox::backdrop { background: #071724d9; }
.srp-lightbox-toolbar, .srp-lightbox-controls { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 6px 0; }
.srp-lightbox button { cursor: pointer; border: 1px solid #d8d3cc; border-radius: 4px; background: #fff; color: #142f42; padding: 7px 11px; }
.srp-lightbox img { display: block; max-width: 100%; max-height: 72vh; margin: auto; object-fit: contain; }
@media (max-width: 800px) {
    .srp-layout { grid-template-columns: 1fr; gap: 22px; }
    .srp-info { width: 100%; }
}
@media (max-width: 700px) {
    .srp-hero--with-photo { grid-template-columns: 1fr; }
    .srp-hero-photo { grid-row: 1; height: 155px; min-height: 155px; }
    .srp-hero-photo::before { display: none; }
    .srp-hero-copy { padding: 25px 23px; }
    .srp-gallery { grid-auto-rows: 100px; }
    .srp-info { padding: 19px; }
    .srp-main h2 { font-size: 23px; }
}
@media (max-width: 360px) {
    .srp-actions { grid-template-columns: 1fr; }
    .srp-hours { font-size: 11px; }
}




/* v0.14.5 — FIX: fade the image itself, not its oversized container.
   Full photo aspect ratio is preserved: no cover cropping or zoom. */
@media (min-width: 701px) {
  .srp-hero.srp-hero--with-photo {
    display: block;
    position: relative;
    isolation: isolate;
    min-height: 240px;
    background: #142f42;
  }
  .srp-hero--with-photo .srp-hero-copy {
    position: relative;
    z-index: 2;
    width: 68%;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
  .srp-hero--with-photo .srp-hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    z-index: 1;
    overflow: hidden;
  }
  .srp-hero--with-photo .srp-hero-photo::before {
    display: none;
    content: none;
  }
  .srp-hero--with-photo .srp-hero-photo img {
    position: absolute;
    inset: 0 0 0 auto;
    display: block;
    width: auto;
    max-width: none;
    height: 100%;
    object-fit: contain;
    object-position: right center;
    /* The fade follows the photo's real left edge. */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.3) 13%, #000 38%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.3) 13%, #000 38%);
  }
}
