.cdomo-smart-gallery, .cdomo-smart-hotel { color: #171a17; }
.cdomo-smart-gallery *, .cdomo-smart-gallery *::before, .cdomo-smart-gallery *::after,
.cdomo-smart-hotel *, .cdomo-smart-hotel *::before, .cdomo-smart-hotel *::after { box-sizing: border-box; }
.cdomo-smart-gallery h2, .cdomo-smart-gallery h3, .cdomo-smart-gallery p,
.cdomo-smart-hotel h2, .cdomo-smart-hotel h3, .cdomo-smart-hotel p,
.cdomo-smart-gallery figure, .cdomo-smart-hotel figure { margin: 0; }
.cdomo-smart-gallery { padding: clamp(92px, 9vw, 145px) 0; background: #e7e0d6; }
.cdomo-smart-gallery__intro { display: grid; grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr); gap: 22px 48px; align-items: end; }
.cdomo-smart-gallery__intro .editorial-label { grid-column: 1 / -1; }
.cdomo-smart-gallery__intro h2, .cdomo-smart-hotel__intro h2 { max-width: 890px; font-size: clamp(43px, 5.5vw, 78px); font-weight: 400; letter-spacing: -.06em; line-height: 1.02; text-wrap: balance; }
.cdomo-smart-gallery__intro > p:last-child, .cdomo-smart-hotel__intro > p:last-child { max-width: 500px; color: rgba(23, 26, 23, .68); font-size: 16px; line-height: 1.7; }
.cdomo-smart-gallery__index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; margin-top: clamp(60px, 7vw, 100px); border-top: 1px solid rgba(23, 26, 23, .2); }
.cdomo-smart-gallery__index a { display: flex; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgba(23, 26, 23, .2); color: inherit; font-size: 16px; font-weight: 500; text-decoration: none; transition: color .22s ease, padding-left .22s ease; }
.cdomo-smart-gallery__index a:hover { padding-left: 6px; color: #a45137; }
.cdomo-smart-gallery__index a:focus-visible, .cdomo-smart-rail button:focus-visible, .cdomo-smart-rail__slides:focus-visible { outline: 2px solid #a45137; outline-offset: 3px; }
.cdomo-smart-gallery__index a span, .cdomo-smart-family__copy > span, .cdomo-smart-rail__counter { color: #a45137; font-family: var(--c-font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; }
.cdomo-smart-gallery__families { margin-top: clamp(68px, 8vw, 110px); }
.cdomo-smart-family { display: grid; grid-template-columns: minmax(240px, 3fr) minmax(0, 9fr); gap: clamp(32px, 5vw, 90px); padding: clamp(42px, 5vw, 74px) 0; border-top: 1px solid rgba(23, 26, 23, .2); scroll-margin-top: 140px; }
.cdomo-smart-family__copy h3 { max-width: 360px; margin-top: 25px; font-size: clamp(35px, 3.3vw, 51px); font-weight: 400; letter-spacing: -.055em; line-height: 1.08; }
.cdomo-smart-family__copy p { max-width: 360px; margin-top: 20px; color: rgba(23, 26, 23, .67); font-size: 15px; line-height: 1.7; }
.cdomo-smart-rail { min-width: 0; }
.cdomo-smart-rail__slides { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cdomo-smart-rail__slides::-webkit-scrollbar { display: none; }
.cdomo-smart-rail__slides::after { content: ''; flex: 0 0 32%; }
.cdomo-smart-rail__slide { min-width: 0; flex: 0 0 68%; scroll-snap-align: start; }
.cdomo-smart-rail__image { display: flex; height: clamp(320px, 30vw, 440px); align-items: center; justify-content: center; overflow: hidden; background: #d4ccc1; }
.cdomo-smart-rail__slide:nth-child(even) .cdomo-smart-rail__image { background: #d9d2c8; }
.cdomo-smart-rail__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cdomo-smart-rail__slide figcaption { padding-top: 13px; color: rgba(23, 26, 23, .65); font-size: 13px; line-height: 1.5; }
.cdomo-smart-rail__controls { display: flex; align-items: center; justify-content: space-between; padding-top: 13px; }
.cdomo-smart-rail__controls > div { display: flex; gap: 8px; }
.cdomo-smart-rail__controls button { width: 42px; height: 42px; padding: 0; border: 1px solid rgba(23, 26, 23, .25); border-radius: 50%; background: transparent; color: #171a17; font-size: 21px; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.cdomo-smart-rail__controls button:hover:not(:disabled) { background: #171a17; color: #fff; transform: translateY(-2px); }
.cdomo-smart-rail__controls button:active:not(:disabled) { transform: translateY(0); }
.cdomo-smart-rail__controls button:disabled { opacity: .32; cursor: default; }
.cdomo-smart-gallery__source { max-width: 860px; padding-top: 22px; border-top: 1px solid rgba(23, 26, 23, .2); color: rgba(23, 26, 23, .59); font-size: 13px; line-height: 1.6; }
.cdomo-smart-hotel { padding: clamp(92px, 9vw, 145px) 0; background: #f8f6f0; }
.cdomo-smart-hotel__intro { display: grid; grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr); gap: 48px; align-items: end; margin-bottom: 58px; }
.cdomo-smart-hotel__intro h2 { margin-top: 24px; }
.cdomo-smart-rail--hotel .cdomo-smart-rail__slide { flex-basis: 78%; }
.cdomo-smart-rail--hotel .cdomo-smart-rail__slides::after { flex-basis: 25%; }
.cdomo-smart-rail--hotel .cdomo-smart-rail__image { height: clamp(430px, 43vw, 650px); background: #ddd5ca; }
.cdomo-smart-hotel__system { display: grid; grid-template-columns: minmax(240px, 1.2fr) repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: clamp(85px, 9vw, 140px); padding-top: 28px; border-top: 1px solid rgba(23, 26, 23, .2); }
.cdomo-smart-hotel__system > div { padding-right: 30px; }
.cdomo-smart-hotel__system h3 { margin-top: 25px; font-size: clamp(29px, 3vw, 43px); font-weight: 400; letter-spacing: -.045em; line-height: 1.1; }
.cdomo-smart-hotel__system p:not(.editorial-label) { margin-top: 20px; color: rgba(23, 26, 23, .66); font-size: 15px; line-height: 1.7; }
.cdomo-smart-hotel__system figure { min-width: 0; }
.cdomo-smart-hotel__system img { display: block; width: 100%; height: 330px; object-fit: contain; background: #e4ded6; }
.cdomo-smart-hotel__system figcaption { margin-top: 12px; color: rgba(23, 26, 23, .58); font-size: 12px; line-height: 1.5; }
@media (max-width: 900px) {
  .cdomo-smart-gallery__intro, .cdomo-smart-hotel__intro { grid-template-columns: 1fr; gap: 20px; }
  .cdomo-smart-family { grid-template-columns: minmax(200px, 3fr) minmax(0, 7fr); gap: 28px; }
  .cdomo-smart-hotel__system { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cdomo-smart-hotel__system > div { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .cdomo-smart-gallery__index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin-top: 48px; }
  .cdomo-smart-gallery__index a { gap: 10px; font-size: 13px; }
  .cdomo-smart-family { grid-template-columns: 1fr; gap: 26px; padding: 42px 0 54px; }
  .cdomo-smart-family__copy h3 { margin-top: 14px; }
  .cdomo-smart-family__copy p { margin-top: 14px; }
  .cdomo-smart-rail__slide { flex-basis: 88%; }
  .cdomo-smart-rail__slides::after { flex-basis: 16%; }
  .cdomo-smart-rail__image { height: 310px; }
  .cdomo-smart-hotel__intro { margin-bottom: 36px; }
  .cdomo-smart-rail--hotel .cdomo-smart-rail__slide { flex-basis: 92%; }
  .cdomo-smart-rail--hotel .cdomo-smart-rail__slides::after { flex-basis: 12%; }
  .cdomo-smart-rail--hotel .cdomo-smart-rail__image { height: 300px; }
  .cdomo-smart-hotel__system { gap: 30px; margin-top: 74px; }
  .cdomo-smart-hotel__system figure { grid-column: 1 / -1; }
  .cdomo-smart-hotel__system img { height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .cdomo-smart-gallery *, .cdomo-smart-hotel * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
