/* =========================================================
   D&G Holiday — Mobile-only responsive layer
   Applies ONLY at max-width: 767px
   Desktop / tablet (768px+) untouched
   ========================================================= */

@media (max-width: 767px) {
  /* ----- Root app width lock on mobile (prevent 1200px desktop rail) ----- */
  #__next > .css-1dbjc4n.r-13awgt0 > .css-1dbjc4n.r-1kihuf0.r-ywje51.r-1fnihl3 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  #__next .r-1fnihl3 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #__next .r-82yag,
  #__next .r-mrxtjd {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #__next .r-17yavnb,
  #__next .r-1ktosi0 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* Lock CTA / B2B bar inner rails to viewport width */
  .dg-cta-bar,
  .dg-cta-bar__inner,
  .dg-cta-bar__top,
  .dg-cta-bar__copy,
  .dg-cta-bar__actions,
  .dg-cta-bar__channels,
  .dg-b2b,
  .dg-b2b__actions,
  .dg-story__panel,
  .dg-story__grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .dg-cta-bar__inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .dg-cta-bar__copy {
    flex: 1 1 auto !important;
    max-width: 100% !important;
  }

  /* ----- Fix fixed-width merchandising wrappers (prevent 1200px overflow) ----- */
  #merchandising .r-1fnihl3,
  #merchandising .r-17yavnb,
  #merchandising .r-82yag,
  #fvd-widget .r-1fnihl3,
  #fvd-widget .r-17yavnb,
  #fvd-widget .r-82yag {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #merchandising .r-ywje51,
  #fvd-widget .r-ywje51 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #merchandising .r-pw2am6,
  #fvd-widget .r-pw2am6 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* ----- Global width lock (no overflow-x:hidden band-aid) ----- */
  html,
  body,
  #__next,
  #__next > .r-13awgt0 {
    max-width: 100%;
    width: 100%;
  }

  :root {
    --dg-header-h: 56px;
    --dg-header-extra: 32px;
    --dg-header-stack: 88px;
    --dg-section-sm: clamp(40px, 10vw, 52px);
    --dg-section: var(--dg-section-sm);
  }

  img,
  video,
  svg,
  iframe {
    max-width: 100%;
    height: auto;
  }

  /* ----- Typography ----- */
  .dg-gate__title,
  .dg-why__title,
  .dg-b2b__title,
  .dg-page-hero__title,
  .dg-ts-hero__title,
  .dg-ab-hero__title,
  .dg-gal-hero__title {
    font-size: clamp(22px, 6.4vw, 28px) !important;
    line-height: 1.22 !important;
  }

  .dg-gate__lead,
  .dg-b2b__lead,
  .dg-page-hero__lead,
  .dg-ts-hero__lead,
  .dg-ab-hero__lead {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .dg-gate__eyebrow,
  .dg-why__eyebrow,
  .dg-b2b__eyebrow,
  .dg-page-hero__eyebrow {
    font-size: 11px !important;
    letter-spacing: 0.12em !important;
  }

  p,
  .dg-ia-card p,
  .dg-ts-card p,
  .dg-ab-card p {
    font-size: 14px;
    line-height: 1.58;
  }

  /* ----- Section spacing ----- */
  .dg-gate__panel,
  .dg-why__panel,
  .dg-ia-wrap,
  .dg-ts__wrap,
  .dg-ab__wrap,
  .dg-gal__wrap {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .dg-gate__head,
  .dg-why__head,
  .dg-section-head {
    margin-bottom: 18px !important;
  }

  /* ----- Header mobile ----- */
  .r-bztko3 .r-18u37iz.r-1wtj0ep {
    padding-left: 12px !important;
    padding-right: 12px !important;
    min-height: var(--dg-header-h) !important;
  }

  .dg-brand-logo__img,
  .dg-brand-logo--header .dg-brand-logo__img {
    max-height: 36px !important;
    width: auto !important;
  }

  /* Hide non-essential header chrome on phones */
  .r-bztko3 [data-testid="language-currency-dropdown"],
  .r-bztko3 [data-testid="quick-links"],
  .r-bztko3 [data-testid="quick-links"] > a:not([href*="proposal"]):not([href*="contact"]),
  .r-bztko3 [data-testid="quick-links"] button,
  .r-bztko3 .dg-login-pill,
  .r-bztko3 .dg-signup-pill,
  .r-bztko3 .dg-my-tours-link,
  .r-bztko3 .r-1wyyakw {
    display: none !important;
  }

  /* Auth button styling — shared across mega drawer */
  .dg-mega__auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    font-family: "Better Together", "Godwit", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.18s ease, transform 0.18s ease;
  }

  .dg-mega__auth-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .dg-mega__auth-btn--login {
    background: #ffe8d1;
    color: #8b3a00;
    border: 2px solid transparent;
  }

  .dg-mega__auth-btn--login:active {
    background: #ffd9b3;
    transform: translateY(-1px);
  }

  .dg-mega__auth-btn--signup {
    background: #FF5E1F;
    color: #fff;
    border: 2px solid transparent;
  }

  .dg-mega__auth-btn--signup:active {
    background: #e85212;
    transform: translateY(-1px);
  }

  .r-bztko3 .r-18u37iz.r-1wtj0ep.r-xd6kpl,
  .r-bztko3 .r-18u37iz.r-1wtj0ep.r-xd6kpl.r-17yavnb {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  /* Push hamburger to the far right */
  nav.dg-mega {
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }

  /* Marquee — visible on mobile (not hidden; navy text on light header) */
  .r-bztko3 [data-testid="product-nav"] > a,
  .r-bztko3 [data-testid="product-nav"] > .r-18u37iz {
    display: none !important;
  }

  .r-bztko3 [data-testid="product-nav"],
  .r-bztko3 .r-qklmqi {
    display: flex !important;
    height: 32px !important;
    min-height: 32px !important;
    overflow: hidden !important;
    width: 100% !important;
    justify-content: stretch !important;
    background: transparent !important;
  }

  .dg-marquee {
    display: flex !important;
    align-items: center;
    width: 100% !important;
    max-width: 100% !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .dg-marquee__track {
    animation: dg-marquee-scroll 36s linear infinite !important;
  }

  .dg-marquee__item {
    color: #0b2e59 !important;
    -webkit-text-fill-color: #0b2e59 !important;
    font-size: 11px !important;
    line-height: 32px !important;
    font-weight: 600 !important;
    opacity: 1 !important;
  }

  /* ── Hamburger toggle button ── */
  .dg-mega__toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 0 !important;
    font-size: 0 !important;
    color: transparent !important;
    border-radius: 12px;
    border: 1.5px solid rgba(11, 46, 89, 0.18) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(11, 31, 51, 0.1);
    position: relative;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
  }

  /* Three-bar hamburger */
  .dg-mega__toggle::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 1.75px;
    background: #0b2e59;
    border-radius: 2px;
    box-shadow: 0 -6px 0 #0b2e59, 0 6px 0 #0b2e59;
    transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.18s ease;
  }

  .dg-mega__toggle::after {
    display: none;
  }

  /* X when open */
  html.dg-mega-open .dg-mega__toggle {
    background: rgba(11, 46, 89, 0.06) !important;
    border-color: rgba(11, 46, 89, 0.25) !important;
  }

  html.dg-mega-open .dg-mega__toggle::before {
    box-shadow: none;
    transform: rotate(45deg);
  }

  /* Second diagonal via an additional layered approach: add it with outline trick */
  html.dg-mega-open .dg-mega__toggle::after {
    display: block;
    content: "";
    position: absolute;
    width: 18px;
    height: 1.75px;
    background: #0b2e59;
    border-radius: 2px;
    transform: rotate(-45deg);
    transition: transform 0.22s ease;
  }

  /* ----- Bottom navigation — edge-to-edge bar, raised center Home ----- */
  .dg-cta-dock {
    display: flex !important;
    justify-content: stretch;
    align-items: flex-end;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    width: 100%;
    height: auto;
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #ffffff;
    border: 0;
    border-top: 1px solid rgba(28, 33, 39, 0.08);
    border-radius: 0;
    box-shadow: 0 -6px 18px rgba(28, 33, 39, 0.1);
    gap: 0;
    pointer-events: auto;
  }

  .dg-cta-dock__list {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 64px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #ffffff;
    border-radius: 0;
    box-shadow: none;
    pointer-events: auto;
  }

  .dg-cta-dock__item {
    position: relative;
    z-index: 2;
    flex: 1 1 0;
    width: 20%;
    max-width: none;
    height: 64px;
    list-style: none;
  }

  .dg-cta-dock__item a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #555;
    -webkit-tap-highlight-color: transparent;
  }

  .dg-cta-dock__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: transparent;
    color: #222327;
    transition: transform 0.45s ease, background 0.45s ease, color 0.45s ease, box-shadow 0.45s ease;
    transition-delay: 0s;
  }

  .dg-cta-dock__icon svg {
    width: 22px !important;
    height: 22px !important;
    stroke: currentColor;
  }

  .dg-cta-dock__icon::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* Match hero search button glow */
    background: #FF6B21;
    filter: blur(6px);
    opacity: 0;
    transition: opacity 0.45s ease;
    transition-delay: 0.12s;
    pointer-events: none;
  }

  .dg-cta-dock__item.is-active .dg-cta-dock__icon {
    /* Same gradient as .dg-hero-search__btn */
    background: linear-gradient(180deg, #FF8A3D 0%, #FF6B21 55%, #E85A12 100%);
    color: #fff;
    transform: translateY(-12px);
    transition-delay: 0.2s;
    box-shadow:
      0 4px 14px rgba(255, 94, 31, 0.38),
      0 0 22px rgba(255, 160, 80, 0.28);
  }

  .dg-cta-dock__item.is-active .dg-cta-dock__icon::before {
    opacity: 0.45;
    transition-delay: 0.2s;
  }

  .dg-cta-dock__indicator {
    position: absolute;
    top: -16px;
    left: 0;
    width: 20%;
    max-width: none;
    height: 70px;
    margin: 0;
    list-style: none;
    background: #fff;
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
  }

  .dg-cta-dock__indicator::before,
  .dg-cta-dock__indicator::after {
    content: "";
    position: absolute;
    top: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
  }

  .dg-cta-dock__indicator::before {
    left: -26px;
    box-shadow: 14px 17px #fff;
  }

  .dg-cta-dock__indicator::after {
    right: -26px;
    box-shadow: -14px 17px #fff;
  }

  .dg-cta-dock__item:nth-child(1).is-active ~ .dg-cta-dock__indicator {
    transform: translateX(0%);
  }
  .dg-cta-dock__item:nth-child(2).is-active ~ .dg-cta-dock__indicator {
    transform: translateX(100%);
  }
  .dg-cta-dock__item:nth-child(3).is-active ~ .dg-cta-dock__indicator {
    transform: translateX(200%);
  }
  .dg-cta-dock__item:nth-child(4).is-active ~ .dg-cta-dock__indicator {
    transform: translateX(300%);
  }
  .dg-cta-dock__item:nth-child(5).is-active ~ .dg-cta-dock__indicator {
    transform: translateX(400%);
  }

  /* Hide legacy label spans if any remain */
  .dg-cta-dock a span:not(.dg-cta-dock__icon) {
    display: none !important;
  }

  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* ----- Card / Grid: 2 columns default ----- */
  .dg-why__grid,
  .dg-gate-pillars,
  .dg-gate-mice,
  .dg-b2b__rates-grid,
  .dg-corporate__grid,
  .dg-ia-grid,
  .dg-ts-highlights__grid,
  .dg-ts-related__grid,
  .dg-ts-hub__grid,
  .dg-ts-why__grid,
  .dg-ab-grid,
  .dg-gal-grid,
  .dg-gal-cats,
  .dg-partners-grid,
  .dg-proof-grid,
  .dg-wed-grid,
  .dg-dest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  /* Regions: 2 cols, feature spans full width */
  .dg-gate-regions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .dg-gate-regions__card--feature {
    grid-column: 1 / -1 !important;
    min-height: 180px !important;
  }

  .dg-gate-gallery__mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .dg-gate-gallery__mosaic a:first-child {
    grid-column: 1 / -1 !important;
    min-height: 160px !important;
  }

  /* Customer slider: 2 squares per view on mobile */
  .dg-gate-customers__slide {
    flex: 0 0 calc((100% - 14px) / 2) !important;
  }

  /* ----- Hotel cards: keep image size inside card ----- */
  #fvd-widget .dg-hotel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #fvd-widget .dg-hotel-card,
  #fvd-widget .dg-hotel-card__link,
  #fvd-widget .dg-hotel-card__media {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #fvd-widget .dg-hotel-card__media {
    aspect-ratio: 3 / 4 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  #fvd-widget .dg-hotel-card__img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    position: static !important;
    transform: none !important;
  }

  /* ----- Corporate strip: avoid clipping / overflow ----- */
  #dg-coupons.dg-corporate,
  .dg-corporate {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 10px !important;
    padding: 8px 12px 14px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .dg-corporate__grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .dg-corporate__btn {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    justify-content: center !important;
  }

  /* Hotel carousel — contain within viewport */
  .dg-hotel-carousel-wrap {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .dg-hotel-carousel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .dg-hotel-carousel > .dg-hotel-card {
    flex: 0 0 calc((100% - 16px) / 2) !important;
    width: calc((100% - 16px) / 2) !important;
    max-width: calc((100% - 16px) / 2) !important;
    min-width: 0 !important;
  }

  /* Cards with dense content → full width */
  .dg-gate-certs,
  .dg-gate-trust,
  .dg-gate-split,
  .dg-page-cta__inner,
  .dg-ts-cta__inner,
  .dg-ab-cta__inner,
  .dg-gal-cta__inner,
  .dg-ts-overview__grid,
  .dg-ia-leaf,
  .dg-contact-layout,
  .dg-contact-aside,
  .dg-proposal-layout {
    grid-template-columns: 1fr !important;
  }

  .dg-gate-certs__frame {
    min-height: 220px !important;
  }

  /* Card internals */
  .dg-ia-card,
  .dg-ts-card,
  .dg-ab-card,
  .dg-gal-card,
  .dg-gate-pillars__item,
  .dg-gate-mice__tile,
  .dg-why__item {
    min-width: 0;
    padding: 14px 12px !important;
  }

  .dg-ia-card h2,
  .dg-ts-card h3,
  .dg-ab-card h3 {
    font-size: 15px !important;
    line-height: 1.3 !important;
  }

  .dg-gate-mice__tile {
    grid-template-rows: 100px auto !important;
  }

  .dg-gate-mice__body strong {
    font-size: 14px !important;
  }

  .dg-gate-mice__body span {
    font-size: 12px !important;
  }

  /* Destination carousel — scroll inside track, not page */
  .dg-destinations__shell,
  .dg-destinations__viewport {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: clip !important;
    box-sizing: border-box !important;
  }

  .dg-destinations__track {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start !important;
  }

  .dg-dest-band {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: clip !important;
    box-sizing: border-box !important;
  }
  .dg-hero,
  .dg-hero__shell {
    min-height: auto !important;
    max-height: none !important;
  }

  /* Inner-page hero only — homepage .dg-hero not included */
  .dg-page-hero,
  .dg-ts-hero,
  .dg-ab-hero,
  .dg-gal-hero {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 12px 16px 16px !important;
    align-items: flex-start !important;
    overflow: visible !important;
  }

  .dg-page-hero--beige,
  .dg-theme--about .dg-page-hero--beige,
  .dg-ab .dg-page-hero--beige {
    background: #f4f1ec !important;
  }

  .dg-page-hero__inner,
  .dg-ts-hero__inner,
  .dg-ab-hero__inner,
  .dg-ab-hero__content {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  .dg-page-hero__crumb {
    margin: 0 0 8px !important;
    font-size: 11px !important;
  }

  .dg-page-hero h1,
  .dg-page-hero__title,
  .dg-ts-hero__title,
  .dg-ab-hero h1,
  .dg-ab-hero__title,
  .dg-gal-hero__title {
    font-size: 22px !important;
    line-height: 1.25 !important;
    max-width: none !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  .dg-page-hero__sub,
  .dg-page-hero__lead,
  .dg-ts-hero__lead,
  .dg-ab-hero__sub,
  .dg-ab-hero__lead {
    display: block !important;
    margin-top: 8px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  .dg-page-hero__actions,
  .dg-ab-hero__actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }

  .dg-page-hero__btn,
  .dg-page-hero__actions a,
  .dg-ab-hero__actions a {
    flex: 1 1 calc(50% - 8px) !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 38px !important;
    padding: 8px 10px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .dg-hero-heading {
    font-size: clamp(26px, 8vw, 34px) !important;
  }

  .dg-hero-heading__line {
    font-size: clamp(22px, 7vw, 30px) !important;
  }

  .dg-hero img,
  .dg-page-hero__media img,
  .dg-ts-hero__media img {
    object-fit: cover !important;
    object-position: center !important;
  }

  /* Merchandising country filter row: allow wrapping instead of overflowing */
  #merchandising .r-150rngu {
    white-space: normal !important;
    word-break: break-word !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.25 !important;
    max-width: 100% !important;
  }

  /* ----- Buttons ----- */
  .dg-cta-bar__btn,
  .dg-cta-bar__btn--solid,
  .dg-page-cta__actions a,
  .dg-page-cta__actions button,
  .dg-ts-cta__actions a,
  .dg-ts-cta__actions button,
  .dg-b2b__btn,
  .dg-gate__more,
  .dg-chrome-newsletter__form button,
  .dg-contact-form button,
  .dg-proposal-form button,
  .dg-ts-form button {
    min-height: 44px !important;
    font-size: 14px !important;
  }

  .dg-cta-bar__top,
  .dg-cta-bar__actions,
  .dg-page-cta__actions,
  .dg-ts-cta__actions,
  .dg-b2b__actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  /* CTA / B2B buttons — width:100% must include padding+border (box-sizing) */
  .dg-cta-bar__actions .dg-cta-bar__btn,
  .dg-cta-bar__actions a,
  .dg-b2b__actions .dg-b2b__btn,
  .dg-b2b__actions a,
  .dg-corporate__btn,
  .dg-page-cta__actions a,
  .dg-page-cta__actions button,
  .dg-ts-cta__actions a,
  .dg-ts-cta__actions button {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    flex: 1 1 auto !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    line-height: 1.25 !important;
    justify-content: center !important;
  }

  .dg-cta-bar__channels {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .dg-cta-bar__channel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .dg-cta-bar__channel-text {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow-wrap: anywhere !important;
  }

  /* Contact desk quick cards (LINE / WhatsApp / Call) */
  .dg-desk__wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  .dg-desk-quick a {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .dg-desk-quick a > div:last-child,
  .dg-desk-quick strong,
  .dg-desk-quick span {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  /* ----- Forms ----- */
  .dg-chrome-newsletter__form,
  .dg-contact-form,
  .dg-proposal-form,
  .dg-ts-form {
    display: grid !important;
    gap: 12px !important;
  }

  .dg-chrome-newsletter__form input,
  .dg-chrome-newsletter__form button,
  .dg-contact-form input,
  .dg-contact-form textarea,
  .dg-contact-form select,
  .dg-contact-form button,
  .dg-proposal-form input,
  .dg-proposal-form textarea,
  .dg-proposal-form select,
  .dg-proposal-form button,
  .dg-ts-form input,
  .dg-ts-form textarea,
  .dg-ts-form select,
  .dg-ts-form button {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px !important;
    font-size: 16px !important; /* prevents iOS zoom */
    box-sizing: border-box !important;
  }

  .dg-contact-form .dg-form-row,
  .dg-proposal-form .dg-form-row,
  .dg-ts-form .dg-form-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* ----- Tables ----- */
  .dg-table-wrap,
  .dg-rates-table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

  .dg-table-wrap table,
  .dg-rates-table-wrap table {
    min-width: 520px;
  }

  /* ----- Footer ----- */
  .dg-chrome-footer__grid,
  .dg-chrome-footer__cols,
  .dg-chrome-footer__cols--two {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .dg-chrome-footer__logo {
    max-width: 160px !important;
    height: auto !important;
  }

  .dg-chrome-payments {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .dg-chrome-qr__frame img {
    max-width: 120px !important;
  }

  /* ----- Carousel nav ----- */
  .dg-gate-customers__nav {
    width: 38px !important;
    height: 38px !important;
    margin-top: -19px !important;
  }

  .dg-gate-customers__nav--prev {
    left: 2px !important;
  }

  .dg-gate-customers__nav--next {
    right: 2px !important;
  }

  /* ----- Partners / proof ----- */
  .dg-partners-welcome__grid {
    grid-template-columns: 1fr !important;
  }

  .dg-cert-lightbox__img {
    max-width: calc(100% - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
  }

  /* Flex children that carry text/buttons must shrink */
  .dg-cta-bar__top > *,
  .dg-b2b__rate > div,
  .dg-b2b__rate strong,
  .dg-b2b__rate p,
  [class*="__actions"] > *,
  .dg-chrome-newsletter__form > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* Section shells — width only, no overflow clipping */
  .r-13awgt0,
  .dg-gate,
  .dg-why,
  .dg-destinations,
  .dg-story,
  #merchandising,
  #fvd-widget,
  #dg-coupons {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}
