/* Rosa Maria shares Firelight's typography, spacing and photographic framing. */
html { scroll-padding-top: 24px; }
.rm-section { padding-top: 45px; padding-bottom: 55px; border-top: 1px solid #292929; }
.rm-selection { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.fl-selection { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.fl-section .fl-selection .fl-piece { display: block; max-width: none; margin: 0; }
.fl-selection .fl-details { padding-top: 25px; }
.fl-selection .fl-details h3 { font-size: clamp(27px, 3vw, 33px); line-height: 1.15; min-height: 1.15em; margin-bottom: 16px; }
.fl-selection .fl-price { font-size: 20px; }
.fl-selection .fl-link { margin-top: 12px; }
.fl-section:has(.fl-selection) .fl-collection-link { margin-top: 36px; }
.fl-photo-button img[hidden] { display: none; }
.rm-card { min-width: 0; }
.rm-photo { display: block; width: 100%; padding: 0; border: 0; border-radius: 8px; background: #171717; overflow: hidden; aspect-ratio: 3 / 2; cursor: zoom-in; }
.rm-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.rm-photo img[hidden] { display: none; }
.rm-details { padding-top: 25px; }
.rm-details h2, .rm-details h3 { font-family: 'Cormorant', Georgia, serif; font-size: clamp(27px, 3vw, 33px); font-weight: 300; line-height: 1.15; margin: 0 0 16px; }
.rm-selection .rm-details h3 { min-height: 2.3em; }
.rm-description { color: #aaa; font-size: 12px; line-height: 1.9; margin: 0 0 17px; }
.rm-price { font-size: 20px; margin: 0 0 10px; }
.rm-details .fl-link { margin-top: 12px; }
.rm-section .fl-collection-link { margin-top: 36px; }
.collection-body { margin: 0; background: #0d0d0d; color: #eee; font-family: 'Inter', sans-serif; font-weight: 300; }
.collection-header { padding: 55px 24px 30px; }
.collection-header .fl-intro { margin-bottom: 0; }
.collection-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 25px; margin: 24px auto 0; font-size: 12px; line-height: 1.8; }
.collection-nav a { color: #bbb; text-decoration: none; padding: 8px 0; }
.collection-nav a[aria-current='page'] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.rm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 65px 40px; max-width: 1000px; margin: 0 auto; padding: 20px 24px 65px; }
.rm-grid .rm-card { padding-bottom: 35px; border-bottom: 1px solid #292929; }
.rm-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rm-photos .rm-photo:first-child { grid-column: 1 / -1; }
.rm-photos .rm-photo:not(:first-child) { aspect-ratio: 3 / 2; }
.rm-card:target { scroll-margin-top: 24px; }
.rm-viewer { width: min(1100px, 94vw); max-width: 94vw; max-height: 94dvh; box-sizing: border-box; padding: 14px; border: 1px solid #444; background: #0d0d0d; color: #eee; }
.rm-viewer::backdrop { background: rgba(0,0,0,.94); }
.rm-viewer-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 12px; }
.rm-viewer-caption { margin: 0; font-size: 12px; line-height: 1.7; }
.rm-viewer img { display: block; width: 100%; height: min(65dvh, 760px); object-fit: contain; }
.rm-viewer button { min-height: 44px; padding: 10px 16px; border: 1px solid #666; background: transparent; color: #eee; font: inherit; font-size: 12px; cursor: pointer; }
.rm-viewer button:disabled { opacity: .4; cursor: default; }
.rm-viewer-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }
.rm-viewer-controls[hidden] { display: none; }
.rm-photo-unavailable { display: flex; align-items: center; justify-content: center; height: 100%; color: #aaa; font: 12px/1.8 'Inter', sans-serif; padding: 20px; box-sizing: border-box; }
@media (max-width: 760px) {
  .rm-selection { grid-template-columns: minmax(0, 1fr); gap: 45px; max-width: 430px; margin: auto; }
  .fl-selection { grid-template-columns: minmax(0, 1fr); gap: 45px; max-width: 430px; margin: auto; }
  .fl-selection .fl-details { text-align: center; }
  .rm-selection .rm-details { text-align: center; }
  .rm-selection .rm-details h3 { min-height: 0; }
}
@media (max-width: 640px) {
  .rm-grid { grid-template-columns: minmax(0, 1fr); gap: 45px; padding-left: 20px; padding-right: 20px; }
  .collection-header { padding-top: 40px; }
  .rm-section { padding-bottom: 45px; }
  .rm-viewer { padding: 10px; }
  .rm-viewer-top { gap: 10px; }
}
