/* v625 BETA: Hotel gallery only. Shared product cards and other packs untouched. */
#dfa-chat .dfa-structured-ui[data-dfa-ui-domain="hotel"] [data-dfa-component-id^="hotel_gallery_room_"]{
  min-width:0;max-width:100%;padding:12px;
  border:1px solid rgba(var(--dfa-main-rgb,13,6,84),.12);
  border-radius:19px;
  background:linear-gradient(155deg,#fff,rgba(var(--dfa-premium-tint-rgb,232,212,224),.16));
  box-shadow:0 10px 28px rgba(16,24,40,.055);
}
#dfa-chat .dfa-structured-ui[data-dfa-ui-domain="hotel"] [data-dfa-component-id^="hotel_gallery_room_"]>.dfa-sui-title{
  display:block;font-size:14px;line-height:1.35;font-weight:850;color:var(--dfa-text,#172033);
}
#dfa-chat .dfa-structured-ui[data-dfa-ui-domain="hotel"] [data-dfa-component-id^="hotel_gallery_room_"]>.dfa-sui-copy{
  font-size:10.5px;line-height:1.5;color:var(--dfa-muted,#64748b);margin:5px 0 10px;
}
#dfa-chat .dfa-structured-ui[data-dfa-ui-domain="hotel"] [data-dfa-component-id^="hotel_gallery_room_"] .dfa-sui-product-rail{
  display:flex;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;
  gap:10px;padding:3px 3px 11px;min-width:0;
}
#dfa-chat .dfa-structured-ui[data-dfa-ui-domain="hotel"] [data-dfa-component-id^="hotel_gallery_room_"] .dfa-sui-product-card{
  flex:0 0 100%;scroll-snap-align:start;min-width:0;max-width:100%;
  border:1px solid rgba(var(--dfa-main-rgb,13,6,84),.14);
  border-radius:16px;overflow:hidden;background:#fff;
  contain:layout paint;content-visibility:visible;contain-intrinsic-size:auto;
}
#dfa-chat .dfa-structured-ui[data-dfa-ui-domain="hotel"] [data-dfa-component-id^="hotel_gallery_room_"] .dfa-sui-product-card__media{
  width:100%;aspect-ratio:16/10;margin:0;padding:0;
  display:block;border:0;background:#edf2f7;cursor:zoom-in;
}
#dfa-chat .dfa-structured-ui[data-dfa-ui-domain="hotel"] [data-dfa-component-id^="hotel_gallery_room_"] .dfa-sui-product-card__image{
  display:block;width:100%;height:100%;padding:0;object-fit:cover;background:transparent;
}
#dfa-chat .dfa-structured-ui[data-dfa-ui-domain="hotel"] [data-dfa-component-id^="hotel_gallery_room_"] .dfa-sui-product-card__content{
  padding:9px 12px 11px;display:grid;grid-template-columns:minmax(0,1fr) auto;
  gap:3px 8px;align-items:center;
}
#dfa-chat .dfa-structured-ui[data-dfa-ui-domain="hotel"] [data-dfa-component-id^="hotel_gallery_room_"] .dfa-sui-product-card__title{
  font-size:12px;line-height:1.35;min-width:0;grid-column:1;grid-row:1;
}
#dfa-chat .dfa-structured-ui[data-dfa-ui-domain="hotel"] [data-dfa-component-id^="hotel_gallery_room_"] .dfa-sui-product-card__subtitle{
  margin:0;display:block;font-size:10.5px;grid-column:1;grid-row:2;
}
#dfa-chat .dfa-structured-ui[data-dfa-ui-domain="hotel"] [data-dfa-component-id^="hotel_gallery_room_"] .dfa-sui-actions{
  grid-column:2;grid-row:1 / span 2;margin:0;display:flex;
}
#dfa-chat .dfa-structured-ui[data-dfa-ui-domain="hotel"] [data-dfa-component-id^="hotel_gallery_room_"] .dfa-sui-action{
  padding:6px 9px;min-height:36px;white-space:nowrap;font-size:10px;
  background:var(--dfa-main,#c21669);color:#fff;border-radius:11px;
}
#dfa-chat .dfa-structured-ui[data-dfa-ui-domain="hotel"] [data-dfa-component-id^="hotel_gallery_room_"] .dfa-sui-carousel-nav{
  margin-top:7px;
}
#dfa-chat .dfa-structured-ui[data-dfa-ui-domain="hotel"] [data-dfa-component-id^="hotel_gallery_room_"] .dfa-sui-carousel-arrow{
  min-width:38px;min-height:38px;
}
@media(max-width:360px){
  #dfa-chat .dfa-structured-ui[data-dfa-ui-domain="hotel"] [data-dfa-component-id^="hotel_gallery_room_"] .dfa-sui-product-card__content{gap:5px;grid-template-columns:minmax(0,1fr);}
  #dfa-chat .dfa-structured-ui[data-dfa-ui-domain="hotel"] [data-dfa-component-id^="hotel_gallery_room_"] .dfa-sui-actions{grid-column:1;grid-row:3;}
}
@media(prefers-reduced-motion:reduce){
  #dfa-chat .dfa-structured-ui[data-dfa-ui-domain="hotel"] [data-dfa-component-id^="hotel_gallery_room_"] .dfa-sui-product-card{transition:none}
}
