/* DEYNU HOME R60 — one navigation pattern for all home carousels.
   Arrows sit below cards at the LEFT end (RTL flex-end) on desktop/tablet.
   "View all" links stay in section headings. Mobile 540px and below stays unchanged.
   This file only affects the Deynu home page.
*/
@media (min-width: 541px) {
  .dh-home .dh-property-rail-wrap > .dh-rail-controls {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    gap: 6px;
    margin: 8px 0 0;
    padding: 0 2px;
    min-height: 34px;
    z-index: 1;
  }
  .dh-home .dh-property-rail-wrap > .dh-rail-controls button {
    flex: 0 0 34px;
    min-width: 34px;
    touch-action: manipulation;
  }
}
/* Destination rail has different markup: its buttons live in the heading.
   Anchor them below the destination cards without moving the DOM or handlers. */
@media (min-width: 781px) {
  .dh-home .dh-destinations {
    position: relative;
    padding-bottom: 48px;
  }
  .dh-home .dh-destinations .dh-destination-head-actions .dh-destination-controls {
    position: absolute;
    inset: auto !important;
    left: 0 !important;
    right: auto !important;
    top: auto !important;
    bottom: 0 !important;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    min-height: 34px;
  }
  .dh-home .dh-destinations .dh-destination-controls button {
    flex: 0 0 34px;
    touch-action: manipulation;
  }
}
/* Keep current touch/swipe-only destination interaction on narrow screens. */
@media (max-width: 780px) {
  .dh-home .dh-destinations .dh-destination-controls {
    display: none !important;
  }
}
