/* Showroom page. Built on the home page look (cg.css); everything scoped with "sh-". */

.sh-hero, .sh-info, .sh-gallery, .sh-cta { font-family: var(--cg-font); color: var(--cg-ink); }

/* ---------- hero ---------- */
.sh-hero { background: var(--cg-dark); color: #fff; overflow: hidden; }
.sh-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 70px); align-items: center; padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(48px, 6vw, 84px); }
.sh-hero__eyebrow { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ff8a9b; }
.sh-hero__title { margin: 0 0 18px; font-family: var(--cg-font-bold); font-size: clamp(36px, 5vw, 62px); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; color: #fff; text-transform: none; }
.sh-hero__text p { max-width: 520px; margin: 0 0 28px; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.65; color: #ebe6e1; }
.sh-hero__prints { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.sh-hero__prints img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.sh-hero__prints img:nth-child(1) { margin-top: 34px; }
.sh-hero__prints img:nth-child(3) { margin-top: 68px; }

/* ---------- visit details ---------- */
.sh-info { background: var(--cg-paper); padding: clamp(28px, 4vw, 44px) 0; }
.sh-info__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sh-info__item { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border-radius: var(--cg-radius); }
.sh-info__ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #f9e7ea; color: var(--cg-red); }
.sh-info__item h2 { margin: 0 0 6px; font-family: var(--cg-font-bold); font-size: 18px; font-weight: 700; color: var(--cg-ink); text-transform: none; }
.sh-info__item p { margin: 0 0 8px; font-size: 15px; line-height: 1.6; color: #3d3d3d; }
.sh-info__item a { font-weight: 700; font-size: 15px; color: var(--cg-red); text-decoration: none; }
.sh-info__item a:hover { text-decoration: underline; }

/* ---------- gallery ---------- */
.sh-gallery { background: #fff; padding: clamp(48px, 7vw, 80px) 0; scroll-margin-top: 90px; }
.sh-lead { margin: 10px 0 0; max-width: 520px; font-size: 16px; line-height: 1.6; color: #5a5a5a; }
.sh-count { margin: 0; font-size: 15px; color: var(--cg-muted); }
.sh-count strong { color: var(--cg-ink); }
.sh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px; }
.sh-photo { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 12px; background: #e9e6e2; cursor: zoom-in; }
.sh-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sh-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0) 45%); opacity: 0; transition: opacity .3s ease; }
.sh-photo:hover img, .sh-photo:focus-visible img { transform: scale(1.05); }
.sh-photo:hover::after, .sh-photo:focus-visible::after { opacity: 1; }
.sh-photo:focus-visible { outline: 3px solid var(--cg-red); outline-offset: 3px; }

/* ---------- closing band ---------- */
.sh-cta { background: var(--cg-dark); color: #fff; padding: clamp(40px, 5vw, 64px) 0; }
.sh-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.sh-cta h2 { margin: 0 0 8px; font-family: var(--cg-font-bold); font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: #fff; text-transform: none; }
.sh-cta p { margin: 0; max-width: 480px; font-size: 16px; line-height: 1.6; color: #ebe6e1; }

/* ---------- photo viewer ---------- */
.sh-lb { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 56px 72px; background: rgba(10, 10, 10, .94); }
.sh-lb[hidden] { display: none; }
.sh-lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.sh-lb__fig img { display: block; max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.sh-lb__fig figcaption { margin-top: 14px; font-family: var(--cg-font); font-size: 14px; color: #cfcac5; }
.sh-lb__x, .sh-lb__nav { position: absolute; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-family: var(--cg-font); line-height: 1; cursor: pointer; transition: background .2s ease; }
.sh-lb__x:hover, .sh-lb__nav:hover { background: var(--cg-red); }
.sh-lb__x { top: 16px; right: 18px; width: 46px; height: 46px; font-size: 30px; }
.sh-lb__nav { top: 50%; width: 52px; height: 52px; margin-top: -26px; font-size: 38px; padding-bottom: 4px; }
.sh-lb__prev { left: 14px; }
.sh-lb__next { right: 14px; }
body.sh-lb-open { overflow: hidden; }

@media (max-width: 1100px) { .sh-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .sh-hero__grid { grid-template-columns: 1fr; }
  .sh-hero__prints { max-width: 520px; }
  .sh-info__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sh-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sh-lb { padding: 56px 12px 24px; }
  .sh-lb__nav { top: auto; bottom: 14px; margin-top: 0; width: 46px; height: 46px; }
  .sh-lb__fig img { max-height: calc(100vh - 170px); }
  .sh-hero .cg-btns .cg-btn, .sh-cta .cg-btns .cg-btn { flex: 1 1 auto; }
}

/* same side margins as the home page (set from the navbar by cg.js); beats the footer stylesheet's .cg-wrap */
@media (min-width: 1200px) {
  :is(.sh-hero, .sh-info, .sh-gallery, .sh-cta) .cg-wrap { max-width: none; margin: 0; padding-left: var(--cg-pad, 50px); padding-right: var(--cg-pad, 50px); }
}

/* the footer stylesheet resets .cg-wrap padding, so keep each section's own top and bottom space */
.sh-hero .cg-wrap.sh-hero__grid { padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(48px, 6vw, 84px); }
.sh-info__item a { color: var(--cg-red) !important; }

/* ===== light version: warm hero, white / dark / red sections ===== */
.sh-hero { background: var(--cg-paper); color: var(--cg-ink); }
.sh-hero__eyebrow { color: var(--cg-red); }
.sh-hero__title { color: var(--cg-ink); }
.sh-hero__text p { color: #4a4a4a; }
.sh-hero__prints img { box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .45); }
.sh-info { background: #fff; }
.sh-info__item { background: var(--cg-paper); }
.sh-info__ico { background: #fff; }
.sh-gallery { background: var(--cg-dark); }
.sh-gallery .cg-eyebrow { color: #ff8a9b; }
.sh-gallery .cg-h2 { color: #fff; }
.sh-gallery .sh-lead { color: #cfcac5; }
.sh-gallery .sh-count { color: #a39e98; }
.sh-gallery .sh-count strong { color: #fff; }
.sh-photo { background: #222; }
.sh-cta { background: var(--cg-red); }
.sh-cta p { color: #fbe3e6; }
.sh-cta .cg-btn--ghost { border-color: #fff; }
.sh-hero .cg-btn.cg-btn--red { color: #fff !important; }
.sh-cta .cg-btn.cg-btn--white { color: var(--cg-ink) !important; }
.sh-hero, .sh-hero * { border-radius: 0 !important; } .sh-hero .cg-btn { border-radius: 999px !important; }
.sh-hero__prints img { border-radius: var(--cg-radius) !important; }
/* same height and big tilted picture as the Bathrooms 2GO hero */
.sh-hero { display: flex; align-items: center; min-height: clamp(520px, 62vh, 650px); }
.sh-hero .cg-wrap.sh-hero__grid { width: 100%; }
.sh-hero__big { margin: 0; justify-self: center; width: min(100%, 560px); transform: rotate(-2deg); transition: transform .3s ease; }
.sh-hero__big:hover { transform: rotate(0); }
.sh-hero__big img { display: block; width: 100%; height: auto; border-radius: var(--cg-radius); box-shadow: 0 30px 60px -24px rgba(0,0,0,.45); }
@media (max-width: 900px) { .sh-hero { min-height: 0; } .sh-hero__big { width: min(100%, 420px); justify-self: start; } }
.sh-gallery .cg-eyebrow { font-size: 16px; letter-spacing: .14em; color: var(--cg-red); }
