/* Shared primary and secondary button roles. Core UI is the single visual owner. */
html body.ddb-premium-runtime :is(.ddb-mega-nav .ddb-mega-nav__cta-btn, .ui-btn.ui-btn--primary, .ui-btn.ui-btn--planner, :where(.elementor-widget-button:not(.ddb-editorial-button--outline):not(.ddb-editorial-button--text):not(.ddb-editorial-audience):not(.ddb-page-action--secondary):not(.ddb-button-secondary):not(.ddb-heritage-secondary) .elementor-button), :where(.ddb-heritage-button .elementor-button), :where(.woocommerce ul.products li.product > .button,.ddb-editorial-arrangement__cta,.ddb-btn-primary,.ddb-btn--primary,.ddb-activity-card__cta--primary,.ddb-add-to-plan,.ddb-listing-btn--primary,.ui-listing-card__cta--primary,.ddb-daypage-primary,.ddb-account-dashboard__button--primary,.ddb-experience-gate__primary,.ddb-route-map__primary,.ddb-home-closing-cta__primary), :where(.woocommerce .button.alt,.woocommerce-form-login button[type="submit"],.woocommerce-form-register button[type="submit"],.woocommerce-ResetPassword button[type="submit"],.elementor-form button[type="submit"])),
html body.ddb-premium-runtime .elementor .ddb-editorial .ddb-editorial-button:where(:not(.ddb-editorial-button--outline):not(.ddb-editorial-button--text):not(.ddb-editorial-audience)) .elementor-button {
  --ddb-heritage-height: 46px;
  --ddb-heritage-cap: 40px;
  --ddb-heritage-ink: #845115;
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: var(--ddb-heritage-height);
  min-width: 0;
  max-width: 100%;
  padding: 8px 28px;
  border: 0;
  border-radius: 0;
  color: var(--ddb-heritage-ink);
  background: none;
  box-shadow: none;
  font: 600 17px/1.25 var(--ui-font-display);
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  white-space: normal;
  text-align: center;
  transition: transform 180ms ease;
  -webkit-tap-highlight-color: transparent;
}
html body.ddb-premium-runtime :is(.ddb-mega-nav .ddb-mega-nav__cta-btn, .ui-btn.ui-btn--primary, .ui-btn.ui-btn--planner, :where(.elementor-widget-button:not(.ddb-editorial-button--outline):not(.ddb-editorial-button--text):not(.ddb-editorial-audience):not(.ddb-page-action--secondary):not(.ddb-button-secondary):not(.ddb-heritage-secondary) .elementor-button), :where(.ddb-heritage-button .elementor-button), :where(.woocommerce ul.products li.product > .button,.ddb-editorial-arrangement__cta,.ddb-btn-primary,.ddb-btn--primary,.ddb-activity-card__cta--primary,.ddb-add-to-plan,.ddb-listing-btn--primary,.ui-listing-card__cta--primary,.ddb-daypage-primary,.ddb-account-dashboard__button--primary,.ddb-experience-gate__primary,.ddb-route-map__primary,.ddb-home-closing-cta__primary), :where(.woocommerce .button.alt,.woocommerce-form-login button[type="submit"],.woocommerce-form-register button[type="submit"],.woocommerce-ResetPassword button[type="submit"],.elementor-form button[type="submit"]))::before,
html body.ddb-premium-runtime .elementor .ddb-editorial .ddb-editorial-button:where(:not(.ddb-editorial-button--outline):not(.ddb-editorial-button--text):not(.ddb-editorial-audience)) .elementor-button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  box-sizing: border-box;
  border-style: solid;
  border-color: transparent;
  border-width: 0 var(--ddb-heritage-cap);
  border-image-source: url("../images/heritage-button-shape.svg");
  border-image-slice: 0 130 fill;
  border-image-width: 0 var(--ddb-heritage-cap);
  border-image-repeat: stretch;
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / .12));
  transition: filter 180ms ease;
  pointer-events: none;
}
html body.ddb-premium-runtime :is(.ddb-mega-nav .ddb-mega-nav__cta-btn, .ddb-heritage-button .elementor-button)::after {
  content: "";
  display: block;
  flex: none;
  width: 24px;
  height: 16px;
  background: url("../images/heritage-button-arrow.svg") center/contain no-repeat;
  transition: transform 180ms ease;
  pointer-events: none;
}
html body.ddb-premium-runtime .ddb-mega-nav .ddb-mega-nav__cta-btn {
  --ddb-heritage-height: 44px;
  --ddb-heritage-cap: 38px;
  min-width: 172px;
  padding-inline: 30px;
  gap: 12px;
  font-size: 19px;
}
html body.ddb-premium-runtime .ddb-mega-nav .ddb-mega-nav__cta-btn::after { width: 20px; height: 14px; }
@media(min-width:1025px) and (max-width:1179px) {
  html body.ddb-premium-runtime .ddb-mega-nav .ddb-mega-nav__cta-btn {
    min-width: 144px;
    padding-inline: 24px;
    gap: 8px;
    font-size: 17px;
  }
  html body.ddb-premium-runtime .ddb-mega-nav .ddb-mega-nav__cta-btn::after { width: 18px; }
}
@media(min-width:1025px) and (max-width:1099px) {
  html body.ddb-premium-runtime .ddb-mega-nav .ddb-mega-nav__cta-btn { min-width: 128px; padding-inline: 20px; }
}
/* Keep the full menu legible just above its existing mobile breakpoint. */
@media(min-width:1025px) and (max-width:1069px) {
  html body.ddb-premium-runtime .ddb-mega-nav .ddb-mega-nav__cta-btn { display: none; }
}
html body.ddb-premium-runtime .ddb-mega-nav .ddb-mega-nav__cta-btn .ddb-mega-nav__cta-icon,
html body.ddb-premium-runtime .ddb-heritage-button .elementor-button-icon { display: none; }
html body.ddb-premium-runtime .ddb-heritage-button .elementor-button-wrapper { max-width: 100%; }
html body.ddb-premium-runtime .ddb-heritage-button .elementor-button { display: inline-flex; }
html body.ddb-premium-runtime .ddb-heritage-button .elementor-button-text { color: inherit; font: inherit; }
html body.ddb-premium-runtime :is(.ddb-mega-nav .ddb-mega-nav__cta-btn, .ui-btn.ui-btn--primary, .ui-btn.ui-btn--planner, :where(.elementor-widget-button:not(.ddb-editorial-button--outline):not(.ddb-editorial-button--text):not(.ddb-editorial-audience):not(.ddb-page-action--secondary):not(.ddb-button-secondary):not(.ddb-heritage-secondary) .elementor-button), :where(.ddb-heritage-button .elementor-button), :where(.woocommerce ul.products li.product > .button,.ddb-editorial-arrangement__cta,.ddb-btn-primary,.ddb-btn--primary,.ddb-activity-card__cta--primary,.ddb-add-to-plan,.ddb-listing-btn--primary,.ui-listing-card__cta--primary,.ddb-daypage-primary,.ddb-account-dashboard__button--primary,.ddb-experience-gate__primary,.ddb-route-map__primary,.ddb-home-closing-cta__primary), :where(.woocommerce .button.alt,.woocommerce-form-login button[type="submit"],.woocommerce-form-register button[type="submit"],.woocommerce-ResetPassword button[type="submit"],.elementor-form button[type="submit"])):is(:hover,:focus-visible),
html body.ddb-premium-runtime .elementor .ddb-editorial .ddb-editorial-button:where(:not(.ddb-editorial-button--outline):not(.ddb-editorial-button--text):not(.ddb-editorial-audience)) .elementor-button:is(:hover,:focus-visible),
html body.ddb-premium-runtime .woocommerce ul.products li.product > .button:is(:hover,:focus-visible),
html body.ddb-premium-runtime .ddb-editorial-arrangement__link:hover .ddb-editorial-arrangement__cta {
  color: var(--ddb-heritage-ink);
  background: none;
  box-shadow: none;
  transform: translateY(-1px);
  filter: none;
}
html body.ddb-premium-runtime :is(.ddb-mega-nav .ddb-mega-nav__cta-btn, .ui-btn.ui-btn--primary, .ui-btn.ui-btn--planner, :where(.elementor-widget-button:not(.ddb-editorial-button--outline):not(.ddb-editorial-button--text):not(.ddb-editorial-audience):not(.ddb-page-action--secondary):not(.ddb-button-secondary):not(.ddb-heritage-secondary) .elementor-button), :where(.ddb-heritage-button .elementor-button), :where(.woocommerce ul.products li.product > .button,.ddb-editorial-arrangement__cta,.ddb-btn-primary,.ddb-btn--primary,.ddb-activity-card__cta--primary,.ddb-add-to-plan,.ddb-listing-btn--primary,.ui-listing-card__cta--primary,.ddb-daypage-primary,.ddb-account-dashboard__button--primary,.ddb-experience-gate__primary,.ddb-route-map__primary,.ddb-home-closing-cta__primary), :where(.woocommerce .button.alt,.woocommerce-form-login button[type="submit"],.woocommerce-form-register button[type="submit"],.woocommerce-ResetPassword button[type="submit"],.elementor-form button[type="submit"])):is(:hover,:focus-visible)::before,
html body.ddb-premium-runtime .elementor .ddb-editorial .ddb-editorial-button:where(:not(.ddb-editorial-button--outline):not(.ddb-editorial-button--text):not(.ddb-editorial-audience)) .elementor-button:is(:hover,:focus-visible)::before,
html body.ddb-premium-runtime .woocommerce ul.products li.product > .button:is(:hover,:focus-visible)::before,
html body.ddb-premium-runtime .ddb-editorial-arrangement__link:hover .ddb-editorial-arrangement__cta::before {
  filter: brightness(1.015) drop-shadow(0 2px 3px rgb(0 0 0 / .12)) drop-shadow(0 0 3px rgb(181 138 79 / .1));
}

html body.ddb-premium-runtime :is(.ddb-mega-nav .ddb-mega-nav__cta-btn, .ddb-heritage-button .elementor-button):hover::after { transform: translateX(3px); }
html body.ddb-premium-runtime :is(.ddb-mega-nav .ddb-mega-nav__cta-btn, .ui-btn.ui-btn--primary, .ui-btn.ui-btn--planner, :where(.elementor-widget-button:not(.ddb-editorial-button--outline):not(.ddb-editorial-button--text):not(.ddb-editorial-audience):not(.ddb-page-action--secondary):not(.ddb-button-secondary):not(.ddb-heritage-secondary) .elementor-button), :where(.ddb-heritage-button .elementor-button), :where(.woocommerce ul.products li.product > .button,.ddb-editorial-arrangement__cta,.ddb-btn-primary,.ddb-btn--primary,.ddb-activity-card__cta--primary,.ddb-add-to-plan,.ddb-listing-btn--primary,.ui-listing-card__cta--primary,.ddb-daypage-primary,.ddb-account-dashboard__button--primary,.ddb-experience-gate__primary,.ddb-route-map__primary,.ddb-home-closing-cta__primary), :where(.woocommerce .button.alt,.woocommerce-form-login button[type="submit"],.woocommerce-form-register button[type="submit"],.woocommerce-ResetPassword button[type="submit"],.elementor-form button[type="submit"])):focus-visible,
html body.ddb-premium-runtime .elementor .ddb-editorial .ddb-editorial-button:where(:not(.ddb-editorial-button--outline):not(.ddb-editorial-button--text):not(.ddb-editorial-audience)) .elementor-button:focus-visible {
  outline: 2px solid var(--ui-color-focus);
  outline-offset: 4px;
}
html body.ddb-premium-runtime :is(.ddb-mega-nav .ddb-mega-nav__cta-btn, .ui-btn.ui-btn--primary, .ui-btn.ui-btn--planner, :where(.elementor-widget-button:not(.ddb-editorial-button--outline):not(.ddb-editorial-button--text):not(.ddb-editorial-audience):not(.ddb-page-action--secondary):not(.ddb-button-secondary):not(.ddb-heritage-secondary) .elementor-button), :where(.ddb-heritage-button .elementor-button), :where(.woocommerce ul.products li.product > .button,.ddb-editorial-arrangement__cta,.ddb-btn-primary,.ddb-btn--primary,.ddb-activity-card__cta--primary,.ddb-add-to-plan,.ddb-listing-btn--primary,.ui-listing-card__cta--primary,.ddb-daypage-primary,.ddb-account-dashboard__button--primary,.ddb-experience-gate__primary,.ddb-route-map__primary,.ddb-home-closing-cta__primary), :where(.woocommerce .button.alt,.woocommerce-form-login button[type="submit"],.woocommerce-form-register button[type="submit"],.woocommerce-ResetPassword button[type="submit"],.elementor-form button[type="submit"])):active,
html body.ddb-premium-runtime .elementor .ddb-editorial .ddb-editorial-button:where(:not(.ddb-editorial-button--outline):not(.ddb-editorial-button--text):not(.ddb-editorial-audience)) .elementor-button:active { transform: translateY(0); }
@media(max-width:767px) {
  html body.ddb-premium-runtime .ddb-heritage-button .elementor-button {
    --ddb-heritage-height: 52px;
    --ddb-heritage-cap: 43px;
    min-width: min(210px,100%);
    padding-inline: 30px;
    gap: 14px;
    font-size: 19px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html body.ddb-premium-runtime .elementor .ddb-editorial .ddb-editorial-button:where(:not(.ddb-editorial-button--outline):not(.ddb-editorial-button--text):not(.ddb-editorial-audience)) .elementor-button {transition:none;}
  html body.ddb-premium-runtime .elementor .ddb-editorial .ddb-editorial-button:where(:not(.ddb-editorial-button--outline):not(.ddb-editorial-button--text):not(.ddb-editorial-audience)) .elementor-button:is(:hover,:focus-visible,:active) {transform:none;transition:none;}
  html body.ddb-premium-runtime :is(.ddb-mega-nav .ddb-mega-nav__cta-btn, .ui-btn.ui-btn--primary, .ui-btn.ui-btn--planner, :where(.elementor-widget-button:not(.ddb-editorial-button--outline):not(.ddb-editorial-button--text):not(.ddb-editorial-audience):not(.ddb-page-action--secondary):not(.ddb-button-secondary):not(.ddb-heritage-secondary) .elementor-button), :where(.ddb-heritage-button .elementor-button), :where(.woocommerce ul.products li.product > .button,.ddb-editorial-arrangement__cta,.ddb-btn-primary,.ddb-btn--primary,.ddb-activity-card__cta--primary,.ddb-add-to-plan,.ddb-listing-btn--primary,.ui-listing-card__cta--primary,.ddb-daypage-primary,.ddb-account-dashboard__button--primary,.ddb-experience-gate__primary,.ddb-route-map__primary,.ddb-home-closing-cta__primary), :where(.woocommerce .button.alt,.woocommerce-form-login button[type="submit"],.woocommerce-form-register button[type="submit"],.woocommerce-ResetPassword button[type="submit"],.elementor-form button[type="submit"])) { transition: none; }
  html body.ddb-premium-runtime :is(.ddb-mega-nav .ddb-mega-nav__cta-btn, .ui-btn.ui-btn--primary, .ui-btn.ui-btn--planner, :where(.elementor-widget-button:not(.ddb-editorial-button--outline):not(.ddb-editorial-button--text):not(.ddb-editorial-audience):not(.ddb-page-action--secondary):not(.ddb-button-secondary):not(.ddb-heritage-secondary) .elementor-button), :where(.ddb-heritage-button .elementor-button), :where(.woocommerce ul.products li.product > .button,.ddb-editorial-arrangement__cta,.ddb-btn-primary,.ddb-btn--primary,.ddb-activity-card__cta--primary,.ddb-add-to-plan,.ddb-listing-btn--primary,.ui-listing-card__cta--primary,.ddb-daypage-primary,.ddb-account-dashboard__button--primary,.ddb-experience-gate__primary,.ddb-route-map__primary,.ddb-home-closing-cta__primary), :where(.woocommerce .button.alt,.woocommerce-form-login button[type="submit"],.woocommerce-form-register button[type="submit"],.woocommerce-ResetPassword button[type="submit"],.elementor-form button[type="submit"])):is(:hover,:focus-visible,:active),
  html body.ddb-premium-runtime :is(.ddb-mega-nav .ddb-mega-nav__cta-btn, .ddb-heritage-button .elementor-button)::after { transform: none; transition: none; }
}

/* Secondary actions stay quiet. Tabs, steppers, toggles, ghost/inline and destructive actions keep their semantics. */
html body.ddb-premium-runtime :is(.ui-btn.ui-btn--secondary:where(:not([aria-pressed]):not([aria-expanded])), :where(.ddb-editorial-button--outline .elementor-button,.ddb-page-action--secondary .elementor-button,.ddb-button-secondary .elementor-button,.ddb-heritage-secondary .elementor-button,.ddb-company-action--secondary,.ui-listing-card__cta--secondary,.ddb-account-dashboard__button--secondary,.ddb-experience-gate__secondary,.ddb-route-map__secondary,.ddb-home-closing-cta__secondary,.ddb-direct-book)),
html body.ddb-premium-runtime .elementor .ddb-editorial .ddb-editorial-button--outline .elementor-button {
  display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
  min-height:44px;max-width:100%;padding:10px 20px;gap:8px;
  border:1px solid color-mix(in srgb,var(--ui-color-primary) 65%,var(--ui-color-border));
  border-radius:var(--ui-radius-md);background:transparent;background-image:none;
  color:var(--ui-color-accent-text,var(--ui-color-text));box-shadow:none;
  font:600 14px/1.3 var(--ui-font-sans);text-decoration:none;
}
html body.ddb-premium-runtime :is(.ui-btn.ui-btn--secondary:where(:not([aria-pressed]):not([aria-expanded])), :where(.ddb-editorial-button--outline .elementor-button,.ddb-page-action--secondary .elementor-button,.ddb-button-secondary .elementor-button,.ddb-heritage-secondary .elementor-button,.ddb-company-action--secondary,.ui-listing-card__cta--secondary,.ddb-account-dashboard__button--secondary,.ddb-experience-gate__secondary,.ddb-route-map__secondary,.ddb-home-closing-cta__secondary,.ddb-direct-book)):hover,
html body.ddb-premium-runtime .elementor .ddb-editorial .ddb-editorial-button--outline .elementor-button:hover {color:var(--ui-color-text);background:var(--ui-color-surface-2);border-color:var(--ui-color-primary);}
html body.ddb-premium-runtime :is(.ui-btn.ui-btn--secondary:where(:not([aria-pressed]):not([aria-expanded])), :where(.ddb-editorial-button--outline .elementor-button,.ddb-page-action--secondary .elementor-button,.ddb-button-secondary .elementor-button,.ddb-heritage-secondary .elementor-button,.ddb-company-action--secondary,.ui-listing-card__cta--secondary,.ddb-account-dashboard__button--secondary,.ddb-experience-gate__secondary,.ddb-route-map__secondary,.ddb-home-closing-cta__secondary,.ddb-direct-book)):focus-visible,
html body.ddb-premium-runtime .elementor .ddb-editorial .ddb-editorial-button--outline .elementor-button:focus-visible {outline:2px solid var(--ui-color-focus);outline-offset:4px;}
html body.ddb-premium-runtime :is(.ddb-mega-nav .ddb-mega-nav__cta-btn, .ui-btn.ui-btn--primary, .ui-btn.ui-btn--planner, :where(.elementor-widget-button:not(.ddb-editorial-button--outline):not(.ddb-editorial-button--text):not(.ddb-editorial-audience):not(.ddb-page-action--secondary):not(.ddb-button-secondary):not(.ddb-heritage-secondary) .elementor-button), :where(.ddb-heritage-button .elementor-button), :where(.woocommerce ul.products li.product > .button,.ddb-editorial-arrangement__cta,.ddb-btn-primary,.ddb-btn--primary,.ddb-activity-card__cta--primary,.ddb-add-to-plan,.ddb-listing-btn--primary,.ui-listing-card__cta--primary,.ddb-daypage-primary,.ddb-account-dashboard__button--primary,.ddb-experience-gate__primary,.ddb-route-map__primary,.ddb-home-closing-cta__primary), :where(.woocommerce .button.alt,.woocommerce-form-login button[type="submit"],.woocommerce-form-register button[type="submit"],.woocommerce-ResetPassword button[type="submit"],.elementor-form button[type="submit"])):is(:disabled,[aria-disabled="true"]),
html body.ddb-premium-runtime .elementor .ddb-editorial .ddb-editorial-button:where(:not(.ddb-editorial-button--outline):not(.ddb-editorial-button--text):not(.ddb-editorial-audience)) .elementor-button:is(:disabled,[aria-disabled="true"]) {filter:grayscale(.45);opacity:.6;transform:none;}
/* Empty/void submit inputs cannot have generated ornaments. Same palette, native input behavior. */
html body.ddb-premium-runtime .woocommerce input.button[type="submit"] {background:#fff3e2;color:#845115;border:1px solid #b58a4f;border-radius:var(--ui-radius-md);min-height:44px;}
/* Native content CTAs have room to breathe; operational controls retain a compact shape. */
html body.ddb-premium-runtime .elementor-widget-button:where(:not(.ddb-editorial-button--outline):not(.ddb-editorial-button--text):not(.ddb-editorial-audience):not(.ddb-page-action--secondary):not(.ddb-button-secondary):not(.ddb-heritage-secondary)) .elementor-button,
html body.ddb-premium-runtime .elementor .ddb-editorial .ddb-editorial-button:where(:not(.ddb-editorial-button--outline):not(.ddb-editorial-button--text):not(.ddb-editorial-audience)) .elementor-button {display:inline-flex;--ddb-heritage-height:52px;--ddb-heritage-cap:43px;}

html body.ddb-premium-runtime .elementor .ddb-premium-footer .elementor-form button.elementor-button[type="submit"]{background:none;border:0;border-radius:0;color:var(--ddb-heritage-ink);font-family:var(--ui-font-display);}
